Package com.auth0.client.mgmt.filter
Class RolesFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.PageFilter
com.auth0.client.mgmt.filter.RolesFilter
Class used to filter the results received when calling the Grants endpoint. Related to the
RolesEntity
entity.
This class is not thread-safe.
- See Also:
-
Field Summary
Fields inherited from class com.auth0.client.mgmt.filter.BaseFilter
parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFilter by namewithPage
(int pageNumber, int amountPerPage) Filter by pagewithTotals
(boolean includeTotals) Include the query summaryMethods inherited from class com.auth0.client.mgmt.filter.PageFilter
withFrom, withTake
Methods inherited from class com.auth0.client.mgmt.filter.BaseFilter
getAsMap
-
Constructor Details
-
RolesFilter
public RolesFilter()
-
-
Method Details
-
withName
Filter by name- Parameters:
name
- only retrieve items with this name.- Returns:
- this filter instance
-
withPage
Filter by page- Overrides:
withPage
in classPageFilter
- 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- Overrides:
withTotals
in classPageFilter
- Parameters:
includeTotals
- whether to include or not the query summary.- Returns:
- this filter instance
-