Package com.auth0.client.mgmt.filter
Class InvitationsFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.InvitationsFilter
Class used to filter the results received when fetching invitations. Related to the OrganizationsEntity.
This class is not thread-safe.
-
Field Summary
Fields inherited from class com.auth0.client.mgmt.filter.BaseFilter
parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithFields(String fields, boolean includeFields) Only retrieve certain fields from the item.withPage(int pageNumber, int amountPerPage) Filter by pageSort the querywithTotals(boolean includeTotals) Include the query summaryMethods inherited from class com.auth0.client.mgmt.filter.BaseFilter
getAsMap
-
Constructor Details
-
InvitationsFilter
public InvitationsFilter()
-
-
Method Details
-
withPage
Filter by page- Parameters:
pageNumber- the page number to retrieve.amountPerPage- the amount of items per page to retrieve.- Returns:
- this filter instance
-
withTotals
Include the query summary- Parameters:
includeTotals- whether to include or not the query summary.- Returns:
- this filter instance
-
withFields
Only retrieve certain fields from the item.- Parameters:
fields- a list of comma separated fields to retrieve.includeFields- whether to include or exclude in the response the fields that were given.- Returns:
- this filter instance
-
withSort
Sort the query- Parameters:
sort- the field to use for sorting. Use 'field:order' where order is 1 for ascending and -1 for descending.- Returns:
- this filter instance
-