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 java.io.File;
import com.seeq.model.PluginOutputListV1;
import com.seeq.model.StatusMessageBase;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PluginsApi {
private ApiClient apiClient;
private long retryTimeout = 5_000; // Default of 5 seconds
public PluginsApi() {
this(Configuration.getDefaultApiClient());
}
public PluginsApi(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;
}
/**
* Delete a plugin
*
* @param id The ID of the plugin (required)
* @return StatusMessageBase
* @throws ApiException if fails to make API call
*/
public StatusMessageBase deletePlugin(String id) throws ApiException {
ApiClient.ApiResponse localVarResponse = deletePluginWithHttpInfo(id);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Delete a plugin
*
* @param id The ID of the plugin (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse deletePluginWithHttpInfo(String id) throws ApiException {
Map localVarHeaderParams = new HashMap();
return deletePluginWithHeadersAndHttpInfo(id, localVarHeaderParams);
}
/**
* Delete a plugin
*
* @param id The ID of the plugin (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse deletePluginWithHeadersAndHttpInfo(String id, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return deletePluginInternal(id, localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse deletePluginInternal(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 deletePlugin");
}
// create path and map variables
String localVarPath = "/plugins/{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, "DELETE", 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 plugin file
*
* @param id The ID of the plugin (required)
* @param fileName The name of the file from the plugin (required)
* @throws ApiException if fails to make API call
*/
public void getFile(String id, String fileName) throws ApiException {
getFileWithHttpInfo(id, fileName);
}
/**
* Get a plugin file
*
* @param id The ID of the plugin (required)
* @param fileName The name of the file from the plugin (required)
* @throws ApiException if fails to make API call
*/
public void getFileWithHttpInfo(String id, String fileName) throws ApiException {
Map localVarHeaderParams = new HashMap();
getFileWithHeadersAndHttpInfo(id, fileName, localVarHeaderParams);
}
/**
* Get a plugin file
*
* @param id The ID of the plugin (required)
* @param fileName The name of the file from the plugin (required)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public void getFileWithHeadersAndHttpInfo(String id, String fileName, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
getFileInternal(id, fileName, localVarQueryParams, localVarHeaderParams);
}
private void getFileInternal(String id, String fileName, 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 getFile");
}
// verify the required path parameter 'fileName' is set
if (fileName == null) {
throw new ApiException(400, "Missing the required path parameter 'fileName' when calling getFile");
}
// create path and map variables
String localVarPath = "/plugins/{id}/files/{fileName}"
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()))
.replaceAll("\\{" + "fileName" + "\\}", apiClient.escapeString(fileName.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, "GET", 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
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional, default to name asc)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 40)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset, Integer limit) throws ApiException {
ApiClient.ApiResponse localVarResponse = getPluginsWithHttpInfo(nameSearch, identifierSearch, categorySearch, sortOrder, offset, limit);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional, default to name asc)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection 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 getPluginsWithHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset, Integer limit) throws ApiException {
Map localVarHeaderParams = new HashMap();
return getPluginsWithHeadersAndHttpInfo(nameSearch, identifierSearch, categorySearch, sortOrder, offset, limit, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional, default to name asc)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection 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 getPluginsWithHeadersAndHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset, Integer limit, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse getPluginsInternal(List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/plugins";
// 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
}
/**
* Upload a plugin
*
* @param file (optional)
* @param inDevelopment Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users. Non-administrators may only install Plugins in Development Mode. (optional, default to false)
* @return StatusMessageBase
* @throws ApiException if fails to make API call
*/
public StatusMessageBase uploadPlugin(File file, Boolean inDevelopment) throws ApiException {
ApiClient.ApiResponse localVarResponse = uploadPluginWithHttpInfo(file, inDevelopment);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Upload a plugin
*
* @param file (optional)
* @param inDevelopment Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users. Non-administrators may only install Plugins in Development Mode. (optional, default to false)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse uploadPluginWithHttpInfo(File file, Boolean inDevelopment) throws ApiException {
Map localVarHeaderParams = new HashMap();
return uploadPluginWithHeadersAndHttpInfo(file, inDevelopment, localVarHeaderParams);
}
/**
* Upload a plugin
*
* @param file (optional)
* @param inDevelopment Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users. Non-administrators may only install Plugins in Development Mode. (optional, default to false)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse uploadPluginWithHeadersAndHttpInfo(File file, Boolean inDevelopment, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "inDevelopment", inDevelopment));
localVarHeaderParams.putAll(customHeaders);
return uploadPluginInternal(file, localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse uploadPluginInternal(File file, List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/plugins";
// query params
Map localVarFormParams = new HashMap();
if (file != null)
localVarFormParams.put("file", file);
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"multipart/form-data"
};
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 collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @param offset The pagination offset, the index of the first collection 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 getPluginsWithHeadersAndHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Integer offset, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch, String identifierSearch, String categorySearch, String sortOrder) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param sortOrder A field by which to order the plugins followed by a space and 'asc' or 'desc'. Field name can be one of: name, identifier, category (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHeadersAndHttpInfo(String nameSearch, String identifierSearch, String categorySearch, String sortOrder, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortOrder", sortOrder));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch, String identifierSearch, String categorySearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo(String nameSearch, String identifierSearch, String categorySearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param categorySearch Search text by which to filter plugins' categories. (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHeadersAndHttpInfo(String nameSearch, String identifierSearch, String categorySearch, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "categorySearch", categorySearch));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch, String identifierSearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo(String nameSearch, String identifierSearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param identifierSearch Search text by which to filter plugins' identifiers. (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHeadersAndHttpInfo(String nameSearch, String identifierSearch, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "identifierSearch", identifierSearch));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins(String nameSearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo(String nameSearch) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
* @param nameSearch Search text by which to filter plugins' names. (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHeadersAndHttpInfo(String nameSearch, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "nameSearch", nameSearch));
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
*
* @return PluginOutputListV1
* @throws ApiException if fails to make API call
*/
public PluginOutputListV1 getPlugins() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
ApiClient.ApiResponse localVarResponse = getPluginsInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of plugins
*
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHttpInfo() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of plugins
*
*
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getPluginsWithHeadersAndHttpInfo(Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return getPluginsInternal(localVarQueryParams, localVarHeaderParams);
}
// OVERLOADS END
}