Class SdkKeysApi
- java.lang.Object
-
- com.configcat.publicapi.java.client.api.SdkKeysApi
-
public class SdkKeysApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SdkKeysApi()SdkKeysApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()SdkKeysModelgetSdkKeys(java.util.UUID configId, java.util.UUID environmentId)Get SDK Key This endpoint returns the SDK Key for your Config in a specified Environment.okhttp3.CallgetSdkKeysAsync(java.util.UUID configId, java.util.UUID environmentId, ApiCallback<SdkKeysModel> _callback)Get SDK Key (asynchronously) This endpoint returns the SDK Key for your Config in a specified Environment.okhttp3.CallgetSdkKeysCall(java.util.UUID configId, java.util.UUID environmentId, ApiCallback _callback)Build call for getSdkKeysApiResponse<SdkKeysModel>getSdkKeysWithHttpInfo(java.util.UUID configId, java.util.UUID environmentId)Get SDK Key This endpoint returns the SDK Key for your Config in a specified Environment.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
SdkKeysApi
public SdkKeysApi()
-
SdkKeysApi
public SdkKeysApi(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)
-
getSdkKeysCall
public okhttp3.Call getSdkKeysCall(java.util.UUID configId, java.util.UUID environmentId, ApiCallback _callback) throws ApiExceptionBuild call for getSdkKeys- Parameters:
configId- The identifier of the Config. (required)environmentId- The identifier of the Environment. (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 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getSdkKeys
public SdkKeysModel getSdkKeys(java.util.UUID configId, java.util.UUID environmentId) throws ApiException
Get SDK Key This endpoint returns the SDK Key for your Config in a specified Environment.- Parameters:
configId- The identifier of the Config. (required)environmentId- The identifier of the Environment. (required)- Returns:
- SdkKeysModel
- 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 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getSdkKeysWithHttpInfo
public ApiResponse<SdkKeysModel> getSdkKeysWithHttpInfo(java.util.UUID configId, java.util.UUID environmentId) throws ApiException
Get SDK Key This endpoint returns the SDK Key for your Config in a specified Environment.- Parameters:
configId- The identifier of the Config. (required)environmentId- The identifier of the Environment. (required)- Returns:
- ApiResponse<SdkKeysModel>
- 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 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getSdkKeysAsync
public okhttp3.Call getSdkKeysAsync(java.util.UUID configId, java.util.UUID environmentId, ApiCallback<SdkKeysModel> _callback) throws ApiExceptionGet SDK Key (asynchronously) This endpoint returns the SDK Key for your Config in a specified Environment.- Parameters:
configId- The identifier of the Config. (required)environmentId- The identifier of the Environment. (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 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
-