public class TenantsApi extends Object
| Constructor and Description |
|---|
TenantsApi() |
TenantsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
getTenantExistence(String tenantDomain)
Check whether the given tenant already exists
Using this operation, user can check whether a given tenant exists or not.
|
com.squareup.okhttp.Call |
getTenantExistenceAsync(String tenantDomain,
ApiCallback<Void> callback)
Check whether the given tenant already exists (asynchronously)
Using this operation, user can check whether a given tenant exists or not.
|
com.squareup.okhttp.Call |
getTenantExistenceCall(String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTenantExistence
|
ApiResponse<Void> |
getTenantExistenceWithHttpInfo(String tenantDomain)
Check whether the given tenant already exists
Using this operation, user can check whether a given tenant exists or not.
|
TenantListDTO |
getTenantsByState(String state,
Integer limit,
Integer offset)
Get get tenants by state
This operation is to get tenants by state
|
com.squareup.okhttp.Call |
getTenantsByStateAsync(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 |
getTenantsByStateCall(String state,
Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTenantsByState
|
ApiResponse<TenantListDTO> |
getTenantsByStateWithHttpInfo(String state,
Integer limit,
Integer offset)
Get get tenants by state
This operation is to get tenants by state
|
void |
setApiClient(ApiClient apiClient) |
public TenantsApi()
public TenantsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getTenantExistenceCall(String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantDomain - The domain of a specific tenant (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void getTenantExistence(String tenantDomain) throws ApiException
tenantDomain - The domain of a specific tenant (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getTenantExistenceWithHttpInfo(String tenantDomain) throws ApiException
tenantDomain - The domain of a specific tenant (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTenantExistenceAsync(String tenantDomain, ApiCallback<Void> callback) throws ApiException
tenantDomain - The domain of a specific tenant (required)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 getTenantsByStateCall(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 getTenantsByState(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> getTenantsByStateWithHttpInfo(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 getTenantsByStateAsync(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.