public class CompaniesApi
extends java.lang.Object
| Constructor and Description |
|---|
CompaniesApi() |
CompaniesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
GetCompanyInfoResponse |
getCompanyInfo(java.lang.Integer companyId)
Get Company Info Gets the company detailed info.
|
okhttp3.Call |
getCompanyInfoAsync(java.lang.Integer companyId,
ApiCallback<GetCompanyInfoResponse> _callback)
Get Company Info (asynchronously) Gets the company detailed info.
|
okhttp3.Call |
getCompanyInfoCall(java.lang.Integer companyId,
ApiCallback _callback)
Build call for getCompanyInfo
|
ApiResponse<GetCompanyInfoResponse> |
getCompanyInfoWithHttpInfo(java.lang.Integer companyId)
Get Company Info Gets the company detailed info.
|
GetCompanyPlanUsageResponse |
getCompanyPlanUsage(java.lang.Integer companyId,
java.lang.String category)
Get Company Plan Usage Gets the company limits usage.
|
okhttp3.Call |
getCompanyPlanUsageAsync(java.lang.Integer companyId,
java.lang.String category,
ApiCallback<GetCompanyPlanUsageResponse> _callback)
Get Company Plan Usage (asynchronously) Gets the company limits usage.
|
okhttp3.Call |
getCompanyPlanUsageCall(java.lang.Integer companyId,
java.lang.String category,
ApiCallback _callback)
Build call for getCompanyPlanUsage
|
ApiResponse<GetCompanyPlanUsageResponse> |
getCompanyPlanUsageWithHttpInfo(java.lang.Integer companyId,
java.lang.String category)
Get Company Plan Usage Gets the company limits usage.
|
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public CompaniesApi()
public CompaniesApi(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 getCompanyInfoCall(java.lang.Integer companyId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Company info. | - |
| 401 | Unauthorized. | - |
public GetCompanyInfoResponse getCompanyInfo(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Company info. | - |
| 401 | Unauthorized. | - |
public ApiResponse<GetCompanyInfoResponse> getCompanyInfoWithHttpInfo(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Company info. | - |
| 401 | Unauthorized. | - |
public okhttp3.Call getCompanyInfoAsync(java.lang.Integer companyId,
ApiCallback<GetCompanyInfoResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)_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 | Company info. | - |
| 401 | Unauthorized. | - |
public okhttp3.Call getCompanyPlanUsageCall(java.lang.Integer companyId,
java.lang.String category,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)category - Category (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized. | - |
public GetCompanyPlanUsageResponse getCompanyPlanUsage(java.lang.Integer companyId, java.lang.String category) throws ApiException
companyId - The ID of the company. (required)category - Category (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized. | - |
public ApiResponse<GetCompanyPlanUsageResponse> getCompanyPlanUsageWithHttpInfo(java.lang.Integer companyId, java.lang.String category) throws ApiException
companyId - The ID of the company. (required)category - Category (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized. | - |
public okhttp3.Call getCompanyPlanUsageAsync(java.lang.Integer companyId,
java.lang.String category,
ApiCallback<GetCompanyPlanUsageResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)category - Category (required)_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 | Example response | - |
| 401 | Unauthorized. | - |