Class ListOptions

All Implemented Interfaces:
HttpRequestOptions

public class ListOptions extends BaseHttpRequestOptions
Options used to control paginated results (aka list commands).
  • Field Details

  • Constructor Details

    • ListOptions

      public ListOptions()
  • Method Details

    • token

      public ListOptions token(String token)
      specifies the position to resume listing

      note this is an opaque value and should not be interpreted.

    • getToken

      public String getToken()
    • limit

      public ListOptions limit(int maxresults)
      the maximum number of items that should be returned. If this is not specified, there is no limit.
    • includeMeta

      public ListOptions includeMeta()
      the maximum number of items that should be returned. If this is not specified, there is no limit.
    • metaIncluded

      public boolean metaIncluded()
    • getLimit

      public Integer getLimit()