Class ApiResourcePoliciesApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.ApiResourcePoliciesApi
-
public class ApiResourcePoliciesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiResourcePoliciesApi()ApiResourcePoliciesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ResourcePolicyListDTOgetAPIResourcePolicies(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch)Get the Resource Policy(inflow/outflow) Definitions This operation can be used to retrieve conversion policy resource definitions of an API.okhttp3.CallgetAPIResourcePoliciesAsync(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback<ResourcePolicyListDTO> _callback)Get the Resource Policy(inflow/outflow) Definitions (asynchronously) This operation can be used to retrieve conversion policy resource definitions of an API.ResourcePolicyInfoDTOgetAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, String ifNoneMatch)Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.okhttp3.CallgetAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback<ResourcePolicyInfoDTO> _callback)Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.okhttp3.CallgetAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback _callback)Build call for getAPIResourcePoliciesByPolicyIdApiResponse<ResourcePolicyInfoDTO>getAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, String ifNoneMatch)Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.okhttp3.CallgetAPIResourcePoliciesCall(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback _callback)Build call for getAPIResourcePoliciesApiResponse<ResourcePolicyListDTO>getAPIResourcePoliciesWithHttpInfo(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch)Get the Resource Policy(inflow/outflow) Definitions This operation can be used to retrieve conversion policy resource definitions of an API.voidsetApiClient(ApiClient apiClient)ResourcePolicyInfoDTOupdateAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch)Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API.okhttp3.CallupdateAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback<ResourcePolicyInfoDTO> _callback)Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier (asynchronously) This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API.okhttp3.CallupdateAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback _callback)Build call for updateAPIResourcePoliciesByPolicyIdApiResponse<ResourcePolicyInfoDTO>updateAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch)Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API.
-
-
-
Constructor Detail
-
ApiResourcePoliciesApi
public ApiResourcePoliciesApi()
-
ApiResourcePoliciesApi
public ApiResourcePoliciesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAPIResourcePoliciesCall
public okhttp3.Call getAPIResourcePoliciesCall(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAPIResourcePolicies- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)sequenceType- sequence type of the resource policy resource definition (required)resourcePath- Resource path of the resource policy definition (optional)verb- HTTP verb of the resource path of the resource policy definition (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIResourcePolicies
public ResourcePolicyListDTO getAPIResourcePolicies(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch) throws ApiException
Get the Resource Policy(inflow/outflow) Definitions This operation can be used to retrieve conversion policy resource definitions of an API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)sequenceType- sequence type of the resource policy resource definition (required)resourcePath- Resource path of the resource policy definition (optional)verb- HTTP verb of the resource path of the resource policy definition (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ResourcePolicyListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIResourcePoliciesWithHttpInfo
public ApiResponse<ResourcePolicyListDTO> getAPIResourcePoliciesWithHttpInfo(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch) throws ApiException
Get the Resource Policy(inflow/outflow) Definitions This operation can be used to retrieve conversion policy resource definitions of an API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)sequenceType- sequence type of the resource policy resource definition (required)resourcePath- Resource path of the resource policy definition (optional)verb- HTTP verb of the resource path of the resource policy definition (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ApiResponse<ResourcePolicyListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIResourcePoliciesAsync
public okhttp3.Call getAPIResourcePoliciesAsync(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback<ResourcePolicyListDTO> _callback) throws ApiException
Get the Resource Policy(inflow/outflow) Definitions (asynchronously) This operation can be used to retrieve conversion policy resource definitions of an API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)sequenceType- sequence type of the resource policy resource definition (required)resourcePath- Resource path of the resource policy definition (optional)verb- HTTP verb of the resource path of the resource policy definition (optional)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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIResourcePoliciesByPolicyIdCall
public okhttp3.Call getAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAPIResourcePoliciesByPolicyId- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIResourcePoliciesByPolicyId
public ResourcePolicyInfoDTO getAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, String ifNoneMatch) throws ApiException
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier. This operation can be used to retrieve conversion policy resource definitions of an API given the resource identifier.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ResourcePolicyInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIResourcePoliciesByPolicyIdWithHttpInfo
public ApiResponse<ResourcePolicyInfoDTO> getAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, String ifNoneMatch) throws ApiException
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier. This operation can be used to retrieve conversion policy resource definitions of an API given the resource identifier.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ApiResponse<ResourcePolicyInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIResourcePoliciesByPolicyIdAsync
public okhttp3.Call getAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback<ResourcePolicyInfoDTO> _callback) throws ApiException
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier. (asynchronously) This operation can be used to retrieve conversion policy resource definitions of an API given the resource identifier.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateAPIResourcePoliciesByPolicyIdCall
public okhttp3.Call updateAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback _callback) throws ApiException
Build call for updateAPIResourcePoliciesByPolicyId- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)resourcePolicyInfoDTO- Content of the resource policy definition that needs to be updated (required)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateAPIResourcePoliciesByPolicyId
public ResourcePolicyInfoDTO updateAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch) throws ApiException
Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API. resource policy definition to be updated is passed as a body parameter `content`.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)resourcePolicyInfoDTO- Content of the resource policy definition that needs to be updated (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ResourcePolicyInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIResourcePoliciesByPolicyIdWithHttpInfo
public ApiResponse<ResourcePolicyInfoDTO> updateAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch) throws ApiException
Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API. resource policy definition to be updated is passed as a body parameter `content`.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)resourcePolicyInfoDTO- Content of the resource policy definition that needs to be updated (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ApiResponse<ResourcePolicyInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIResourcePoliciesByPolicyIdAsync
public okhttp3.Call updateAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback<ResourcePolicyInfoDTO> _callback) throws ApiException
Update the Resource Policy(inflow/outflow) Definition for the Given Resource Identifier (asynchronously) This operation can be used to update the resource policy(inflow/outflow) definition for the given resource identifier of an existing API. resource policy definition to be updated is passed as a body parameter `content`.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId- registry resource Id (required)resourcePolicyInfoDTO- Content of the resource policy definition that needs to be updated (required)ifMatch- Validator for conditional requests; based on ETag. (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
-
-