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 Tenants by State
This operation is to get tenants by state
|
okhttp3.Call |
tenantsGetAsync(String state,
Integer limit,
Integer offset,
ApiCallback<TenantListDTO> _callback)
Get Tenants by State (asynchronously)
This operation is to get tenants by state
|
okhttp3.Call |
tenantsGetCall(String state,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for tenantsGet
|
ApiResponse<TenantListDTO> |
tenantsGetWithHttpInfo(String state,
Integer limit,
Integer offset)
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 okhttp3.Call tenantsGetCall(String state, Integer limit, Integer offset, ApiCallback _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 - Callback for upload/download progressApiException - 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 okhttp3.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 © 2021 WSO2 Inc. All rights reserved.