Class TenantsApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.TenantsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomUrlInfoByTenantDomain(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 getCustomUrlInfoByTenantDomaingetCustomUrlInfoByTenantDomainWithHttpInfo(String tenantDomain) Get Custom URL Info of a Tenant Domain This operation is to get custom-url information of the provided tenant-domaingetTenantInfoByUsername(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 getTenantInfoByUsernamegetTenantInfoByUsernameWithHttpInfo(String username) Get Tenant Id of User This operation is to get tenant id of the provided uservoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
TenantsApi
public TenantsApi() -
TenantsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
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
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
-