public class ApiScopesApi extends Object
| Constructor and Description |
|---|
ApiScopesApi() |
ApiScopesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ScopeListDTO |
apisApiIdScopesGet(String apiId,
String ifNoneMatch)
Get a list of scopes of an API
This operation can be used to retrieve a list of scopes belonging to an API by providing the id of the API.
|
com.squareup.okhttp.Call |
apisApiIdScopesGetAsync(String apiId,
String ifNoneMatch,
ApiCallback<ScopeListDTO> callback)
Get a list of scopes of an API (asynchronously)
This operation can be used to retrieve a list of scopes belonging to an API by providing the id of the API.
|
com.squareup.okhttp.Call |
apisApiIdScopesGetCall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdScopesGet
|
ApiResponse<ScopeListDTO> |
apisApiIdScopesGetWithHttpInfo(String apiId,
String ifNoneMatch)
Get a list of scopes of an API
This operation can be used to retrieve a list of scopes belonging to an API by providing the id of the API.
|
void |
apisApiIdScopesNameDelete(String apiId,
String name,
String ifMatch)
Delete a scope of an API
This operation can be used to delete a scope associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesNameDeleteAsync(String apiId,
String name,
String ifMatch,
ApiCallback<Void> callback)
Delete a scope of an API (asynchronously)
This operation can be used to delete a scope associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesNameDeleteCall(String apiId,
String name,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdScopesNameDelete
|
ApiResponse<Void> |
apisApiIdScopesNameDeleteWithHttpInfo(String apiId,
String name,
String ifMatch)
Delete a scope of an API
This operation can be used to delete a scope associated with an API.
|
ScopeDTO |
apisApiIdScopesNameGet(String apiId,
String name,
String ifNoneMatch)
Get a scope of an API
This operation can be used to retrieve a particular scope's metadata associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesNameGetAsync(String apiId,
String name,
String ifNoneMatch,
ApiCallback<ScopeDTO> callback)
Get a scope of an API (asynchronously)
This operation can be used to retrieve a particular scope's metadata associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesNameGetCall(String apiId,
String name,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdScopesNameGet
|
ApiResponse<ScopeDTO> |
apisApiIdScopesNameGetWithHttpInfo(String apiId,
String name,
String ifNoneMatch)
Get a scope of an API
This operation can be used to retrieve a particular scope's metadata associated with an API.
|
ScopeDTO |
apisApiIdScopesNamePut(String apiId,
String name,
ScopeDTO body,
String ifMatch)
Update a Scope of an API
This operation can be used to update scope of an API
|
com.squareup.okhttp.Call |
apisApiIdScopesNamePutAsync(String apiId,
String name,
ScopeDTO body,
String ifMatch,
ApiCallback<ScopeDTO> callback)
Update a Scope of an API (asynchronously)
This operation can be used to update scope of an API
|
com.squareup.okhttp.Call |
apisApiIdScopesNamePutCall(String apiId,
String name,
ScopeDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdScopesNamePut
|
ApiResponse<ScopeDTO> |
apisApiIdScopesNamePutWithHttpInfo(String apiId,
String name,
ScopeDTO body,
String ifMatch)
Update a Scope of an API
This operation can be used to update scope of an API
|
ScopeDTO |
apisApiIdScopesPost(String apiId,
ScopeDTO body,
String ifMatch)
Add a new scope to an API
This operation can be used to add a new scope to an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesPostAsync(String apiId,
ScopeDTO body,
String ifMatch,
ApiCallback<ScopeDTO> callback)
Add a new scope to an API (asynchronously)
This operation can be used to add a new scope to an API.
|
com.squareup.okhttp.Call |
apisApiIdScopesPostCall(String apiId,
ScopeDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdScopesPost
|
ApiResponse<ScopeDTO> |
apisApiIdScopesPostWithHttpInfo(String apiId,
ScopeDTO body,
String ifMatch)
Add a new scope to an API
This operation can be used to add a new scope to an API.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiScopesApi()
public ApiScopesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdScopesGetCall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 ScopeListDTO apisApiIdScopesGet(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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<ScopeListDTO> apisApiIdScopesGetWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 apisApiIdScopesGetAsync(String apiId, String ifNoneMatch, ApiCallback<ScopeListDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 apisApiIdScopesNameDeleteCall(String apiId, String name, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdScopesNameDelete(String apiId, String name, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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<Void> apisApiIdScopesNameDeleteWithHttpInfo(String apiId, String name, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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 apisApiIdScopesNameDeleteAsync(String apiId, String name, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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 objectpublic com.squareup.okhttp.Call apisApiIdScopesNameGetCall(String apiId, String name, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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 ScopeDTO apisApiIdScopesNameGet(String apiId, String name, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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<ScopeDTO> apisApiIdScopesNameGetWithHttpInfo(String apiId, String name, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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 apisApiIdScopesNameGetAsync(String apiId, String name, String ifNoneMatch, ApiCallback<ScopeDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (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 apisApiIdScopesNamePutCall(String apiId, String name, ScopeDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (required)body - Scope object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeDTO apisApiIdScopesNamePut(String apiId, String name, ScopeDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (required)body - Scope object that needs to be added (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<ScopeDTO> apisApiIdScopesNamePutWithHttpInfo(String apiId, String name, ScopeDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (required)body - Scope object that needs to be added (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 apisApiIdScopesNamePutAsync(String apiId, String name, ScopeDTO body, String ifMatch, ApiCallback<ScopeDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)name - Scope name (required)body - Scope object that needs to be added (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 objectpublic com.squareup.okhttp.Call apisApiIdScopesPostCall(String apiId, ScopeDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Scope object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeDTO apisApiIdScopesPost(String apiId, ScopeDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Scope object that needs to be added (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<ScopeDTO> apisApiIdScopesPostWithHttpInfo(String apiId, ScopeDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Scope object that needs to be added (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 apisApiIdScopesPostAsync(String apiId, ScopeDTO body, String ifMatch, ApiCallback<ScopeDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - Scope object that needs to be added (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.