Class ListUsersRequest

java.lang.Object
com.vonage.client.users.ListUsersRequest
All Implemented Interfaces:
QueryParamsRequest

public final class ListUsersRequest extends Object implements QueryParamsRequest
  • Method Details

    • makeParams

      Description copied from interface: QueryParamsRequest
      Internal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked as final. Duplicate entries can be handled by mapping the key to a list of the entries.
      Specified by:
      makeParams in interface QueryParamsRequest
      Returns:
      The query parameters as unique key-value pairs.
    • getPageSize

      public int getPageSize()
      Number of records to return in the response. Default is 10.
      Returns:
      The number of results to return.
    • getOrder

      The time order to return results in. Default is ascending.
      Returns:
      The order to return results in as an enum.
    • getName

      public String getName()
      Unique name for a user to filter by.
      Returns:
      The username to search for, or null if not specified.
    • getCursor

      public String getCursor()
      The cursor to start returning results from, as derived from the _links section of a response.
      Returns:
      The cursor key to search from, or null if not specified.
    • builder

      Entry point for constructing an instance of this class.
      Returns:
      A new Builder.