Class ApiKeysApi
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.ApiKeysApi
-
public class ApiKeysApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiKeysApi()ApiKeysApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIKeyDTOapplicationsApplicationIdApiKeysKeyTypeGeneratePost(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO)Generate API Key Generate a self contained API Key for the applicationokhttp3.CallapplicationsApplicationIdApiKeysKeyTypeGeneratePostAsync(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO, ApiCallback<APIKeyDTO> _callback)Generate API Key (asynchronously) Generate a self contained API Key for the applicationokhttp3.CallapplicationsApplicationIdApiKeysKeyTypeGeneratePostCall(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO, ApiCallback _callback)Build call for applicationsApplicationIdApiKeysKeyTypeGeneratePostApiResponse<APIKeyDTO>applicationsApplicationIdApiKeysKeyTypeGeneratePostWithHttpInfo(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO)Generate API Key Generate a self contained API Key for the applicationvoidapplicationsApplicationIdApiKeysKeyTypeRevokePost(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO)Revoke API Key Revoke a self contained API Key for the applicationokhttp3.CallapplicationsApplicationIdApiKeysKeyTypeRevokePostAsync(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO, ApiCallback<Void> _callback)Revoke API Key (asynchronously) Revoke a self contained API Key for the applicationokhttp3.CallapplicationsApplicationIdApiKeysKeyTypeRevokePostCall(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO, ApiCallback _callback)Build call for applicationsApplicationIdApiKeysKeyTypeRevokePostApiResponse<Void>applicationsApplicationIdApiKeysKeyTypeRevokePostWithHttpInfo(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO)Revoke API Key Revoke a self contained API Key for the applicationApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ApiKeysApi
public ApiKeysApi()
-
ApiKeysApi
public ApiKeysApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
applicationsApplicationIdApiKeysKeyTypeGeneratePostCall
public okhttp3.Call applicationsApplicationIdApiKeysKeyTypeGeneratePostCall(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO, ApiCallback _callback) throws ApiException
Build call for applicationsApplicationIdApiKeysKeyTypeGeneratePost- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyGenerateRequestDTO- API Key generation request object (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
applicationsApplicationIdApiKeysKeyTypeGeneratePost
public APIKeyDTO applicationsApplicationIdApiKeysKeyTypeGeneratePost(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO) throws ApiException
Generate API Key Generate a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyGenerateRequestDTO- API Key generation request object (optional)- Returns:
- APIKeyDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
applicationsApplicationIdApiKeysKeyTypeGeneratePostWithHttpInfo
public ApiResponse<APIKeyDTO> applicationsApplicationIdApiKeysKeyTypeGeneratePostWithHttpInfo(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO) throws ApiException
Generate API Key Generate a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyGenerateRequestDTO- API Key generation request object (optional)- Returns:
- ApiResponse<APIKeyDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
applicationsApplicationIdApiKeysKeyTypeGeneratePostAsync
public okhttp3.Call applicationsApplicationIdApiKeysKeyTypeGeneratePostAsync(String applicationId, String keyType, String ifMatch, APIKeyGenerateRequestDTO apIKeyGenerateRequestDTO, ApiCallback<APIKeyDTO> _callback) throws ApiException
Generate API Key (asynchronously) Generate a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyGenerateRequestDTO- API Key generation request object (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
-
applicationsApplicationIdApiKeysKeyTypeRevokePostCall
public okhttp3.Call applicationsApplicationIdApiKeysKeyTypeRevokePostCall(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO, ApiCallback _callback) throws ApiException
Build call for applicationsApplicationIdApiKeysKeyTypeRevokePost- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyRevokeRequestDTO- API Key revoke request object (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
applicationsApplicationIdApiKeysKeyTypeRevokePost
public void applicationsApplicationIdApiKeysKeyTypeRevokePost(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO) throws ApiException
Revoke API Key Revoke a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyRevokeRequestDTO- API Key revoke request object (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
applicationsApplicationIdApiKeysKeyTypeRevokePostWithHttpInfo
public ApiResponse<Void> applicationsApplicationIdApiKeysKeyTypeRevokePostWithHttpInfo(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO) throws ApiException
Revoke API Key Revoke a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyRevokeRequestDTO- API Key revoke request object (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
applicationsApplicationIdApiKeysKeyTypeRevokePostAsync
public okhttp3.Call applicationsApplicationIdApiKeysKeyTypeRevokePostAsync(String applicationId, String keyType, String ifMatch, APIKeyRevokeRequestDTO apIKeyRevokeRequestDTO, ApiCallback<Void> _callback) throws ApiException
Revoke API Key (asynchronously) Revoke a self contained API Key for the application- Parameters:
applicationId- Application Identifier consisting of the UUID of the Application. (required)keyType- **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)ifMatch- Validator for conditional requests; based on ETag. (optional)apIKeyRevokeRequestDTO- API Key revoke request object (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
-
-