Class ProxyProfilesApi
- java.lang.Object
-
- com.configcat.publicapi.java.client.api.ProxyProfilesApi
-
public class ProxyProfilesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProxyProfilesApi()ProxyProfilesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyProfileModelcreateProxyProfile(java.util.UUID organizationId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)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.okhttp3.CallcreateProxyProfileAsync(java.util.UUID organizationId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest, ApiCallback<ProxyProfileModel> _callback)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.okhttp3.CallcreateProxyProfileCall(java.util.UUID organizationId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest, ApiCallback _callback)Build call for createProxyProfileApiResponse<ProxyProfileModel>createProxyProfileWithHttpInfo(java.util.UUID organizationId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)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.voiddeleteProxyProfile(java.util.UUID proxyProfileId)Delete Proxy Profile This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CalldeleteProxyProfileAsync(java.util.UUID proxyProfileId, ApiCallback<java.lang.Void> _callback)Delete Proxy Profile (asynchronously) This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CalldeleteProxyProfileCall(java.util.UUID proxyProfileId, ApiCallback _callback)Build call for deleteProxyProfileApiResponse<java.lang.Void>deleteProxyProfileWithHttpInfo(java.util.UUID proxyProfileId)Delete Proxy Profile This endpoint removes a Proxy Profile identified by the `proxyProfileId` parameter.ProxyProfileSdkKeysListModeldeselectProxyProfileSdkKeys(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)Deselect SDK keys This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.okhttp3.CalldeselectProxyProfileSdkKeysAsync(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest, ApiCallback<ProxyProfileSdkKeysListModel> _callback)Deselect SDK keys (asynchronously) This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.okhttp3.CalldeselectProxyProfileSdkKeysCall(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest, ApiCallback _callback)Build call for deselectProxyProfileSdkKeysApiResponse<ProxyProfileSdkKeysListModel>deselectProxyProfileSdkKeysWithHttpInfo(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)Deselect SDK keys This endpoint removes the given list of Config / Environment pairs' SDK Keys from a Proxy Profile identified by the `proxyProfileId`.ProxyProfileSecretModelgenerateProxyProfileSecret(java.util.UUID proxyProfileId)Generate Secret This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CallgenerateProxyProfileSecretAsync(java.util.UUID proxyProfileId, ApiCallback<ProxyProfileSecretModel> _callback)Generate Secret (asynchronously) This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CallgenerateProxyProfileSecretCall(java.util.UUID proxyProfileId, ApiCallback _callback)Build call for generateProxyProfileSecretApiResponse<ProxyProfileSecretModel>generateProxyProfileSecretWithHttpInfo(java.util.UUID proxyProfileId)Generate Secret This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()ProxyProfileModelgetProxyProfile(java.util.UUID proxyProfileId)Get Proxy Profile This endpoint returns a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallgetProxyProfileAsync(java.util.UUID proxyProfileId, ApiCallback<ProxyProfileModel> _callback)Get Proxy Profile (asynchronously) This endpoint returns a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallgetProxyProfileCall(java.util.UUID proxyProfileId, ApiCallback _callback)Build call for getProxyProfileProxyProfileListModelgetProxyProfiles(java.util.UUID organizationId)List Proxy Profiles This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.okhttp3.CallgetProxyProfilesAsync(java.util.UUID organizationId, ApiCallback<ProxyProfileListModel> _callback)List Proxy Profiles (asynchronously) This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.okhttp3.CallgetProxyProfilesCall(java.util.UUID organizationId, ApiCallback _callback)Build call for getProxyProfilesProxyProfileSdkKeysListModelgetProxyProfileSdkKeys(java.util.UUID proxyProfileId)Get selected SDK keys This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallgetProxyProfileSdkKeysAsync(java.util.UUID proxyProfileId, ApiCallback<ProxyProfileSdkKeysListModel> _callback)Get selected SDK keys (asynchronously) This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallgetProxyProfileSdkKeysCall(java.util.UUID proxyProfileId, ApiCallback _callback)Build call for getProxyProfileSdkKeysApiResponse<ProxyProfileSdkKeysListModel>getProxyProfileSdkKeysWithHttpInfo(java.util.UUID proxyProfileId)Get selected SDK keys This endpoint returns the list of SDK keys selected for a Proxy Profile identified by the `proxyProfileId`.ApiResponse<ProxyProfileListModel>getProxyProfilesWithHttpInfo(java.util.UUID organizationId)List Proxy Profiles This endpoint returns the list of Proxy profiles for the given Organization identified by the `organizationId` parameter.ApiResponse<ProxyProfileModel>getProxyProfileWithHttpInfo(java.util.UUID proxyProfileId)Get Proxy Profile This endpoint returns a Proxy Profile identified by the `proxyProfileId`.ProxyProfileModelreplaceProxyProfile(java.util.UUID proxyProfileId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)Replace Proxy Profile This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CallreplaceProxyProfileAsync(java.util.UUID proxyProfileId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest, ApiCallback<ProxyProfileModel> _callback)Replace Proxy Profile (asynchronously) This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter.okhttp3.CallreplaceProxyProfileCall(java.util.UUID proxyProfileId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest, ApiCallback _callback)Build call for replaceProxyProfileApiResponse<ProxyProfileModel>replaceProxyProfileWithHttpInfo(java.util.UUID proxyProfileId, CreateOrUpdateProxyProfileRequest createOrUpdateProxyProfileRequest)Replace Proxy Profile This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter.ProxyProfileSdkKeysListModelselectProxyProfileSdkKeys(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)Select SDK keys This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallselectProxyProfileSdkKeysAsync(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest, ApiCallback<ProxyProfileSdkKeysListModel> _callback)Select SDK keys (asynchronously) This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.okhttp3.CallselectProxyProfileSdkKeysCall(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest, ApiCallback _callback)Build call for selectProxyProfileSdkKeysApiResponse<ProxyProfileSdkKeysListModel>selectProxyProfileSdkKeysWithHttpInfo(java.util.UUID proxyProfileId, ProxyProfileSdkKeysRequest proxyProfileSdkKeysRequest)Select SDK keys This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile identified by the `proxyProfileId`.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)ProxyProfileModelupdateProxyProfile(java.util.UUID proxyProfileId, java.util.List<JsonPatchOperation> jsonPatchOperation)Update Proxy Profile This endpoint updates a Proxy Profile identified by the `proxyProfileId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.okhttp3.CallupdateProxyProfileAsync(java.util.UUID proxyProfileId, java.util.List<JsonPatchOperation> jsonPatchOperation, ApiCallback<ProxyProfileModel> _callback)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.okhttp3.CallupdateProxyProfileCall(java.util.UUID proxyProfileId, java.util.List<JsonPatchOperation> jsonPatchOperation, ApiCallback _callback)Build call for updateProxyProfileApiResponse<ProxyProfileModel>updateProxyProfileWithHttpInfo(java.util.UUID proxyProfileId, java.util.List<JsonPatchOperation> jsonPatchOperation)Update Proxy Profile This endpoint updates a Proxy Profile identified by the `proxyProfileId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.
-
-
-
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 ApiExceptionBuild 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 ApiExceptionCreate 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 ApiExceptionBuild 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 ApiExceptionDelete 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 ApiExceptionDelete 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 ApiExceptionBuild 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 ApiExceptionDeselect 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 ApiExceptionBuild 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 ApiExceptionGenerate 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 ApiExceptionBuild 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 ApiExceptionGet 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 ApiExceptionBuild 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 ApiExceptionGet 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 ApiExceptionBuild 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 ApiExceptionList 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 ApiExceptionBuild 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 ApiExceptionReplace 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 ApiExceptionBuild 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 ApiExceptionSelect 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 ApiExceptionBuild 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 ApiExceptionUpdate 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. -
-
-