com.laserfiche.repository.api.clients.impl.AuditReasonsClientImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lf-repository-api-client Show documentation
Show all versions of lf-repository-api-client Show documentation
Java implementation of various foundational APIs for Laserfiche, including Repository APIs such as
Entry API flows for secure and easy access to Laserfiche Repository Entries.
The newest version!
package com.laserfiche.repository.api.clients.impl;
import com.laserfiche.api.client.deserialization.ProblemDetailsDeserializer;
import com.laserfiche.api.client.httphandlers.HttpRequestHandler;
import com.laserfiche.api.client.model.ApiException;
import com.laserfiche.api.client.model.ProblemDetails;
import com.laserfiche.repository.api.clients.AuditReasonsClient;
import com.laserfiche.repository.api.clients.impl.model.AuditReasons;
import com.laserfiche.repository.api.clients.params.ParametersForGetAuditReasons;
import kong.unirest.HttpResponse;
import kong.unirest.UnirestInstance;
import kong.unirest.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
/**
* The Laserfiche Repository AuditReasons API client.
*/
public class AuditReasonsClientImpl extends ApiClient implements AuditReasonsClient {
public AuditReasonsClientImpl(String baseUrl, UnirestInstance httpClient, HttpRequestHandler httpRequestHandler) {
super(baseUrl, httpClient, httpRequestHandler);
}
@Override
public AuditReasons getAuditReasons(ParametersForGetAuditReasons parameters) {
Map pathParameters = ApiClientUtils.getParametersWithNonDefaultValue(new String[]{"String"},
new String[]{"repoId"}, new Object[]{parameters.getRepoId()});
Function, AuditReasons> parseResponse = (HttpResponse
© 2015 - 2025 Weber Informatics LLC | Privacy Policy