com.dominodatalab.pub.rest.OrganizationsApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-java-client Show documentation
Show all versions of domino-java-client Show documentation
Domino Data Lab API Client to connect to Domino web services using Java HTTP Client.
/*
* Domino Public API
* Domino Public API Endpoints
*
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.dominodatalab.pub.rest;
import com.dominodatalab.pub.invoker.ApiClient;
import com.dominodatalab.pub.invoker.ApiException;
import com.dominodatalab.pub.invoker.ApiResponse;
import com.dominodatalab.pub.invoker.Pair;
import com.dominodatalab.pub.model.FailureEnvelopeV1;
import com.dominodatalab.pub.model.GetAIGatewayAuditData400Response;
import com.dominodatalab.pub.model.NewOrganizationV1;
import com.dominodatalab.pub.model.OrganizationEnvelopeV1;
import com.dominodatalab.pub.model.OrganizationMemberV1;
import com.dominodatalab.pub.model.PaginatedOrganizationEnvelopeV1;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.InputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.net.http.HttpRequest;
import java.nio.channels.Channels;
import java.nio.channels.Pipe;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.util.ArrayList;
import java.util.StringJoiner;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Consumer;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T16:37:28.765500600-04:00[America/New_York]", comments = "Generator version: 7.8.0")
public class OrganizationsApi {
protected final HttpClient memberVarHttpClient;
protected final ObjectMapper memberVarObjectMapper;
protected final String memberVarBaseUri;
protected final Consumer memberVarInterceptor;
protected final Duration memberVarReadTimeout;
protected final Consumer> memberVarResponseInterceptor;
protected final Consumer> memberVarAsyncResponseInterceptor;
public OrganizationsApi() {
this(new ApiClient());
}
public OrganizationsApi(ApiClient apiClient) {
memberVarHttpClient = apiClient.getHttpClient();
memberVarObjectMapper = apiClient.getObjectMapper();
memberVarBaseUri = apiClient.getBaseUri();
memberVarInterceptor = apiClient.getRequestInterceptor();
memberVarReadTimeout = apiClient.getReadTimeout();
memberVarResponseInterceptor = apiClient.getResponseInterceptor();
memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor();
}
protected ApiException getApiException(String operationId, HttpResponse response) throws IOException {
String body = response.body() == null ? null : new String(response.body().readAllBytes());
String message = formatExceptionMessage(operationId, response.statusCode(), body);
return new ApiException(response.statusCode(), message, response.headers(), body);
}
protected String formatExceptionMessage(String operationId, int statusCode, String body) {
if (body == null || body.isEmpty()) {
body = "[no body]";
}
return operationId + " call failed with: " + statusCode + " - " + body;
}
/**
* Add a user to an org
* Add a new user to an Organization. Required permissions: `EditMembers`
* @param organizationId Id of organization to add a user to. This is the id of the org in the users collection, not the organizations collection. (required)
* @param organizationMemberV1 (required)
* @return OrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public OrganizationEnvelopeV1 addUserToOrg(String organizationId, OrganizationMemberV1 organizationMemberV1) throws ApiException {
ApiResponse localVarResponse = addUserToOrgWithHttpInfo(organizationId, organizationMemberV1);
return localVarResponse.getData();
}
/**
* Add a user to an org
* Add a new user to an Organization. Required permissions: `EditMembers`
* @param organizationId Id of organization to add a user to. This is the id of the org in the users collection, not the organizations collection. (required)
* @param organizationMemberV1 (required)
* @return ApiResponse<OrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse addUserToOrgWithHttpInfo(String organizationId, OrganizationMemberV1 organizationMemberV1) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = addUserToOrgRequestBuilder(organizationId, organizationMemberV1);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("addUserToOrg", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder addUserToOrgRequestBuilder(String organizationId, OrganizationMemberV1 organizationMemberV1) throws ApiException {
// verify the required parameter 'organizationId' is set
if (organizationId == null) {
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling addUserToOrg");
}
// verify the required parameter 'organizationMemberV1' is set
if (organizationMemberV1 == null) {
throw new ApiException(400, "Missing the required parameter 'organizationMemberV1' when calling addUserToOrg");
}
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations/{organizationId}/user"
.replace("{organizationId}", ApiClient.urlEncode(organizationId.toString()));
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
localVarRequestBuilder.header("Content-Type", "application/json");
localVarRequestBuilder.header("Accept", "application/json");
try {
byte[] localVarPostBody = memberVarObjectMapper.writeValueAsBytes(organizationMemberV1);
localVarRequestBuilder.method("PUT", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody));
} catch (IOException e) {
throw new ApiException(e);
}
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
/**
* Create an organization
* Create a new Organization. Required permissions: `Must be logged in user`
* @param newOrganizationV1 (required)
* @return OrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public OrganizationEnvelopeV1 createOrg(NewOrganizationV1 newOrganizationV1) throws ApiException {
ApiResponse localVarResponse = createOrgWithHttpInfo(newOrganizationV1);
return localVarResponse.getData();
}
/**
* Create an organization
* Create a new Organization. Required permissions: `Must be logged in user`
* @param newOrganizationV1 (required)
* @return ApiResponse<OrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse createOrgWithHttpInfo(NewOrganizationV1 newOrganizationV1) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = createOrgRequestBuilder(newOrganizationV1);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("createOrg", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder createOrgRequestBuilder(NewOrganizationV1 newOrganizationV1) throws ApiException {
// verify the required parameter 'newOrganizationV1' is set
if (newOrganizationV1 == null) {
throw new ApiException(400, "Missing the required parameter 'newOrganizationV1' when calling createOrg");
}
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations";
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
localVarRequestBuilder.header("Content-Type", "application/json");
localVarRequestBuilder.header("Accept", "application/json");
try {
byte[] localVarPostBody = memberVarObjectMapper.writeValueAsBytes(newOrganizationV1);
localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody));
} catch (IOException e) {
throw new ApiException(e);
}
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
/**
* Get all organizations. Only accessible to admin users.
* Get all organizations. Required permissions: `ManageOrganizations`
* @param nameFilter Optional value to filter organization names with. (optional)
* @param offset How many orgs from the start to skip. Defaults to 0. (optional)
* @param limit Max number of orgs to fetch. Defaults to 10. (optional)
* @return PaginatedOrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public PaginatedOrganizationEnvelopeV1 getAllOrgs(String nameFilter, Integer offset, Integer limit) throws ApiException {
ApiResponse localVarResponse = getAllOrgsWithHttpInfo(nameFilter, offset, limit);
return localVarResponse.getData();
}
/**
* Get all organizations. Only accessible to admin users.
* Get all organizations. Required permissions: `ManageOrganizations`
* @param nameFilter Optional value to filter organization names with. (optional)
* @param offset How many orgs from the start to skip. Defaults to 0. (optional)
* @param limit Max number of orgs to fetch. Defaults to 10. (optional)
* @return ApiResponse<PaginatedOrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse getAllOrgsWithHttpInfo(String nameFilter, Integer offset, Integer limit) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = getAllOrgsRequestBuilder(nameFilter, offset, limit);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("getAllOrgs", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder getAllOrgsRequestBuilder(String nameFilter, Integer offset, Integer limit) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations/all";
List localVarQueryParams = new ArrayList<>();
StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
String localVarQueryParameterBaseName;
localVarQueryParameterBaseName = "nameFilter";
localVarQueryParams.addAll(ApiClient.parameterToPairs("nameFilter", nameFilter));
localVarQueryParameterBaseName = "offset";
localVarQueryParams.addAll(ApiClient.parameterToPairs("offset", offset));
localVarQueryParameterBaseName = "limit";
localVarQueryParams.addAll(ApiClient.parameterToPairs("limit", limit));
if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) {
StringJoiner queryJoiner = new StringJoiner("&");
localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue()));
if (localVarQueryStringJoiner.length() != 0) {
queryJoiner.add(localVarQueryStringJoiner.toString());
}
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString()));
} else {
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
}
localVarRequestBuilder.header("Accept", "application/json");
localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody());
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
/**
* Get an organization by Id
* Retrieve an Organization by its Id. Required permissions: `ViewOrganization`
* @param organizationId Id of organization to retrieve. This is the id of the org in the users collection, not the organizations collection. (required)
* @return OrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public OrganizationEnvelopeV1 getOrg(String organizationId) throws ApiException {
ApiResponse localVarResponse = getOrgWithHttpInfo(organizationId);
return localVarResponse.getData();
}
/**
* Get an organization by Id
* Retrieve an Organization by its Id. Required permissions: `ViewOrganization`
* @param organizationId Id of organization to retrieve. This is the id of the org in the users collection, not the organizations collection. (required)
* @return ApiResponse<OrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse getOrgWithHttpInfo(String organizationId) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = getOrgRequestBuilder(organizationId);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("getOrg", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder getOrgRequestBuilder(String organizationId) throws ApiException {
// verify the required parameter 'organizationId' is set
if (organizationId == null) {
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getOrg");
}
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations/{organizationId}"
.replace("{organizationId}", ApiClient.urlEncode(organizationId.toString()));
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
localVarRequestBuilder.header("Accept", "application/json");
localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody());
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
/**
* Get the Organizations for a user
* Retrieve all Organizations of which this user is a member. Required permissions: `None`
* @param nameFilter Optional value to filter organization names with. Must exactly match organization name. (optional)
* @param offset How many orgs from the start to skip. Defaults to 0. (optional)
* @param limit Max number of orgs to fetch. Defaults to 10. (optional)
* @return PaginatedOrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public PaginatedOrganizationEnvelopeV1 getUserOrgs(String nameFilter, Integer offset, Integer limit) throws ApiException {
ApiResponse localVarResponse = getUserOrgsWithHttpInfo(nameFilter, offset, limit);
return localVarResponse.getData();
}
/**
* Get the Organizations for a user
* Retrieve all Organizations of which this user is a member. Required permissions: `None`
* @param nameFilter Optional value to filter organization names with. Must exactly match organization name. (optional)
* @param offset How many orgs from the start to skip. Defaults to 0. (optional)
* @param limit Max number of orgs to fetch. Defaults to 10. (optional)
* @return ApiResponse<PaginatedOrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse getUserOrgsWithHttpInfo(String nameFilter, Integer offset, Integer limit) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = getUserOrgsRequestBuilder(nameFilter, offset, limit);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("getUserOrgs", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder getUserOrgsRequestBuilder(String nameFilter, Integer offset, Integer limit) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations";
List localVarQueryParams = new ArrayList<>();
StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
String localVarQueryParameterBaseName;
localVarQueryParameterBaseName = "nameFilter";
localVarQueryParams.addAll(ApiClient.parameterToPairs("nameFilter", nameFilter));
localVarQueryParameterBaseName = "offset";
localVarQueryParams.addAll(ApiClient.parameterToPairs("offset", offset));
localVarQueryParameterBaseName = "limit";
localVarQueryParams.addAll(ApiClient.parameterToPairs("limit", limit));
if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) {
StringJoiner queryJoiner = new StringJoiner("&");
localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue()));
if (localVarQueryStringJoiner.length() != 0) {
queryJoiner.add(localVarQueryStringJoiner.toString());
}
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString()));
} else {
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
}
localVarRequestBuilder.header("Accept", "application/json");
localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody());
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
/**
* Remove a user from an org
* Remove a user from an Organization. Required permissions: `EditMembers`
* @param organizationId Id of organization to add a user to. This is the id of the org in the users collection, not the organizations collection. (required)
* @param memberToRemoveId Id of user to remove from org. (required)
* @return OrganizationEnvelopeV1
* @throws ApiException if fails to make API call
*/
public OrganizationEnvelopeV1 removeUserFromOrg(String organizationId, String memberToRemoveId) throws ApiException {
ApiResponse localVarResponse = removeUserFromOrgWithHttpInfo(organizationId, memberToRemoveId);
return localVarResponse.getData();
}
/**
* Remove a user from an org
* Remove a user from an Organization. Required permissions: `EditMembers`
* @param organizationId Id of organization to add a user to. This is the id of the org in the users collection, not the organizations collection. (required)
* @param memberToRemoveId Id of user to remove from org. (required)
* @return ApiResponse<OrganizationEnvelopeV1>
* @throws ApiException if fails to make API call
*/
public ApiResponse removeUserFromOrgWithHttpInfo(String organizationId, String memberToRemoveId) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = removeUserFromOrgRequestBuilder(organizationId, memberToRemoveId);
try {
HttpResponse localVarResponse = memberVarHttpClient.send(
localVarRequestBuilder.build(),
HttpResponse.BodyHandlers.ofInputStream());
if (memberVarResponseInterceptor != null) {
memberVarResponseInterceptor.accept(localVarResponse);
}
try {
if (localVarResponse.statusCode()/ 100 != 2) {
throw getApiException("removeUserFromOrg", localVarResponse);
}
return new ApiResponse(
localVarResponse.statusCode(),
localVarResponse.headers().map(),
localVarResponse.body() == null ? null : memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference() {}) // closes the InputStream
);
} finally {
}
} catch (IOException e) {
throw new ApiException(e);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new ApiException(e);
}
}
protected HttpRequest.Builder removeUserFromOrgRequestBuilder(String organizationId, String memberToRemoveId) throws ApiException {
// verify the required parameter 'organizationId' is set
if (organizationId == null) {
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling removeUserFromOrg");
}
// verify the required parameter 'memberToRemoveId' is set
if (memberToRemoveId == null) {
throw new ApiException(400, "Missing the required parameter 'memberToRemoveId' when calling removeUserFromOrg");
}
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
String localVarPath = "/api/organizations/v1/organizations/{organizationId}/user"
.replace("{organizationId}", ApiClient.urlEncode(organizationId.toString()));
List localVarQueryParams = new ArrayList<>();
StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
String localVarQueryParameterBaseName;
localVarQueryParameterBaseName = "memberToRemoveId";
localVarQueryParams.addAll(ApiClient.parameterToPairs("memberToRemoveId", memberToRemoveId));
if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) {
StringJoiner queryJoiner = new StringJoiner("&");
localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue()));
if (localVarQueryStringJoiner.length() != 0) {
queryJoiner.add(localVarQueryStringJoiner.toString());
}
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString()));
} else {
localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath));
}
localVarRequestBuilder.header("Accept", "application/json");
localVarRequestBuilder.method("DELETE", HttpRequest.BodyPublishers.noBody());
if (memberVarReadTimeout != null) {
localVarRequestBuilder.timeout(memberVarReadTimeout);
}
if (memberVarInterceptor != null) {
memberVarInterceptor.accept(localVarRequestBuilder);
}
return localVarRequestBuilder;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy