public class ThrottlingTierIndividualApi extends Object
| Constructor and Description |
|---|
ThrottlingTierIndividualApi() |
ThrottlingTierIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
policiesTierLevelTierNameDelete(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince)
Delete a Tier
This operation can be used to delete an existing policy.
|
com.squareup.okhttp.Call |
policiesTierLevelTierNameDeleteAsync(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Tier (asynchronously)
This operation can be used to delete an existing policy.
|
ApiResponse<Void> |
policiesTierLevelTierNameDeleteWithHttpInfo(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince)
Delete a Tier
This operation can be used to delete an existing policy.
|
Tier |
policiesTierLevelTierNameGet(String tierName,
String tierLevel,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get details of a policy
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
com.squareup.okhttp.Call |
policiesTierLevelTierNameGetAsync(String tierName,
String tierLevel,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Tier> callback)
Get details of a policy (asynchronously)
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
ApiResponse<Tier> |
policiesTierLevelTierNameGetWithHttpInfo(String tierName,
String tierLevel,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get details of a policy
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
Tier |
policiesTierLevelTierNamePut(String tierName,
Tier body,
String tierLevel,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Tier
This operation can be used to update an existing policy.
|
com.squareup.okhttp.Call |
policiesTierLevelTierNamePutAsync(String tierName,
Tier body,
String tierLevel,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Tier> callback)
Update a Tier (asynchronously)
This operation can be used to update an existing policy.
|
ApiResponse<Tier> |
policiesTierLevelTierNamePutWithHttpInfo(String tierName,
Tier body,
String tierLevel,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Tier
This operation can be used to update an existing policy.
|
List<Tier> |
policiesUpdatePermissionPost(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
TierPermission permissions)
Update policy permission
This operation can be used to update policy permissions which controls access for the particular policy based on the subscribers' roles.
|
com.squareup.okhttp.Call |
policiesUpdatePermissionPostAsync(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
TierPermission permissions,
ApiCallback<List<Tier>> callback)
Update policy permission (asynchronously)
This operation can be used to update policy permissions which controls access for the particular policy based on the subscribers' roles.
|
ApiResponse<List<Tier>> |
policiesUpdatePermissionPostWithHttpInfo(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
TierPermission permissions)
Update policy permission
This operation can be used to update policy permissions which controls access for the particular policy based on the subscribers' roles.
|
void |
setApiClient(ApiClient apiClient) |
public ThrottlingTierIndividualApi()
public ThrottlingTierIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void policiesTierLevelTierNameDelete(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> policiesTierLevelTierNameDeleteWithHttpInfo(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call policiesTierLevelTierNameDeleteAsync(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> callback) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (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 Tier policiesTierLevelTierNameGet(String tierName, String tierLevel, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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<Tier> policiesTierLevelTierNameGetWithHttpInfo(String tierName, String tierLevel, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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 policiesTierLevelTierNameGetAsync(String tierName, String tierLevel, String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<Tier> callback) throws ApiException
tierName - Tier name (required)tierLevel - List API or Application or Resource type policies. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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 Tier policiesTierLevelTierNamePut(String tierName, Tier body, String tierLevel, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
tierName - Tier name (required)body - Tier object that needs to be modified (required)tierLevel - List API or Application or Resource type policies. (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Tier> policiesTierLevelTierNamePutWithHttpInfo(String tierName, Tier body, String tierLevel, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
tierName - Tier name (required)body - Tier object that needs to be modified (required)tierLevel - List API or Application or Resource type policies. (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call policiesTierLevelTierNamePutAsync(String tierName, Tier body, String tierLevel, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<Tier> callback) throws ApiException
tierName - Tier name (required)body - Tier object that needs to be modified (required)tierLevel - List API or Application or Resource type policies. (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (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 List<Tier> policiesUpdatePermissionPost(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince, TierPermission permissions) throws ApiException
tierName - Name of the policy (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)permissions - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Tier>> policiesUpdatePermissionPostWithHttpInfo(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince, TierPermission permissions) throws ApiException
tierName - Name of the policy (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)permissions - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call policiesUpdatePermissionPostAsync(String tierName, String tierLevel, String ifMatch, String ifUnmodifiedSince, TierPermission permissions, ApiCallback<List<Tier>> callback) throws ApiException
tierName - Name of the policy (required)tierLevel - List API or Application or Resource type policies. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)permissions - (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 © 2017 WSO2. All rights reserved.