Class UnixFileListResponse


  • public final class UnixFileListResponse
    extends Object
    Response object representing a Unix File List response from USS. Contains a list of UnixFile items and metadata about the response.
    Version:
    5.0
    Author:
    Frank Giordano
    • Constructor Detail

      • UnixFileListResponse

        public UnixFileListResponse​(Integer jsonVersion,
                                    Integer returnedRows,
                                    Integer totalRows,
                                    List<UnixFile> items)
        Jackson constructor for UnixFileListResponse
        Parameters:
        jsonVersion - JSON version of the response
        returnedRows - number of items returned
        totalRows - total number of items
        items - list of UnixFile objects
    • Method Detail

      • getJsonVersion

        public int getJsonVersion()
        Retrieve JSON version
        Returns:
        jsonVersion
      • getReturnedRows

        public int getReturnedRows()
        Retrieve the number of returned rows
        Returns:
        returnedRows
      • getTotalRows

        public int getTotalRows()
        Retrieve the total number of rows
        Returns:
        totalRows
      • getItems

        public List<UnixFile> getItems()
        Retrieve list of UnixFile items
        Returns:
        list of UnixFile objects
      • toString

        public String toString()
        Return string value representing UnixFileListResponse object
        Overrides:
        toString in class Object
        Returns:
        string representation of UnixFileListResponse