public class ApiProductsApi extends Object
| Constructor and Description |
|---|
ApiProductsApi() |
ApiProductsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apiProductsApiProductIdDelete(String apiProductId,
String ifMatch)
Delete an API Product
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDeleteAsync(String apiProductId,
String ifMatch,
ApiCallback<Void> callback)
Delete an API Product (asynchronously)
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDeleteCall(String apiProductId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDelete
|
ApiResponse<Void> |
apiProductsApiProductIdDeleteWithHttpInfo(String apiProductId,
String ifMatch)
Delete an API Product
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
APIProductDTO |
apiProductsApiProductIdGet(String apiProductId,
String accept,
String ifNoneMatch)
Get details of an API Product
Using this operation, you can retrieve complete details of a single API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdGetAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<APIProductDTO> callback)
Get details of an API Product (asynchronously)
Using this operation, you can retrieve complete details of a single API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdGetCall(String apiProductId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdGet
|
ApiResponse<APIProductDTO> |
apiProductsApiProductIdGetWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get details of an API Product
Using this operation, you can retrieve complete details of a single API Product.
|
APIProductOutdatedStatusDTO |
apiProductsApiProductIdIsOutdatedGet(String apiProductId,
String accept,
String ifNoneMatch)
Get if API Product is outdated
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs
|
com.squareup.okhttp.Call |
apiProductsApiProductIdIsOutdatedGetAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<APIProductOutdatedStatusDTO> callback)
Get if API Product is outdated (asynchronously)
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs
|
com.squareup.okhttp.Call |
apiProductsApiProductIdIsOutdatedGetCall(String apiProductId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdIsOutdatedGet
|
ApiResponse<APIProductOutdatedStatusDTO> |
apiProductsApiProductIdIsOutdatedGetWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get if API Product is outdated
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs
|
APIProductDTO |
apiProductsApiProductIdPut(String apiProductId,
APIProductDTO body,
String ifMatch)
Update an API product
This operation can be used to update an existing API product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdPutAsync(String apiProductId,
APIProductDTO body,
String ifMatch,
ApiCallback<APIProductDTO> callback)
Update an API product (asynchronously)
This operation can be used to update an existing API product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdPutCall(String apiProductId,
APIProductDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdPut
|
ApiResponse<APIProductDTO> |
apiProductsApiProductIdPutWithHttpInfo(String apiProductId,
APIProductDTO body,
String ifMatch)
Update an API product
This operation can be used to update an existing API product.
|
void |
apiProductsApiProductIdSwaggerGet(String apiProductId,
String accept,
String ifNoneMatch)
Get swagger definition
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdSwaggerGetAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<Void> callback)
Get swagger definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdSwaggerGetCall(String apiProductId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdSwaggerGet
|
ApiResponse<Void> |
apiProductsApiProductIdSwaggerGetWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get swagger definition
This operation can be used to retrieve the swagger definition of an API.
|
void |
apiProductsApiProductIdThumbnailGet(String apiProductId,
String accept,
String ifNoneMatch)
Get thumbnail image
This operation can be used to download a thumbnail image of an API product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdThumbnailGetAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<Void> callback)
Get thumbnail image (asynchronously)
This operation can be used to download a thumbnail image of an API product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdThumbnailGetCall(String apiProductId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdThumbnailGet
|
ApiResponse<Void> |
apiProductsApiProductIdThumbnailGetWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get thumbnail image
This operation can be used to download a thumbnail image of an API product.
|
FileInfoDTO |
apiProductsApiProductIdThumbnailPut(String apiProductId,
File file,
String ifMatch)
Upload a thumbnail image
This operation can be used to upload a thumbnail image of an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdThumbnailPutAsync(String apiProductId,
File file,
String ifMatch,
ApiCallback<FileInfoDTO> callback)
Upload a thumbnail image (asynchronously)
This operation can be used to upload a thumbnail image of an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdThumbnailPutCall(String apiProductId,
File file,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdThumbnailPut
|
ApiResponse<FileInfoDTO> |
apiProductsApiProductIdThumbnailPutWithHttpInfo(String apiProductId,
File file,
String ifMatch)
Upload a thumbnail image
This operation can be used to upload a thumbnail image of an API Product.
|
APIProductListDTO |
apiProductsGet(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search API Products
This operation provides you a list of available API Products qualifying under a given search condition.
|
com.squareup.okhttp.Call |
apiProductsGetAsync(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback<APIProductListDTO> callback)
Retrieve/Search API Products (asynchronously)
This operation provides you a list of available API Products qualifying under a given search condition.
|
com.squareup.okhttp.Call |
apiProductsGetCall(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsGet
|
ApiResponse<APIProductListDTO> |
apiProductsGetWithHttpInfo(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search API Products
This operation provides you a list of available API Products qualifying under a given search condition.
|
APIProductDTO |
apiProductsPost(APIProductDTO body)
Create a new API Product
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
com.squareup.okhttp.Call |
apiProductsPostAsync(APIProductDTO body,
ApiCallback<APIProductDTO> callback)
Create a new API Product (asynchronously)
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
com.squareup.okhttp.Call |
apiProductsPostCall(APIProductDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsPost
|
ApiResponse<APIProductDTO> |
apiProductsPostWithHttpInfo(APIProductDTO body)
Create a new API Product
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiProductsApi()
public ApiProductsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apiProductsApiProductIdDeleteCall(String apiProductId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apiProductsApiProductIdDelete(String apiProductId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apiProductsApiProductIdDeleteWithHttpInfo(String apiProductId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDeleteAsync(String apiProductId, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdGetCall(String apiProductId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIProductDTO apiProductsApiProductIdGet(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductDTO> apiProductsApiProductIdGetWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdGetAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<APIProductDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdIsOutdatedGetCall(String apiProductId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIProductOutdatedStatusDTO apiProductsApiProductIdIsOutdatedGet(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductOutdatedStatusDTO> apiProductsApiProductIdIsOutdatedGetWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdIsOutdatedGetAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<APIProductOutdatedStatusDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdPutCall(String apiProductId, APIProductDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIProductDTO apiProductsApiProductIdPut(String apiProductId, APIProductDTO body, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductDTO> apiProductsApiProductIdPutWithHttpInfo(String apiProductId, APIProductDTO body, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdPutAsync(String apiProductId, APIProductDTO body, String ifMatch, ApiCallback<APIProductDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdSwaggerGetCall(String apiProductId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apiProductsApiProductIdSwaggerGet(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apiProductsApiProductIdSwaggerGetWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdSwaggerGetAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdThumbnailGetCall(String apiProductId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apiProductsApiProductIdThumbnailGet(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apiProductsApiProductIdThumbnailGetWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdThumbnailGetAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdThumbnailPutCall(String apiProductId, File file, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FileInfoDTO apiProductsApiProductIdThumbnailPut(String apiProductId, File file, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FileInfoDTO> apiProductsApiProductIdThumbnailPutWithHttpInfo(String apiProductId, File file, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdThumbnailPutAsync(String apiProductId, File file, String ifMatch, ApiCallback<FileInfoDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsGetCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIProductListDTO apiProductsGet(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductListDTO> apiProductsGetWithHttpInfo(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsGetAsync(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback<APIProductListDTO> callback) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsPostCall(APIProductDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - API object that needs to be added (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIProductDTO apiProductsPost(APIProductDTO body) throws ApiException
body - API object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductDTO> apiProductsPostWithHttpInfo(APIProductDTO body) throws ApiException
body - API object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsPostAsync(APIProductDTO body, ApiCallback<APIProductDTO> callback) throws ApiException
body - API object that needs to be added (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.