public class ApiResourcePoliciesApi extends Object
| Constructor and Description |
|---|
ApiResourcePoliciesApi() |
ApiResourcePoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ResourcePolicyListDTO |
apisApiIdResourcePoliciesGet(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.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesGetAsync(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.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesGetCall(String apiId,
String sequenceType,
String resourcePath,
String verb,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdResourcePoliciesGet
|
ApiResponse<ResourcePolicyListDTO> |
apisApiIdResourcePoliciesGetWithHttpInfo(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.
|
ResourcePolicyInfoDTO |
apisApiIdResourcePoliciesResourcePolicyIdGet(String apiId,
String resourcePolicyId,
String ifNoneMatch)
Get the resource policy (inflow/outflow) definition for a given resource identifier.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesResourcePolicyIdGetAsync(String apiId,
String resourcePolicyId,
String ifNoneMatch,
ApiCallback<ResourcePolicyInfoDTO> callback)
Get the resource policy (inflow/outflow) definition for a given resource identifier.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesResourcePolicyIdGetCall(String apiId,
String resourcePolicyId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdResourcePoliciesResourcePolicyIdGet
|
ApiResponse<ResourcePolicyInfoDTO> |
apisApiIdResourcePoliciesResourcePolicyIdGetWithHttpInfo(String apiId,
String resourcePolicyId,
String ifNoneMatch)
Get the resource policy (inflow/outflow) definition for a given resource identifier.
|
ResourcePolicyInfoDTO |
apisApiIdResourcePoliciesResourcePolicyIdPut(String apiId,
String resourcePolicyId,
ResourcePolicyInfoDTO body,
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.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesResourcePolicyIdPutAsync(String apiId,
String resourcePolicyId,
ResourcePolicyInfoDTO body,
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.
|
com.squareup.okhttp.Call |
apisApiIdResourcePoliciesResourcePolicyIdPutCall(String apiId,
String resourcePolicyId,
ResourcePolicyInfoDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdResourcePoliciesResourcePolicyIdPut
|
ApiResponse<ResourcePolicyInfoDTO> |
apisApiIdResourcePoliciesResourcePolicyIdPutWithHttpInfo(String apiId,
String resourcePolicyId,
ResourcePolicyInfoDTO body,
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.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiResourcePoliciesApi()
public ApiResourcePoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdResourcePoliciesGetCall(String apiId, String sequenceType, String resourcePath, String verb, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ResourcePolicyListDTO apisApiIdResourcePoliciesGet(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> apisApiIdResourcePoliciesGetWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdResourcePoliciesGetAsync(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 com.squareup.okhttp.Call apisApiIdResourcePoliciesResourcePolicyIdGetCall(String apiId, String resourcePolicyId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ResourcePolicyInfoDTO apisApiIdResourcePoliciesResourcePolicyIdGet(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> apisApiIdResourcePoliciesResourcePolicyIdGetWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdResourcePoliciesResourcePolicyIdGetAsync(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 com.squareup.okhttp.Call apisApiIdResourcePoliciesResourcePolicyIdPutCall(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId - registry resource Id (required)body - Content of the resource policy definition that needs to be updated (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ResourcePolicyInfoDTO apisApiIdResourcePoliciesResourcePolicyIdPut(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId - registry resource Id (required)body - 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> apisApiIdResourcePoliciesResourcePolicyIdPutWithHttpInfo(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId - registry resource Id (required)body - 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 com.squareup.okhttp.Call apisApiIdResourcePoliciesResourcePolicyIdPutAsync(String apiId, String resourcePolicyId, ResourcePolicyInfoDTO body, String ifMatch, ApiCallback<ResourcePolicyInfoDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)resourcePolicyId - registry resource Id (required)body - 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 © 2020 WSO2 Inc. All rights reserved.