Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.seeq.api;
import com.seeq.ApiException;
import com.seeq.ApiClient;
import com.seeq.Configuration;
import com.seeq.model.*;
import com.seeq.Pair;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.ProcessingException;
import com.seeq.model.AddOnInputV1;
import com.seeq.model.AddOnOutputListV1;
import com.seeq.model.AddOnOutputV1;
import com.seeq.model.AddOnPreviewOutputListV1;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class AddOnsApi {
private ApiClient apiClient;
private long retryTimeout = 5_000; // Default of 5 seconds
public AddOnsApi() {
this(Configuration.getDefaultApiClient());
}
public AddOnsApi(ApiClient apiClient) {
this.apiClient = apiClient;
}
public void setRetryTimeout(long retryTimeout) {
this.retryTimeout = retryTimeout;
}
public long getRetryTimeout() {
return this.retryTimeout;
}
public ApiClient getApiClient() {
return apiClient;
}
public void setApiClient(ApiClient apiClient) {
this.apiClient = apiClient;
}
/**
* Archive an Add-on item
*
* @param id ID of the Add-on item to archive. (required)
* @throws ApiException if fails to make API call
*/
public void archiveAddOn(String id) throws ApiException {
archiveAddOnWithHttpInfo(id);
}
/**
* Archive an Add-on item
*
* @param id ID of the Add-on item to archive. (required)
* @throws ApiException if fails to make API call
*/
public void archiveAddOnWithHttpInfo(String id) throws ApiException {
Map localVarHeaderParams = new HashMap();
archiveAddOnWithHeadersAndHttpInfo(id, localVarHeaderParams);
}
/**
* Archive an Add-on item
*
* @param id ID of the Add-on item to archive. (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public void archiveAddOnWithHeadersAndHttpInfo(String id, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
archiveAddOnInternal(id, localVarQueryParams, localVarHeaderParams);
}
private void archiveAddOnInternal(String id, List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// verify the required path parameter 'id' is set
if (id == null) {
throw new ApiException(400, "Missing the required path parameter 'id' when calling archiveAddOn");
}
// create path and map variables
String localVarPath = "/add-ons/{id}"
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
apiClient.invokeAPIWithHttpInfo(localVarPath, "DELETE", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
return;
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
/**
* Create a new Add-on item
*
* @param body (required)
* @return AddOnOutputV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputV1 createAddOn(AddOnInputV1 body) throws ApiException {
ApiClient.ApiResponse localVarResponse = createAddOnWithHttpInfo(body);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Create a new Add-on item
*
* @param body (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse createAddOnWithHttpInfo(AddOnInputV1 body) throws ApiException {
Map localVarHeaderParams = new HashMap();
return createAddOnWithHeadersAndHttpInfo(body, localVarHeaderParams);
}
/**
* Create a new Add-on item
*
* @param body (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse createAddOnWithHeadersAndHttpInfo(AddOnInputV1 body, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return createAddOnInternal(body, localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse createAddOnInternal(AddOnInputV1 body, List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = body;
// verify the required body parameter 'body' is set
if (body == null) {
throw new ApiException(400, "Missing the required body parameter 'body' when calling createAddOn");
}
// create path and map variables
String localVarPath = "/add-ons";
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/vnd.seeq.v1+json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "POST", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
/**
* Get an Add-on item
*
* @param id The Seeq ID for the Add-on (required)
* @return AddOnOutputV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputV1 getAddOn(String id) throws ApiException {
ApiClient.ApiResponse localVarResponse = getAddOnWithHttpInfo(id);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get an Add-on item
*
* @param id The Seeq ID for the Add-on (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnWithHttpInfo(String id) throws ApiException {
Map localVarHeaderParams = new HashMap();
return getAddOnWithHeadersAndHttpInfo(id, localVarHeaderParams);
}
/**
* Get an Add-on item
*
* @param id The Seeq ID for the Add-on (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnWithHeadersAndHttpInfo(String id, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return getAddOnInternal(id, localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse getAddOnInternal(String id, List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// verify the required path parameter 'id' is set
if (id == null) {
throw new ApiException(400, "Missing the required path parameter 'id' when calling getAddOn");
}
// create path and map variables
String localVarPath = "/add-ons/{id}"
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "GET", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
/**
* Get a list of Add-on items
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @return AddOnOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputListV1 getAddOns(Integer offset, Integer limit) throws ApiException {
ApiClient.ApiResponse localVarResponse = getAddOnsWithHttpInfo(offset, limit);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of Add-on items
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHttpInfo(Integer offset, Integer limit) throws ApiException {
Map localVarHeaderParams = new HashMap();
return getAddOnsWithHeadersAndHttpInfo(offset, limit, localVarHeaderParams);
}
/**
* Get a list of Add-on items
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHeadersAndHttpInfo(Integer offset, Integer limit, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
localVarHeaderParams.putAll(customHeaders);
return getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse getAddOnsInternal(List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/add-ons";
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "GET", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @return AddOnPreviewOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnPreviewOutputListV1 getAllAddOns(Integer offset, Integer limit) throws ApiException {
ApiClient.ApiResponse localVarResponse = getAllAddOnsWithHttpInfo(offset, limit);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHttpInfo(Integer offset, Integer limit) throws ApiException {
Map localVarHeaderParams = new HashMap();
return getAllAddOnsWithHeadersAndHttpInfo(offset, limit, localVarHeaderParams);
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of Add-on items that will be returned in this page of results (optional, default to 40)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHeadersAndHttpInfo(Integer offset, Integer limit, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
localVarHeaderParams.putAll(customHeaders);
return getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse getAllAddOnsInternal(List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/add-ons/all";
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "GET", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
/**
* Update an Add-on
*
* @param id The Seeq ID for the Add-on (required)
* @param body (required)
* @return AddOnOutputV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputV1 updateAddOn(String id, AddOnInputV1 body) throws ApiException {
ApiClient.ApiResponse localVarResponse = updateAddOnWithHttpInfo(id, body);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Update an Add-on
*
* @param id The Seeq ID for the Add-on (required)
* @param body (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse updateAddOnWithHttpInfo(String id, AddOnInputV1 body) throws ApiException {
Map localVarHeaderParams = new HashMap();
return updateAddOnWithHeadersAndHttpInfo(id, body, localVarHeaderParams);
}
/**
* Update an Add-on
*
* @param id The Seeq ID for the Add-on (required)
* @param body (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse updateAddOnWithHeadersAndHttpInfo(String id, AddOnInputV1 body, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return updateAddOnInternal(id, body, localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse updateAddOnInternal(String id, AddOnInputV1 body, List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = body;
// verify the required path parameter 'id' is set
if (id == null) {
throw new ApiException(400, "Missing the required path parameter 'id' when calling updateAddOn");
}
// verify the required body parameter 'body' is set
if (body == null) {
throw new ApiException(400, "Missing the required body parameter 'body' when calling updateAddOn");
}
// create path and map variables
String localVarPath = "/add-ons/{id}"
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/vnd.seeq.v1+json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "POST", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
// OVERLOADS START
/**
* Get a list of Add-on items
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @return AddOnOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputListV1 getAddOns(Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
ApiClient.ApiResponse localVarResponse = getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of Add-on items
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHttpInfo(Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
return getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of Add-on items
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHeadersAndHttpInfo(Integer offset, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarHeaderParams.putAll(customHeaders);
return getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of Add-on items
*
*
* @return AddOnOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnOutputListV1 getAddOns() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
ApiClient.ApiResponse localVarResponse = getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of Add-on items
*
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHttpInfo() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
return getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of Add-on items
*
*
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAddOnsWithHeadersAndHttpInfo(Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return getAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @return AddOnPreviewOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnPreviewOutputListV1 getAllAddOns(Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
ApiClient.ApiResponse localVarResponse = getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHttpInfo(Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
return getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @param offset The pagination offset, the index of the first Add-on item that will be returned in this page of results (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHeadersAndHttpInfo(Integer offset, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarHeaderParams.putAll(customHeaders);
return getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
*
* @return AddOnPreviewOutputListV1
* @throws ApiException if fails to make API call
*/
public AddOnPreviewOutputListV1 getAllAddOns() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
ApiClient.ApiResponse localVarResponse = getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHttpInfo() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
return getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a list of all installed Add-ons. If the acting user is a non-administrator, the in-development Add-ons of other users will not be listed.
*
*
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAllAddOnsWithHeadersAndHttpInfo(Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return getAllAddOnsInternal(localVarQueryParams, localVarHeaderParams);
}
// OVERLOADS END
}