public class AuditReasonsClientImpl extends ApiClient implements AuditReasonsClient
baseUrl, httpClient, httpRequestHandler, objectMapper| Constructor and Description |
|---|
AuditReasonsClientImpl(String baseUrl,
kong.unirest.UnirestInstance httpClient,
com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler) |
| Modifier and Type | Method and Description |
|---|---|
AuditReasonCollectionResponse |
listAuditReasons(ParametersForListAuditReasons parameters)
- Returns the audit reasons associated with the authenticated user.
|
void |
listAuditReasonsForEach(Function<AuditReasonCollectionResponse,Boolean> callback,
Integer maxPageSize,
ParametersForListAuditReasons parameters)
Provides the functionality to iteratively (i.e.
|
AuditReasonCollectionResponse |
listAuditReasonsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
public AuditReasonsClientImpl(String baseUrl, kong.unirest.UnirestInstance httpClient, com.laserfiche.api.client.httphandlers.HttpRequestHandler httpRequestHandler)
public AuditReasonCollectionResponse listAuditReasons(ParametersForListAuditReasons parameters)
AuditReasonsClientlistAuditReasons in interface AuditReasonsClientparameters - An object of type ParametersForListAuditReasons which encapsulates the parameters of listAuditReasons method.AuditReasonCollectionResponse The return valuepublic AuditReasonCollectionResponse listAuditReasonsNextLink(String nextLink, int maxPageSize)
AuditReasonsClientlistAuditReasonsNextLink in interface AuditReasonsClientnextLink - A url that allows retrieving the next subset of the requested collection.maxPageSize - Optionally specify the maximum number of items to retrieve.AuditReasonCollectionResponse The return valuepublic void listAuditReasonsForEach(Function<AuditReasonCollectionResponse,Boolean> callback, Integer maxPageSize, ParametersForListAuditReasons parameters)
AuditReasonsClientlistAuditReasons, and apply a function on the response of each iteration.listAuditReasonsForEach in interface AuditReasonsClientcallback - 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 ParametersForListAuditReasons which encapsulates the parameters of listAuditReasons method.Copyright © 2025. All rights reserved.