public class ApiResourcePoliciesApi extends Object
| Constructor and Description |
|---|
ApiResourcePoliciesApi() |
ApiResourcePoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
ResourcePolicyListDTO |
getAPIResourcePolicies(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.Call |
getAPIResourcePoliciesAsync(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.
|
ResourcePolicyInfoDTO |
getAPIResourcePoliciesByPolicyId(String apiId,
String resourcePolicyId,
String ifNoneMatch)
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.
|
okhttp3.Call |
getAPIResourcePoliciesByPolicyIdAsync(String apiId,
String resourcePolicyId,
String ifNoneMatch,
ApiCallback<ResourcePolicyInfoDTO> _callback)
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.
|
okhttp3.Call |
getAPIResourcePoliciesByPolicyIdCall(String apiId,
String resourcePolicyId,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIResourcePoliciesByPolicyId
|
ApiResponse<ResourcePolicyInfoDTO> |
getAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId,
String resourcePolicyId,
String ifNoneMatch)
Get the Resource Policy(inflow/outflow) Definition for a Given Resource Identifier.
|
okhttp3.Call |
getAPIResourcePoliciesCall(String apiId,
String sequenceType,
String resourcePath,
String verb,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIResourcePolicies
|
ApiResponse<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.
|
void |
setApiClient(ApiClient apiClient) |
ResourcePolicyInfoDTO |
updateAPIResourcePoliciesByPolicyId(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.Call |
updateAPIResourcePoliciesByPolicyIdAsync(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.Call |
updateAPIResourcePoliciesByPolicyIdCall(String apiId,
String resourcePolicyId,
ResourcePolicyInfoDTO resourcePolicyInfoDTO,
String ifMatch,
ApiCallback _callback)
Build call for updateAPIResourcePoliciesByPolicyId
|
ApiResponse<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.
|
public ApiResourcePoliciesApi()
public ApiResourcePoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAPIResourcePoliciesCall(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback _callback) throws ApiException
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 progressApiException - If fail to serialize the request body objectpublic ResourcePolicyListDTO getAPIResourcePolicies(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourcePolicyListDTO> getAPIResourcePoliciesWithHttpInfo(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIResourcePoliciesAsync(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ApiCallback<ResourcePolicyListDTO> _callback) throws ApiException
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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback _callback) throws ApiException
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 progressApiException - If fail to serialize the request body objectpublic ResourcePolicyInfoDTO getAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, String ifNoneMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourcePolicyInfoDTO> getAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, String ifNoneMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, String ifNoneMatch, ApiCallback<ResourcePolicyInfoDTO> _callback) throws ApiException
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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateAPIResourcePoliciesByPolicyIdCall(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback _callback) throws ApiException
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 progressApiException - If fail to serialize the request body objectpublic ResourcePolicyInfoDTO updateAPIResourcePoliciesByPolicyId(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourcePolicyInfoDTO> updateAPIResourcePoliciesByPolicyIdWithHttpInfo(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAPIResourcePoliciesByPolicyIdAsync(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO resourcePolicyInfoDTO, String ifMatch, ApiCallback<ResourcePolicyInfoDTO> _callback) throws ApiException
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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.