Class OrganizationsApi


  • public class OrganizationsApi
    extends java.lang.Object
    • Constructor Detail

      • OrganizationsApi

        public OrganizationsApi()
      • OrganizationsApi

        public OrganizationsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • getOrganizationsCall

        public okhttp3.Call getOrganizationsCall​(ApiCallback _callback)
                                          throws ApiException
        Build call for getOrganizations
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizations

        public java.util.List<OrganizationModel> getOrganizations()
                                                           throws ApiException
        List Organizations This endpoint returns the list of the Organizations that belongs to the user.
        Returns:
        List<OrganizationModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationsWithHttpInfo

        public ApiResponse<java.util.List<OrganizationModel>> getOrganizationsWithHttpInfo()
                                                                                    throws ApiException
        List Organizations This endpoint returns the list of the Organizations that belongs to the user.
        Returns:
        ApiResponse<List<OrganizationModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationsAsync

        public okhttp3.Call getOrganizationsAsync​(ApiCallback<java.util.List<OrganizationModel>> _callback)
                                           throws ApiException
        List Organizations (asynchronously) This endpoint returns the list of the Organizations that belongs to the user.
        Parameters:
        _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
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -