Class ProxyProfilesApi


  • public class ProxyProfilesApi
    extends java.lang.Object
    • Constructor Detail

      • ProxyProfilesApi

        public ProxyProfilesApi()
      • ProxyProfilesApi

        public ProxyProfilesApi​(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)
      • createProxyProfileCall

        public okhttp3.Call createProxyProfileCall​(java.util.UUID organizationId,
                                                   CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for createProxyProfile
        Parameters:
        organizationId - The identifier of the Organization. (required)
        createOrUpdateProxyProfileRequest - (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
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createProxyProfile

        public ProxyProfileModel createProxyProfile​(java.util.UUID organizationId,
                                                    CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)
                                             throws ApiException
        Create Proxy Profile This endpoint creates a new Proxy Profile in the given Organization identified by the `organizationId` parameter, which can be obtained from the [List Organizations](#operation/get-organizations) endpoint.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        createOrUpdateProxyProfileRequest - (required)
        Returns:
        ProxyProfileModel
        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
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createProxyProfileWithHttpInfo

        public ApiResponse<ProxyProfileModel> createProxyProfileWithHttpInfo​(java.util.UUID organizationId,
                                                                             CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)
                                                                      throws ApiException
        Create Proxy Profile This endpoint creates a new Proxy Profile in the given Organization identified by the `organizationId` parameter, which can be obtained from the [List Organizations](#operation/get-organizations) endpoint.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        createOrUpdateProxyProfileRequest - (required)
        Returns:
        ApiResponse<ProxyProfileModel>
        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
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createProxyProfileAsync

        public okhttp3.Call createProxyProfileAsync​(java.util.UUID organizationId,
                                                    CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest,
                                                    ApiCallback<ProxyProfileModel> _callback)
                                             throws ApiException
        Create Proxy Profile (asynchronously) This endpoint creates a new Proxy Profile in the given Organization identified by the `organizationId` parameter, which can be obtained from the [List Organizations](#operation/get-organizations) endpoint.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        createOrUpdateProxyProfileRequest - (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
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteProxyProfileCall

        public okhttp3.Call deleteProxyProfileCall​(java.util.UUID proxyProfileId,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for deleteProxyProfile
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteProxyProfile

        public void deleteProxyProfile​(java.util.UUID proxyProfileId)
                                throws ApiException
        Delete Proxy Profile This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        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
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteProxyProfileWithHttpInfo

        public ApiResponse<java.lang.Void> deleteProxyProfileWithHttpInfo​(java.util.UUID proxyProfileId)
                                                                   throws ApiException
        Delete Proxy Profile This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ApiResponse<Void>
        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
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteProxyProfileAsync

        public okhttp3.Call deleteProxyProfileAsync​(java.util.UUID proxyProfileId,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        Delete Proxy Profile (asynchronously) This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deselectProxyProfileSdkKeysCall

        public okhttp3.Call deselectProxyProfileSdkKeysCall​(java.util.UUID proxyProfileId,
                                                            ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest,
                                                            ApiCallback _callback)
                                                     throws ApiException
        Build call for deselectProxyProfileSdkKeys
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (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 When the deselection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deselectProxyProfileSdkKeys

        public ProxyProfileSdkKeysListModel deselectProxyProfileSdkKeys​(java.util.UUID proxyProfileId,
                                                                        ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)
                                                                 throws ApiException
        Deselect SDK keys This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (required)
        Returns:
        ProxyProfileSdkKeysListModel
        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 When the deselection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deselectProxyProfileSdkKeysWithHttpInfo

        public ApiResponse<ProxyProfileSdkKeysListModel> deselectProxyProfileSdkKeysWithHttpInfo​(java.util.UUID proxyProfileId,
                                                                                                 ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)
                                                                                          throws ApiException
        Deselect SDK keys This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (required)
        Returns:
        ApiResponse<ProxyProfileSdkKeysListModel>
        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 When the deselection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deselectProxyProfileSdkKeysAsync

        public okhttp3.Call deselectProxyProfileSdkKeysAsync​(java.util.UUID proxyProfileId,
                                                             ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest,
                                                             ApiCallback<ProxyProfileSdkKeysListModel> _callback)
                                                      throws ApiException
        Deselect SDK keys (asynchronously) This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (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 When the deselection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • generateProxyProfileSecretCall

        public okhttp3.Call generateProxyProfileSecretCall​(java.util.UUID proxyProfileId,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for generateProxyProfileSecret
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When the generation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • generateProxyProfileSecret

        public ProxyProfileSecretModel generateProxyProfileSecret​(java.util.UUID proxyProfileId)
                                                           throws ApiException
        Generate Secret This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ProxyProfileSecretModel
        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 When the generation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • generateProxyProfileSecretWithHttpInfo

        public ApiResponse<ProxyProfileSecretModel> generateProxyProfileSecretWithHttpInfo​(java.util.UUID proxyProfileId)
                                                                                    throws ApiException
        Generate Secret This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ApiResponse<ProxyProfileSecretModel>
        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 When the generation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • generateProxyProfileSecretAsync

        public okhttp3.Call generateProxyProfileSecretAsync​(java.util.UUID proxyProfileId,
                                                            ApiCallback<ProxyProfileSecretModel> _callback)
                                                     throws ApiException
        Generate Secret (asynchronously) This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When the generation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileCall

        public okhttp3.Call getProxyProfileCall​(java.util.UUID proxyProfileId,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getProxyProfile
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When everything is ok, the Proxy Profile is returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfile

        public ProxyProfileModel getProxyProfile​(java.util.UUID proxyProfileId)
                                          throws ApiException
        Get Proxy Profile This endpoint returns a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ProxyProfileModel
        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 When everything is ok, the Proxy Profile is returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileWithHttpInfo

        public ApiResponse<ProxyProfileModel> getProxyProfileWithHttpInfo​(java.util.UUID proxyProfileId)
                                                                   throws ApiException
        Get Proxy Profile This endpoint returns a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ApiResponse<ProxyProfileModel>
        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 When everything is ok, the Proxy Profile is returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileAsync

        public okhttp3.Call getProxyProfileAsync​(java.util.UUID proxyProfileId,
                                                 ApiCallback<ProxyProfileModel> _callback)
                                          throws ApiException
        Get Proxy Profile (asynchronously) This endpoint returns a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When everything is ok, the Proxy Profile is returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileSdkKeysCall

        public okhttp3.Call getProxyProfileSdkKeysCall​(java.util.UUID proxyProfileId,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getProxyProfileSdkKeys
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When everything is ok, the SDK keys selected for the Proxy Profile are returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileSdkKeys

        public ProxyProfileSdkKeysListModel getProxyProfileSdkKeys​(java.util.UUID proxyProfileId)
                                                            throws ApiException
        Get selected SDK keys This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ProxyProfileSdkKeysListModel
        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 When everything is ok, the SDK keys selected for the Proxy Profile are returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileSdkKeysWithHttpInfo

        public ApiResponse<ProxyProfileSdkKeysListModel> getProxyProfileSdkKeysWithHttpInfo​(java.util.UUID proxyProfileId)
                                                                                     throws ApiException
        Get selected SDK keys This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        Returns:
        ApiResponse<ProxyProfileSdkKeysListModel>
        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 When everything is ok, the SDK keys selected for the Proxy Profile are returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfileSdkKeysAsync

        public okhttp3.Call getProxyProfileSdkKeysAsync​(java.util.UUID proxyProfileId,
                                                        ApiCallback<ProxyProfileSdkKeysListModel> _callback)
                                                 throws ApiException
        Get selected SDK keys (asynchronously) This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (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 When everything is ok, the SDK keys selected for the Proxy Profile are returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfilesCall

        public okhttp3.Call getProxyProfilesCall​(java.util.UUID organizationId,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for getProxyProfiles
        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 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getProxyProfiles

        public ProxyProfileListModel getProxyProfiles​(java.util.UUID organizationId)
                                               throws ApiException
        List Proxy Profiles This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        Returns:
        ProxyProfileListModel
        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. -
      • getProxyProfilesWithHttpInfo

        public ApiResponse<ProxyProfileListModel> getProxyProfilesWithHttpInfo​(java.util.UUID organizationId)
                                                                        throws ApiException
        List Proxy Profiles This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        Returns:
        ApiResponse<ProxyProfileListModel>
        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. -
      • getProxyProfilesAsync

        public okhttp3.Call getProxyProfilesAsync​(java.util.UUID organizationId,
                                                  ApiCallback<ProxyProfileListModel> _callback)
                                           throws ApiException
        List Proxy Profiles (asynchronously) This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.
        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 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • replaceProxyProfileCall

        public okhttp3.Call replaceProxyProfileCall​(java.util.UUID proxyProfileId,
                                                    CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for replaceProxyProfile
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        createOrUpdateProxyProfileRequest - (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 When the replace was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • replaceProxyProfile

        public ProxyProfileModel replaceProxyProfile​(java.util.UUID proxyProfileId,
                                                     CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)
                                              throws ApiException
        Replace Proxy Profile This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter. **Important:** As this endpoint is doing a complete replace, it's important to set every other attribute that you don't want to change in its original state. Not listing one means it will reset.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        createOrUpdateProxyProfileRequest - (required)
        Returns:
        ProxyProfileModel
        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 When the replace was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • replaceProxyProfileWithHttpInfo

        public ApiResponse<ProxyProfileModel> replaceProxyProfileWithHttpInfo​(java.util.UUID proxyProfileId,
                                                                              CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)
                                                                       throws ApiException
        Replace Proxy Profile This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter. **Important:** As this endpoint is doing a complete replace, it's important to set every other attribute that you don't want to change in its original state. Not listing one means it will reset.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        createOrUpdateProxyProfileRequest - (required)
        Returns:
        ApiResponse<ProxyProfileModel>
        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 When the replace was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • replaceProxyProfileAsync

        public okhttp3.Call replaceProxyProfileAsync​(java.util.UUID proxyProfileId,
                                                     CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest,
                                                     ApiCallback<ProxyProfileModel> _callback)
                                              throws ApiException
        Replace Proxy Profile (asynchronously) This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter. **Important:** As this endpoint is doing a complete replace, it's important to set every other attribute that you don't want to change in its original state. Not listing one means it will reset.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        createOrUpdateProxyProfileRequest - (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 When the replace was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • selectProxyProfileSdkKeysCall

        public okhttp3.Call selectProxyProfileSdkKeysCall​(java.util.UUID proxyProfileId,
                                                          ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for selectProxyProfileSdkKeys
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (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 When the selection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • selectProxyProfileSdkKeys

        public ProxyProfileSdkKeysListModel selectProxyProfileSdkKeys​(java.util.UUID proxyProfileId,
                                                                      ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)
                                                               throws ApiException
        Select SDK keys This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (required)
        Returns:
        ProxyProfileSdkKeysListModel
        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 When the selection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • selectProxyProfileSdkKeysWithHttpInfo

        public ApiResponse<ProxyProfileSdkKeysListModel> selectProxyProfileSdkKeysWithHttpInfo​(java.util.UUID proxyProfileId,
                                                                                               ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)
                                                                                        throws ApiException
        Select SDK keys This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (required)
        Returns:
        ApiResponse<ProxyProfileSdkKeysListModel>
        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 When the selection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • selectProxyProfileSdkKeysAsync

        public okhttp3.Call selectProxyProfileSdkKeysAsync​(java.util.UUID proxyProfileId,
                                                           ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest,
                                                           ApiCallback<ProxyProfileSdkKeysListModel> _callback)
                                                    throws ApiException
        Select SDK keys (asynchronously) This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        proxyProfileSdkKeysRequest - (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 When the selection was successful. -
        400 Bad request. -
        404 Not found. -
        403 Forbidden. When selection rules are applied to the Proxy Profile. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateProxyProfileCall

        public okhttp3.Call updateProxyProfileCall​(java.util.UUID proxyProfileId,
                                                   java.util.List<JsonPatchOperation> jsonPatchOperation,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for updateProxyProfile
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        jsonPatchOperation - (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 When the update was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateProxyProfile

        public ProxyProfileModel updateProxyProfile​(java.util.UUID proxyProfileId,
                                                    java.util.List<JsonPatchOperation> jsonPatchOperation)
                                             throws ApiException
        Update Proxy Profile This endpoint updates a Proxy Profile identified by the `proxyProfileId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations. The advantage of using JSON Patch is that you can describe individual update operations on a resource without touching attributes that you don't want to change. For example: We have the following resource. ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 60, \"webhookNotification\": null }, \"sdkKeySelectionRules\": [] } ``` If we send an update request body as below (it changes the `sdkPollInterval` field and adds a new Proxy Webhook URL): ```json [ { \"op\": \"replace\", \"path\": \"/connectionPreferences/sdkPollInterval\", \"value\": 120 }, { \"op\": \"add\", \"path\": \"/connectionPreferences/webhookNotification\", \"value\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\" } } ] ``` Only the `sdkPollInterval` and `webhookProxyUrl` are updated and all the other attributes remain unchanged. So we get a response like this: ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 120, \"webhookNotification\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\", \"signingKey1\": \"<generated-signing-key>\", \"signingKey2\": null } }, \"sdkKeySelectionRules\": [] } ```
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        jsonPatchOperation - (required)
        Returns:
        ProxyProfileModel
        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 When the update was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateProxyProfileWithHttpInfo

        public ApiResponse<ProxyProfileModel> updateProxyProfileWithHttpInfo​(java.util.UUID proxyProfileId,
                                                                             java.util.List<JsonPatchOperation> jsonPatchOperation)
                                                                      throws ApiException
        Update Proxy Profile This endpoint updates a Proxy Profile identified by the `proxyProfileId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations. The advantage of using JSON Patch is that you can describe individual update operations on a resource without touching attributes that you don't want to change. For example: We have the following resource. ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 60, \"webhookNotification\": null }, \"sdkKeySelectionRules\": [] } ``` If we send an update request body as below (it changes the `sdkPollInterval` field and adds a new Proxy Webhook URL): ```json [ { \"op\": \"replace\", \"path\": \"/connectionPreferences/sdkPollInterval\", \"value\": 120 }, { \"op\": \"add\", \"path\": \"/connectionPreferences/webhookNotification\", \"value\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\" } } ] ``` Only the `sdkPollInterval` and `webhookProxyUrl` are updated and all the other attributes remain unchanged. So we get a response like this: ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 120, \"webhookNotification\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\", \"signingKey1\": \"<generated-signing-key>\", \"signingKey2\": null } }, \"sdkKeySelectionRules\": [] } ```
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        jsonPatchOperation - (required)
        Returns:
        ApiResponse<ProxyProfileModel>
        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 When the update was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateProxyProfileAsync

        public okhttp3.Call updateProxyProfileAsync​(java.util.UUID proxyProfileId,
                                                    java.util.List<JsonPatchOperation> jsonPatchOperation,
                                                    ApiCallback<ProxyProfileModel> _callback)
                                             throws ApiException
        Update Proxy Profile (asynchronously) This endpoint updates a Proxy Profile identified by the `proxyProfileId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations. The advantage of using JSON Patch is that you can describe individual update operations on a resource without touching attributes that you don't want to change. For example: We have the following resource. ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 60, \"webhookNotification\": null }, \"sdkKeySelectionRules\": [] } ``` If we send an update request body as below (it changes the `sdkPollInterval` field and adds a new Proxy Webhook URL): ```json [ { \"op\": \"replace\", \"path\": \"/connectionPreferences/sdkPollInterval\", \"value\": 120 }, { \"op\": \"add\", \"path\": \"/connectionPreferences/webhookNotification\", \"value\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\" } } ] ``` Only the `sdkPollInterval` and `webhookProxyUrl` are updated and all the other attributes remain unchanged. So we get a response like this: ```json { \"proxyProfileId\": \"4ebe288d-6415-44a8-85c8-7b9f78316a86\", \"name\": \"production\", \"description\": \"profile for production environments\", \"lastAccessedAt\": \"2019-08-24T14:15:22Z\", \"connectionPreferences\": { \"sdkPollInterval\": 120, \"webhookNotification\": { \"webhookProxyUrl\": \"https://my-proxy-url.com\", \"signingKey1\": \"<generated-signing-key>\", \"signingKey2\": null } }, \"sdkKeySelectionRules\": [] } ```
        Parameters:
        proxyProfileId - The identifier of the Proxy Profile. (required)
        jsonPatchOperation - (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 When the update was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -