Class SdkKeysBetaApi


  • public class SdkKeysBetaApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteSdkKeyByKey​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey)
      Delete SDK key Delete a specific SDK key by its key.
      okhttp3.Call deleteSdkKeyByKeyAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, ApiCallback<java.lang.Void> _callback)
      Delete SDK key (asynchronously) Delete a specific SDK key by its key.
      okhttp3.Call deleteSdkKeyByKeyCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, ApiCallback _callback)
      Build call for deleteSdkKeyByKey
      ApiResponse<java.lang.Void> deleteSdkKeyByKeyWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey)
      Delete SDK key Delete a specific SDK key by its key.
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      int getHostIndex()  
      SdkKey getSdkKeyByKey​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey)
      Get SDK key Get a specific SDK key by its key.
      okhttp3.Call getSdkKeyByKeyAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, ApiCallback<SdkKey> _callback)
      Get SDK key (asynchronously) Get a specific SDK key by its key.
      okhttp3.Call getSdkKeyByKeyCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, ApiCallback _callback)
      Build call for getSdkKeyByKey
      ApiResponse<SdkKey> getSdkKeyByKeyWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey)
      Get SDK key Get a specific SDK key by its key.
      SdkKey patchSdkKeyByKey​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, SdkKeyPatch sdkKeyPatch, java.lang.Integer version)
      Update SDK key Update a an existing SDK key by its identifying key.
      okhttp3.Call patchSdkKeyByKeyAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, SdkKeyPatch sdkKeyPatch, java.lang.Integer version, ApiCallback<SdkKey> _callback)
      Update SDK key (asynchronously) Update a an existing SDK key by its identifying key.
      okhttp3.Call patchSdkKeyByKeyCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, SdkKeyPatch sdkKeyPatch, java.lang.Integer version, ApiCallback _callback)
      Build call for patchSdkKeyByKey
      ApiResponse<SdkKey> patchSdkKeyByKeyWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkKeyKey, SdkKeyPatch sdkKeyPatch, java.lang.Integer version)
      Update SDK key Update a an existing SDK key by its identifying key.
      SdkKey postSdkKey​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, SdkKeyPost sdkKeyPost)
      Create SDK key Create a new server-side or mobile SDK key.
      okhttp3.Call postSdkKeyAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, SdkKeyPost sdkKeyPost, ApiCallback<SdkKey> _callback)
      Create SDK key (asynchronously) Create a new server-side or mobile SDK key.
      okhttp3.Call postSdkKeyCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, SdkKeyPost sdkKeyPost, ApiCallback _callback)
      Build call for postSdkKey
      ApiResponse<SdkKey> postSdkKeyWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String environmentKey, SdkKeyPost sdkKeyPost)
      Create SDK key Create a new server-side or mobile SDK key.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SdkKeysBetaApi

        public SdkKeysBetaApi()
      • SdkKeysBetaApi

        public SdkKeysBetaApi​(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)
      • deleteSdkKeyByKeyCall

        public okhttp3.Call deleteSdkKeyByKeyCall​(@Nonnull
                                                  java.lang.String ldAPIVersion,
                                                  @Nonnull
                                                  java.lang.String projectKey,
                                                  @Nonnull
                                                  java.lang.String environmentKey,
                                                  @Nonnull
                                                  java.lang.String sdkKeyKey,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for deleteSdkKeyByKey
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteSdkKeyByKey

        public void deleteSdkKeyByKey​(@Nonnull
                                      java.lang.String ldAPIVersion,
                                      @Nonnull
                                      java.lang.String projectKey,
                                      @Nonnull
                                      java.lang.String environmentKey,
                                      @Nonnull
                                      java.lang.String sdkKeyKey)
                               throws ApiException
        Delete SDK key Delete a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteSdkKeyByKeyWithHttpInfo

        public ApiResponse<java.lang.Void> deleteSdkKeyByKeyWithHttpInfo​(@Nonnull
                                                                         java.lang.String ldAPIVersion,
                                                                         @Nonnull
                                                                         java.lang.String projectKey,
                                                                         @Nonnull
                                                                         java.lang.String environmentKey,
                                                                         @Nonnull
                                                                         java.lang.String sdkKeyKey)
                                                                  throws ApiException
        Delete SDK key Delete a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteSdkKeyByKeyAsync

        public okhttp3.Call deleteSdkKeyByKeyAsync​(@Nonnull
                                                   java.lang.String ldAPIVersion,
                                                   @Nonnull
                                                   java.lang.String projectKey,
                                                   @Nonnull
                                                   java.lang.String environmentKey,
                                                   @Nonnull
                                                   java.lang.String sdkKeyKey,
                                                   ApiCallback<java.lang.Void> _callback)
                                            throws ApiException
        Delete SDK key (asynchronously) Delete a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (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
      • getSdkKeyByKeyCall

        public okhttp3.Call getSdkKeyByKeyCall​(@Nonnull
                                               java.lang.String ldAPIVersion,
                                               @Nonnull
                                               java.lang.String projectKey,
                                               @Nonnull
                                               java.lang.String environmentKey,
                                               @Nonnull
                                               java.lang.String sdkKeyKey,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getSdkKeyByKey
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getSdkKeyByKey

        public SdkKey getSdkKeyByKey​(@Nonnull
                                     java.lang.String ldAPIVersion,
                                     @Nonnull
                                     java.lang.String projectKey,
                                     @Nonnull
                                     java.lang.String environmentKey,
                                     @Nonnull
                                     java.lang.String sdkKeyKey)
                              throws ApiException
        Get SDK key Get a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        Returns:
        SdkKey
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSdkKeyByKeyWithHttpInfo

        public ApiResponse<SdkKey> getSdkKeyByKeyWithHttpInfo​(@Nonnull
                                                              java.lang.String ldAPIVersion,
                                                              @Nonnull
                                                              java.lang.String projectKey,
                                                              @Nonnull
                                                              java.lang.String environmentKey,
                                                              @Nonnull
                                                              java.lang.String sdkKeyKey)
                                                       throws ApiException
        Get SDK key Get a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        Returns:
        ApiResponse<SdkKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSdkKeyByKeyAsync

        public okhttp3.Call getSdkKeyByKeyAsync​(@Nonnull
                                                java.lang.String ldAPIVersion,
                                                @Nonnull
                                                java.lang.String projectKey,
                                                @Nonnull
                                                java.lang.String environmentKey,
                                                @Nonnull
                                                java.lang.String sdkKeyKey,
                                                ApiCallback<SdkKey> _callback)
                                         throws ApiException
        Get SDK key (asynchronously) Get a specific SDK key by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (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
      • patchSdkKeyByKeyCall

        public okhttp3.Call patchSdkKeyByKeyCall​(@Nonnull
                                                 java.lang.String ldAPIVersion,
                                                 @Nonnull
                                                 java.lang.String projectKey,
                                                 @Nonnull
                                                 java.lang.String environmentKey,
                                                 @Nonnull
                                                 java.lang.String sdkKeyKey,
                                                 @Nonnull
                                                 SdkKeyPatch sdkKeyPatch,
                                                 @Nullable
                                                 java.lang.Integer version,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for patchSdkKeyByKey
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        sdkKeyPatch - An array of patches for updating an existing SDK key. The following fields are supported: `name`, `description`, `expiry`. (required)
        version - The version of the SDK key for optimistic locking. If provided, the update will only succeed if the current version matches. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchSdkKeyByKey

        public SdkKey patchSdkKeyByKey​(@Nonnull
                                       java.lang.String ldAPIVersion,
                                       @Nonnull
                                       java.lang.String projectKey,
                                       @Nonnull
                                       java.lang.String environmentKey,
                                       @Nonnull
                                       java.lang.String sdkKeyKey,
                                       @Nonnull
                                       SdkKeyPatch sdkKeyPatch,
                                       @Nullable
                                       java.lang.Integer version)
                                throws ApiException
        Update SDK key Update a an existing SDK key by its identifying key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        sdkKeyPatch - An array of patches for updating an existing SDK key. The following fields are supported: `name`, `description`, `expiry`. (required)
        version - The version of the SDK key for optimistic locking. If provided, the update will only succeed if the current version matches. (optional)
        Returns:
        SdkKey
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchSdkKeyByKeyWithHttpInfo

        public ApiResponse<SdkKey> patchSdkKeyByKeyWithHttpInfo​(@Nonnull
                                                                java.lang.String ldAPIVersion,
                                                                @Nonnull
                                                                java.lang.String projectKey,
                                                                @Nonnull
                                                                java.lang.String environmentKey,
                                                                @Nonnull
                                                                java.lang.String sdkKeyKey,
                                                                @Nonnull
                                                                SdkKeyPatch sdkKeyPatch,
                                                                @Nullable
                                                                java.lang.Integer version)
                                                         throws ApiException
        Update SDK key Update a an existing SDK key by its identifying key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        sdkKeyPatch - An array of patches for updating an existing SDK key. The following fields are supported: `name`, `description`, `expiry`. (required)
        version - The version of the SDK key for optimistic locking. If provided, the update will only succeed if the current version matches. (optional)
        Returns:
        ApiResponse<SdkKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchSdkKeyByKeyAsync

        public okhttp3.Call patchSdkKeyByKeyAsync​(@Nonnull
                                                  java.lang.String ldAPIVersion,
                                                  @Nonnull
                                                  java.lang.String projectKey,
                                                  @Nonnull
                                                  java.lang.String environmentKey,
                                                  @Nonnull
                                                  java.lang.String sdkKeyKey,
                                                  @Nonnull
                                                  SdkKeyPatch sdkKeyPatch,
                                                  @Nullable
                                                  java.lang.Integer version,
                                                  ApiCallback<SdkKey> _callback)
                                           throws ApiException
        Update SDK key (asynchronously) Update a an existing SDK key by its identifying key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyKey - The user-defined identifying key of the SDK key. This is used solely to identify an SDK key and is distinct from the value field, which is the actual SDK key value. (required)
        sdkKeyPatch - An array of patches for updating an existing SDK key. The following fields are supported: `name`, `description`, `expiry`. (required)
        version - The version of the SDK key for optimistic locking. If provided, the update will only succeed if the current version matches. (optional)
        _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
      • postSdkKeyCall

        public okhttp3.Call postSdkKeyCall​(@Nonnull
                                           java.lang.String ldAPIVersion,
                                           @Nonnull
                                           java.lang.String projectKey,
                                           @Nonnull
                                           java.lang.String environmentKey,
                                           @Nonnull
                                           SdkKeyPost sdkKeyPost,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for postSdkKey
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyPost - Parameters for creating a new SDK key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • postSdkKey

        public SdkKey postSdkKey​(@Nonnull
                                 java.lang.String ldAPIVersion,
                                 @Nonnull
                                 java.lang.String projectKey,
                                 @Nonnull
                                 java.lang.String environmentKey,
                                 @Nonnull
                                 SdkKeyPost sdkKeyPost)
                          throws ApiException
        Create SDK key Create a new server-side or mobile SDK key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyPost - Parameters for creating a new SDK key (required)
        Returns:
        SdkKey
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postSdkKeyWithHttpInfo

        public ApiResponse<SdkKey> postSdkKeyWithHttpInfo​(@Nonnull
                                                          java.lang.String ldAPIVersion,
                                                          @Nonnull
                                                          java.lang.String projectKey,
                                                          @Nonnull
                                                          java.lang.String environmentKey,
                                                          @Nonnull
                                                          SdkKeyPost sdkKeyPost)
                                                   throws ApiException
        Create SDK key Create a new server-side or mobile SDK key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyPost - Parameters for creating a new SDK key (required)
        Returns:
        ApiResponse<SdkKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postSdkKeyAsync

        public okhttp3.Call postSdkKeyAsync​(@Nonnull
                                            java.lang.String ldAPIVersion,
                                            @Nonnull
                                            java.lang.String projectKey,
                                            @Nonnull
                                            java.lang.String environmentKey,
                                            @Nonnull
                                            SdkKeyPost sdkKeyPost,
                                            ApiCallback<SdkKey> _callback)
                                     throws ApiException
        Create SDK key (asynchronously) Create a new server-side or mobile SDK key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        environmentKey - (required)
        sdkKeyPost - Parameters for creating a new SDK key (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