Class ApiCategoryIndividualApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.ApiCategoryIndividualApi

public class ApiCategoryIndividualApi extends Object
  • Constructor Details

    • ApiCategoryIndividualApi

      public ApiCategoryIndividualApi()
    • ApiCategoryIndividualApi

      public ApiCategoryIndividualApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • apiCategoriesApiCategoryIdDeleteCall

      public okhttp3.Call apiCategoriesApiCategoryIdDeleteCall(String apiCategoryId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
      Build call for apiCategoriesApiCategoryIdDelete
      Parameters:
      apiCategoryId - API Category UUID (required)
      ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)
      ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • apiCategoriesApiCategoryIdDelete

      public void apiCategoriesApiCategoryIdDelete(String apiCategoryId, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Delete an API Category Delete an API Category by API Category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)
      ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesApiCategoryIdDeleteWithHttpInfo

      public ApiResponse<Void> apiCategoriesApiCategoryIdDeleteWithHttpInfo(String apiCategoryId, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Delete an API Category Delete an API Category by API Category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)
      ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesApiCategoryIdDeleteAsync

      public okhttp3.Call apiCategoriesApiCategoryIdDeleteAsync(String apiCategoryId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException
      Delete an API Category (asynchronously) Delete an API Category by API Category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)
      ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • apiCategoriesApiCategoryIdPutCall

      public okhttp3.Call apiCategoriesApiCategoryIdPutCall(String apiCategoryId, APICategoryDTO apICategoryDTO, ApiCallback _callback) throws ApiException
      Build call for apiCategoriesApiCategoryIdPut
      Parameters:
      apiCategoryId - API Category UUID (required)
      apICategoryDTO - API Category object with updated information (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • apiCategoriesApiCategoryIdPut

      public APICategoryDTO apiCategoriesApiCategoryIdPut(String apiCategoryId, APICategoryDTO apICategoryDTO) throws ApiException
      Update an API Category Update an API Category by category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      apICategoryDTO - API Category object with updated information (required)
      Returns:
      APICategoryDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesApiCategoryIdPutWithHttpInfo

      public ApiResponse<APICategoryDTO> apiCategoriesApiCategoryIdPutWithHttpInfo(String apiCategoryId, APICategoryDTO apICategoryDTO) throws ApiException
      Update an API Category Update an API Category by category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      apICategoryDTO - API Category object with updated information (required)
      Returns:
      ApiResponse<APICategoryDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesApiCategoryIdPutAsync

      public okhttp3.Call apiCategoriesApiCategoryIdPutAsync(String apiCategoryId, APICategoryDTO apICategoryDTO, ApiCallback<APICategoryDTO> _callback) throws ApiException
      Update an API Category (asynchronously) Update an API Category by category Id
      Parameters:
      apiCategoryId - API Category UUID (required)
      apICategoryDTO - API Category object with updated information (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • apiCategoriesPostCall

      public okhttp3.Call apiCategoriesPostCall(APICategoryDTO apICategoryDTO, ApiCallback _callback) throws ApiException
      Build call for apiCategoriesPost
      Parameters:
      apICategoryDTO - API Category object that should to be added (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • apiCategoriesPost

      public APICategoryDTO apiCategoriesPost(APICategoryDTO apICategoryDTO) throws ApiException
      Add API Category Add a new API category
      Parameters:
      apICategoryDTO - API Category object that should to be added (required)
      Returns:
      APICategoryDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesPostWithHttpInfo

      public ApiResponse<APICategoryDTO> apiCategoriesPostWithHttpInfo(APICategoryDTO apICategoryDTO) throws ApiException
      Add API Category Add a new API category
      Parameters:
      apICategoryDTO - API Category object that should to be added (required)
      Returns:
      ApiResponse<APICategoryDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • apiCategoriesPostAsync

      public okhttp3.Call apiCategoriesPostAsync(APICategoryDTO apICategoryDTO, ApiCallback<APICategoryDTO> _callback) throws ApiException
      Add API Category (asynchronously) Add a new API category
      Parameters:
      apICategoryDTO - API Category object that should to be added (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object