Package com.vonage.client.users
Class ListUsersRequest
java.lang.Object
com.vonage.client.users.ListUsersRequest
- All Implemented Interfaces:
QueryParamsRequest
Query parameters for
UsersClient.listUsers(ListUsersRequest).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumRepresents the sort order for events. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListUsersRequest.Builderbuilder()Entry point for constructing an instance of this class.The cursor to start returning results from, as derived from the_linkssection of a response.getName()Unique name for a user to filter by.getOrder()The time order to return results in.intNumber of records to return in the response.Internal method for serializing the fields of this class into query parameters.
-
Method Details
-
makeParams
Description copied from interface:QueryParamsRequestInternal 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 asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-
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
Unique name for a user to filter by.- Returns:
- The username to search for, or
nullif not specified.
-
getCursor
The cursor to start returning results from, as derived from the_linkssection of a response.- Returns:
- The cursor key to search from, or
nullif not specified.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-