Class TenantsApi


  • public class TenantsApi
    extends Object
    • Constructor Detail

      • TenantsApi

        public TenantsApi()
      • TenantsApi

        public TenantsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • tenantsGetCall

        public okhttp3.Call tenantsGetCall​(String state,
                                           Integer limit,
                                           Integer offset,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for tenantsGet
        Parameters:
        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 progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • tenantsGet

        public TenantListDTO tenantsGet​(String state,
                                        Integer limit,
                                        Integer offset)
                                 throws ApiException
        Get Tenants by State This operation is to get tenants by state
        Parameters:
        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)
        Returns:
        TenantListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tenantsGetWithHttpInfo

        public ApiResponse<TenantListDTO> tenantsGetWithHttpInfo​(String state,
                                                                 Integer limit,
                                                                 Integer offset)
                                                          throws ApiException
        Get Tenants by State This operation is to get tenants by state
        Parameters:
        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)
        Returns:
        ApiResponse<TenantListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • tenantsGetAsync

        public okhttp3.Call tenantsGetAsync​(String state,
                                            Integer limit,
                                            Integer offset,
                                            ApiCallback<TenantListDTO> _callback)
                                     throws ApiException
        Get Tenants by State (asynchronously) This operation is to get tenants by state
        Parameters:
        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 finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object