public class TenantsApi extends Object
| Constructor and Description |
|---|
TenantsApi() |
TenantsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
TenantListDTO |
tenantsGet(String state,
Integer limit,
Integer offset)
Get get tenants by state
This operation is to get tenants by state
|
com.squareup.okhttp.Call |
tenantsGetAsync(String state,
Integer limit,
Integer offset,
ApiCallback<TenantListDTO> callback)
Get get tenants by state (asynchronously)
This operation is to get tenants by state
|
com.squareup.okhttp.Call |
tenantsGetCall(String state,
Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tenantsGet
|
ApiResponse<TenantListDTO> |
tenantsGetWithHttpInfo(String state,
Integer limit,
Integer offset)
Get get tenants by state
This operation is to get tenants by state
|
public TenantsApi()
public TenantsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call tenantsGetCall(String state, Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
state - The state represents the current state of the tenant Supported states are [ active, inactive] (optional, default to active)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TenantListDTO tenantsGet(String state, Integer limit, Integer offset) throws ApiException
state - The state represents the current state of the tenant Supported states are [ active, inactive] (optional, default to active)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TenantListDTO> tenantsGetWithHttpInfo(String state, Integer limit, Integer offset) throws ApiException
state - The state represents the current state of the tenant Supported states are [ active, inactive] (optional, default to active)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tenantsGetAsync(String state, Integer limit, Integer offset, ApiCallback<TenantListDTO> callback) throws ApiException
state - The state represents the current state of the tenant Supported states are [ active, inactive] (optional, default to active)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)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.