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.
|
okhttp3.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.
|
okhttp3.Call |
getTenantExistenceCall(String tenantDomain,
ApiCallback _callback)
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 Tenants by State
This operation is to get tenants by state
|
okhttp3.Call |
getTenantsByStateAsync(String state,
Integer limit,
Integer offset,
ApiCallback<TenantListDTO> _callback)
Get Tenants by State (asynchronously)
This operation is to get tenants by state
|
okhttp3.Call |
getTenantsByStateCall(String state,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getTenantsByState
|
ApiResponse<TenantListDTO> |
getTenantsByStateWithHttpInfo(String state,
Integer limit,
Integer offset)
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 okhttp3.Call getTenantExistenceCall(String tenantDomain, ApiCallback _callback) throws ApiException
tenantDomain - The domain of a specific tenant (required)_callback - Callback for upload/download progressApiException - 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 okhttp3.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 okhttp3.Call getTenantsByStateCall(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 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 okhttp3.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 © 2021 WSO2 Inc. All rights reserved.