Class OrganizationsApi
- java.lang.Object
-
- com.configcat.publicapi.java.client.api.OrganizationsApi
-
public class OrganizationsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OrganizationsApi()OrganizationsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()OrganizationLimitationsgetOrganizationLimitations(java.util.UUID organizationId)Get Organization limitations This endpoint returns the limitations of an Organization identified by the `organizationId`.okhttp3.CallgetOrganizationLimitationsAsync(java.util.UUID organizationId, ApiCallback<OrganizationLimitations> _callback)Get Organization limitations (asynchronously) This endpoint returns the limitations of an Organization identified by the `organizationId`.okhttp3.CallgetOrganizationLimitationsCall(java.util.UUID organizationId, ApiCallback _callback)Build call for getOrganizationLimitationsApiResponse<OrganizationLimitations>getOrganizationLimitationsWithHttpInfo(java.util.UUID organizationId)Get Organization limitations This endpoint returns the limitations of an Organization identified by the `organizationId`.java.util.List<OrganizationModel>getOrganizations()List Organizations This endpoint returns the list of the Organizations that belongs to the user.okhttp3.CallgetOrganizationsAsync(ApiCallback<java.util.List<OrganizationModel>> _callback)List Organizations (asynchronously) This endpoint returns the list of the Organizations that belongs to the user.okhttp3.CallgetOrganizationsCall(ApiCallback _callback)Build call for getOrganizationsApiResponse<java.util.List<OrganizationModel>>getOrganizationsWithHttpInfo()List Organizations This endpoint returns the list of the Organizations that belongs to the user.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
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)
-
getOrganizationLimitationsCall
public okhttp3.Call getOrganizationLimitationsCall(java.util.UUID organizationId, ApiCallback _callback) throws ApiExceptionBuild call for getOrganizationLimitations- Parameters:
organizationId- The identifier of the Organization. (required)_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. -
-
getOrganizationLimitations
public OrganizationLimitations getOrganizationLimitations(java.util.UUID organizationId) throws ApiException
Get Organization limitations This endpoint returns the limitations of an Organization identified by the `organizationId`.- Parameters:
organizationId- The identifier of the Organization. (required)- Returns:
- OrganizationLimitations
- 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. -
-
getOrganizationLimitationsWithHttpInfo
public ApiResponse<OrganizationLimitations> getOrganizationLimitationsWithHttpInfo(java.util.UUID organizationId) throws ApiException
Get Organization limitations This endpoint returns the limitations of an Organization identified by the `organizationId`.- Parameters:
organizationId- The identifier of the Organization. (required)- Returns:
- ApiResponse<OrganizationLimitations>
- 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. -
-
getOrganizationLimitationsAsync
public okhttp3.Call getOrganizationLimitationsAsync(java.util.UUID organizationId, ApiCallback<OrganizationLimitations> _callback) throws ApiExceptionGet Organization limitations (asynchronously) This endpoint returns the limitations of an Organization identified by the `organizationId`.- Parameters:
organizationId- The identifier of the Organization. (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- Http Response Details
Status Code Description Response Headers 200 - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
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. -
-
-