Class TenantsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.TenantsApi
-
public class TenantsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description TenantsApi()TenantsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()CustomUrlInfoDTOgetCustomUrlInfoByTenantDomain(String tenantDomain)Get Custom URL Info of a Tenant Domain This operation is to get custom-url information of the provided tenant-domainokhttp3.CallgetCustomUrlInfoByTenantDomainAsync(String tenantDomain, ApiCallback<CustomUrlInfoDTO> _callback)Get Custom URL Info of a Tenant Domain (asynchronously) This operation is to get custom-url information of the provided tenant-domainokhttp3.CallgetCustomUrlInfoByTenantDomainCall(String tenantDomain, ApiCallback _callback)Build call for getCustomUrlInfoByTenantDomainApiResponse<CustomUrlInfoDTO>getCustomUrlInfoByTenantDomainWithHttpInfo(String tenantDomain)Get Custom URL Info of a Tenant Domain This operation is to get custom-url information of the provided tenant-domainTenantInfoDTOgetTenantInfoByUsername(String username)Get Tenant Id of User This operation is to get tenant id of the provided userokhttp3.CallgetTenantInfoByUsernameAsync(String username, ApiCallback<TenantInfoDTO> _callback)Get Tenant Id of User (asynchronously) This operation is to get tenant id of the provided userokhttp3.CallgetTenantInfoByUsernameCall(String username, ApiCallback _callback)Build call for getTenantInfoByUsernameApiResponse<TenantInfoDTO>getTenantInfoByUsernameWithHttpInfo(String username)Get Tenant Id of User This operation is to get tenant id of the provided uservoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
TenantsApi
public TenantsApi()
-
TenantsApi
public TenantsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCustomUrlInfoByTenantDomainCall
public okhttp3.Call getCustomUrlInfoByTenantDomainCall(String tenantDomain, ApiCallback _callback) throws ApiException
Build call for getCustomUrlInfoByTenantDomain- Parameters:
tenantDomain- The tenant domain name. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCustomUrlInfoByTenantDomain
public CustomUrlInfoDTO getCustomUrlInfoByTenantDomain(String tenantDomain) throws ApiException
Get Custom URL Info of a Tenant Domain This operation is to get custom-url information of the provided tenant-domain- Parameters:
tenantDomain- The tenant domain name. (required)- Returns:
- CustomUrlInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCustomUrlInfoByTenantDomainWithHttpInfo
public ApiResponse<CustomUrlInfoDTO> getCustomUrlInfoByTenantDomainWithHttpInfo(String tenantDomain) throws ApiException
Get Custom URL Info of a Tenant Domain This operation is to get custom-url information of the provided tenant-domain- Parameters:
tenantDomain- The tenant domain name. (required)- Returns:
- ApiResponse<CustomUrlInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCustomUrlInfoByTenantDomainAsync
public okhttp3.Call getCustomUrlInfoByTenantDomainAsync(String tenantDomain, ApiCallback<CustomUrlInfoDTO> _callback) throws ApiException
Get Custom URL Info of a Tenant Domain (asynchronously) This operation is to get custom-url information of the provided tenant-domain- Parameters:
tenantDomain- The tenant domain name. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getTenantInfoByUsernameCall
public okhttp3.Call getTenantInfoByUsernameCall(String username, ApiCallback _callback) throws ApiException
Build call for getTenantInfoByUsername- Parameters:
username- The state represents the current state of the tenant. Supported states are [ active, inactive] (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getTenantInfoByUsername
public TenantInfoDTO getTenantInfoByUsername(String username) throws ApiException
Get Tenant Id of User This operation is to get tenant id of the provided user- Parameters:
username- The state represents the current state of the tenant. Supported states are [ active, inactive] (required)- Returns:
- TenantInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTenantInfoByUsernameWithHttpInfo
public ApiResponse<TenantInfoDTO> getTenantInfoByUsernameWithHttpInfo(String username) throws ApiException
Get Tenant Id of User This operation is to get tenant id of the provided user- Parameters:
username- The state represents the current state of the tenant. Supported states are [ active, inactive] (required)- Returns:
- ApiResponse<TenantInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTenantInfoByUsernameAsync
public okhttp3.Call getTenantInfoByUsernameAsync(String username, ApiCallback<TenantInfoDTO> _callback) throws ApiException
Get Tenant Id of User (asynchronously) This operation is to get tenant id of the provided user- Parameters:
username- The state represents the current state of the tenant. Supported states are [ active, inactive] (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-