Class SdkKeysApi


  • public class SdkKeysApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Get 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. -