public class OrganizationsApi
extends java.lang.Object
| Constructor and Description |
|---|
OrganizationsApi() |
OrganizationsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
java.util.List<OrganizationModel> |
getOrganizations()
List Organizations This endpoint returns the list of the Organizations that belongs to the
user.
|
okhttp3.Call |
getOrganizationsAsync(ApiCallback<java.util.List<OrganizationModel>> _callback)
List Organizations (asynchronously) This endpoint returns the list of the Organizations that
belongs to the user.
|
okhttp3.Call |
getOrganizationsCall(ApiCallback _callback)
Build call for getOrganizations
|
ApiResponse<java.util.List<OrganizationModel>> |
getOrganizationsWithHttpInfo()
List Organizations This endpoint returns the list of the Organizations that belongs to the
user.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public OrganizationsApi()
public OrganizationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call getOrganizationsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<OrganizationModel> getOrganizations() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<OrganizationModel>> getOrganizationsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getOrganizationsAsync(ApiCallback<java.util.List<OrganizationModel>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |