Package com.auth0.client.mgmt.filter
Class ConnectionFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.FieldsFilter
com.auth0.client.mgmt.filter.ConnectionFilter
Class used to filter the results received when calling the Connections endpoint. Related to the
ConnectionsEntity 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 TypeMethodDescriptionwithFields(String fields, boolean includeFields) Only retrieve certain fields from the item.Filter by namewithPage(int pageNumber, int amountPerPage) Filter by pagewithStrategy(String strategy) Filter by strategywithTotals(boolean includeTotals) Include the query summary.Methods inherited from class com.auth0.client.mgmt.filter.BaseFilter
getAsMap
-
Constructor Details
-
ConnectionFilter
public ConnectionFilter()
-
-
Method Details
-
withStrategy
Filter by strategy- Parameters:
strategy- only retrieve items with this strategy.- Returns:
- this filter instance
-
withName
Filter by name- Parameters:
name- only retrieve the item with this name.- 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. Warning: Can only be used withConnectionsEntity.listAll(ConnectionFilter)- Parameters:
includeTotals- whether to include or not the query summary.- 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
-