public class AttributesClientImpl extends ApiClient implements AttributesClient
baseUrl, httpClient, httpRequestHandler, objectMapper| Constructor and Description |
|---|
AttributesClientImpl(String baseUrl,
kong.unirest.UnirestInstance httpClient,
com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler) |
| Modifier and Type | Method and Description |
|---|---|
ODataValueContextOfListOfAttribute |
getTrusteeAttributeKeyValuePairs(ParametersForGetTrusteeAttributeKeyValuePairs parameters)
- Returns the attribute key value pairs associated with the authenticated user.
|
void |
getTrusteeAttributeKeyValuePairsForEach(Function<ODataValueContextOfListOfAttribute,Boolean> callback,
Integer maxPageSize,
ParametersForGetTrusteeAttributeKeyValuePairs parameters)
Provides the functionality to iteratively (i.e.
|
ODataValueContextOfListOfAttribute |
getTrusteeAttributeKeyValuePairsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
Attribute |
getTrusteeAttributeValueByKey(ParametersForGetTrusteeAttributeValueByKey parameters)
- Returns the attribute associated with the key.
|
public AttributesClientImpl(String baseUrl, kong.unirest.UnirestInstance httpClient, com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler)
public Attribute getTrusteeAttributeValueByKey(ParametersForGetTrusteeAttributeValueByKey parameters)
AttributesClientgetTrusteeAttributeValueByKey in interface AttributesClientparameters - An object of type ParametersForGetTrusteeAttributeValueByKey which encapsulates the parameters of getTrusteeAttributeValueByKey method.Attribute The return valuepublic ODataValueContextOfListOfAttribute getTrusteeAttributeKeyValuePairs(ParametersForGetTrusteeAttributeKeyValuePairs parameters)
AttributesClientgetTrusteeAttributeKeyValuePairs in interface AttributesClientparameters - An object of type ParametersForGetTrusteeAttributeKeyValuePairs which encapsulates the parameters of getTrusteeAttributeKeyValuePairs method.ODataValueContextOfListOfAttribute The return valuepublic ODataValueContextOfListOfAttribute getTrusteeAttributeKeyValuePairsNextLink(String nextLink, int maxPageSize)
AttributesClientgetTrusteeAttributeKeyValuePairsNextLink in interface AttributesClientnextLink - A url that allows retrieving the next subset of the requested collection.maxPageSize - Optionally specify the maximum number of items to retrieve.ODataValueContextOfListOfAttribute The return valuepublic void getTrusteeAttributeKeyValuePairsForEach(Function<ODataValueContextOfListOfAttribute,Boolean> callback, Integer maxPageSize, ParametersForGetTrusteeAttributeKeyValuePairs parameters)
AttributesClientgetTrusteeAttributeKeyValuePairs, and apply a function on the response of each iteration.getTrusteeAttributeKeyValuePairsForEach in interface AttributesClientcallback - A delegate that will be called each time new data is retrieved. Returns false to stop receiving more data; returns true to be called again if there's more data.maxPageSize - Optionally specify the maximum number of items to retrieve.parameters - An object of type ParametersForGetTrusteeAttributeKeyValuePairs which encapsulates the parameters of getTrusteeAttributeKeyValuePairs method.Copyright © 2025. All rights reserved.