Package com.auth0.client.mgmt.filter
Class DeviceCredentialsFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.FieldsFilter
com.auth0.client.mgmt.filter.DeviceCredentialsFilter
Class used to filter the results received when calling the Device Credentials endpoint. Related to the
DeviceCredentialsEntity 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 TypeMethodDescriptionwithClientId(String clientId) Filter by application's client idwithFields(String fields, boolean includeFields) Only retrieve certain fields from the item.withPage(int pageNumber, int amountPerPage) Filter by pagewithTotals(boolean includeTotals) Include the query summaryFilter by typewithUserId(String userId) Filter by user idMethods inherited from class com.auth0.client.mgmt.filter.BaseFilter
getAsMap
-
Constructor Details
-
DeviceCredentialsFilter
public DeviceCredentialsFilter()
-
-
Method Details
-
withUserId
Filter by user id- Parameters:
userId- only retrieve items with this user id.- Returns:
- this filter instance.
-
withClientId
Filter by application's client id- Parameters:
clientId- only retrieve items with this client id.- Returns:
- this filter instance.
-
withType
Filter by type- Parameters:
type- only retrieve items with this type.- Returns:
- this filter instance.
-
withFields
Description copied from class:FieldsFilterOnly retrieve certain fields from the item.- Overrides:
withFieldsin classFieldsFilter- 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
-
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
-