Class RequestPaging

  • All Implemented Interfaces:
    java.io.Serializable

    public class RequestPaging
    extends ApiData
    POJO for the paging object
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestPaging​(int limit, int offset)
      Initializes a new instance of RequestPaging
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLimit()
      Returns the response limit
      int getOffset()
      Returns the response offset
      java.lang.String toString()
      Returns the stored data string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RequestPaging

        public RequestPaging​(int limit,
                             int offset)
        Initializes a new instance of RequestPaging
        Parameters:
        limit - the maximum number of items in the response
        offset - the index to start the response list
    • Method Detail

      • getLimit

        public int getLimit()
        Returns the response limit
        Returns:
        response limit
      • getOffset

        public int getOffset()
        Returns the response offset
        Returns:
        response offset
      • toString

        public java.lang.String toString()
        Description copied from class: ApiData
        Returns the stored data string.
        Overrides:
        toString in class ApiData
        Returns:
        a stringified representation of RequestPaging