Package com.launchdarkly.api.api
Class IntegrationsBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.IntegrationsBetaApi
-
public class IntegrationsBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntegrationsBetaApi()IntegrationsBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationConfigurationsRepcreateIntegrationConfiguration(java.lang.String integrationKey, IntegrationConfigurationPost integrationConfigurationPost)Create integration configuration Create a new integration configuration.okhttp3.CallcreateIntegrationConfigurationAsync(java.lang.String integrationKey, IntegrationConfigurationPost integrationConfigurationPost, ApiCallback<IntegrationConfigurationsRep> _callback)Create integration configuration (asynchronously) Create a new integration configuration.okhttp3.CallcreateIntegrationConfigurationCall(java.lang.String integrationKey, IntegrationConfigurationPost integrationConfigurationPost, ApiCallback _callback)Build call for createIntegrationConfigurationApiResponse<IntegrationConfigurationsRep>createIntegrationConfigurationWithHttpInfo(java.lang.String integrationKey, IntegrationConfigurationPost integrationConfigurationPost)Create integration configuration Create a new integration configuration.voiddeleteIntegrationConfiguration(java.lang.String integrationConfigurationId)Delete integration configuration Delete an integration configuration by ID.okhttp3.CalldeleteIntegrationConfigurationAsync(java.lang.String integrationConfigurationId, ApiCallback<java.lang.Void> _callback)Delete integration configuration (asynchronously) Delete an integration configuration by ID.okhttp3.CalldeleteIntegrationConfigurationCall(java.lang.String integrationConfigurationId, ApiCallback _callback)Build call for deleteIntegrationConfigurationApiResponse<java.lang.Void>deleteIntegrationConfigurationWithHttpInfo(java.lang.String integrationConfigurationId)Delete integration configuration Delete an integration configuration by ID.IntegrationConfigurationCollectionRepgetAllIntegrationConfigurations(java.lang.String integrationKey)Get all configurations for the integration Get all integration configurations with the specified integration key.okhttp3.CallgetAllIntegrationConfigurationsAsync(java.lang.String integrationKey, ApiCallback<IntegrationConfigurationCollectionRep> _callback)Get all configurations for the integration (asynchronously) Get all integration configurations with the specified integration key.okhttp3.CallgetAllIntegrationConfigurationsCall(java.lang.String integrationKey, ApiCallback _callback)Build call for getAllIntegrationConfigurationsApiResponse<IntegrationConfigurationCollectionRep>getAllIntegrationConfigurationsWithHttpInfo(java.lang.String integrationKey)Get all configurations for the integration Get all integration configurations with the specified integration key.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()IntegrationConfigurationsRepgetIntegrationConfiguration(java.lang.String integrationConfigurationId)Get an integration configuration Get integration configuration with the specified ID.okhttp3.CallgetIntegrationConfigurationAsync(java.lang.String integrationConfigurationId, ApiCallback<IntegrationConfigurationsRep> _callback)Get an integration configuration (asynchronously) Get integration configuration with the specified ID.okhttp3.CallgetIntegrationConfigurationCall(java.lang.String integrationConfigurationId, ApiCallback _callback)Build call for getIntegrationConfigurationApiResponse<IntegrationConfigurationsRep>getIntegrationConfigurationWithHttpInfo(java.lang.String integrationConfigurationId)Get an integration configuration Get integration configuration with the specified ID.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)IntegrationConfigurationsRepupdateIntegrationConfiguration(java.lang.String integrationConfigurationId, java.util.List<PatchOperation> patchOperation)Update integration configuration Update an integration configuration.okhttp3.CallupdateIntegrationConfigurationAsync(java.lang.String integrationConfigurationId, java.util.List<PatchOperation> patchOperation, ApiCallback<IntegrationConfigurationsRep> _callback)Update integration configuration (asynchronously) Update an integration configuration.okhttp3.CallupdateIntegrationConfigurationCall(java.lang.String integrationConfigurationId, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for updateIntegrationConfigurationApiResponse<IntegrationConfigurationsRep>updateIntegrationConfigurationWithHttpInfo(java.lang.String integrationConfigurationId, java.util.List<PatchOperation> patchOperation)Update integration configuration Update an integration configuration.
-
-
-
Constructor Detail
-
IntegrationsBetaApi
public IntegrationsBetaApi()
-
IntegrationsBetaApi
public IntegrationsBetaApi(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)
-
createIntegrationConfigurationCall
public okhttp3.Call createIntegrationConfigurationCall(@Nonnull java.lang.String integrationKey, @Nonnull IntegrationConfigurationPost integrationConfigurationPost, ApiCallback _callback) throws ApiExceptionBuild call for createIntegrationConfiguration- Parameters:
integrationKey- The integration key (required)integrationConfigurationPost- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createIntegrationConfiguration
public IntegrationConfigurationsRep createIntegrationConfiguration(@Nonnull java.lang.String integrationKey, @Nonnull IntegrationConfigurationPost integrationConfigurationPost) throws ApiException
Create integration configuration Create a new integration configuration. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationKey- The integration key (required)integrationConfigurationPost- (required)- Returns:
- IntegrationConfigurationsRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createIntegrationConfigurationWithHttpInfo
public ApiResponse<IntegrationConfigurationsRep> createIntegrationConfigurationWithHttpInfo(@Nonnull java.lang.String integrationKey, @Nonnull IntegrationConfigurationPost integrationConfigurationPost) throws ApiException
Create integration configuration Create a new integration configuration. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationKey- The integration key (required)integrationConfigurationPost- (required)- Returns:
- ApiResponse<IntegrationConfigurationsRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createIntegrationConfigurationAsync
public okhttp3.Call createIntegrationConfigurationAsync(@Nonnull java.lang.String integrationKey, @Nonnull IntegrationConfigurationPost integrationConfigurationPost, ApiCallback<IntegrationConfigurationsRep> _callback) throws ApiExceptionCreate integration configuration (asynchronously) Create a new integration configuration. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationKey- The integration key (required)integrationConfigurationPost- (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
-
deleteIntegrationConfigurationCall
public okhttp3.Call deleteIntegrationConfigurationCall(@Nonnull java.lang.String integrationConfigurationId, ApiCallback _callback) throws ApiExceptionBuild call for deleteIntegrationConfiguration- Parameters:
integrationConfigurationId- The ID of the integration configuration to be deleted (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteIntegrationConfiguration
public void deleteIntegrationConfiguration(@Nonnull java.lang.String integrationConfigurationId) throws ApiExceptionDelete integration configuration Delete an integration configuration by ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- The ID of the integration configuration to be deleted (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteIntegrationConfigurationWithHttpInfo
public ApiResponse<java.lang.Void> deleteIntegrationConfigurationWithHttpInfo(@Nonnull java.lang.String integrationConfigurationId) throws ApiException
Delete integration configuration Delete an integration configuration by ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- The ID of the integration configuration to be deleted (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteIntegrationConfigurationAsync
public okhttp3.Call deleteIntegrationConfigurationAsync(@Nonnull java.lang.String integrationConfigurationId, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete integration configuration (asynchronously) Delete an integration configuration by ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- The ID of the integration configuration to be deleted (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
-
getAllIntegrationConfigurationsCall
public okhttp3.Call getAllIntegrationConfigurationsCall(@Nonnull java.lang.String integrationKey, ApiCallback _callback) throws ApiExceptionBuild call for getAllIntegrationConfigurations- Parameters:
integrationKey- Integration key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAllIntegrationConfigurations
public IntegrationConfigurationCollectionRep getAllIntegrationConfigurations(@Nonnull java.lang.String integrationKey) throws ApiException
Get all configurations for the integration Get all integration configurations with the specified integration key. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).).- Parameters:
integrationKey- Integration key (required)- Returns:
- IntegrationConfigurationCollectionRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllIntegrationConfigurationsWithHttpInfo
public ApiResponse<IntegrationConfigurationCollectionRep> getAllIntegrationConfigurationsWithHttpInfo(@Nonnull java.lang.String integrationKey) throws ApiException
Get all configurations for the integration Get all integration configurations with the specified integration key. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).).- Parameters:
integrationKey- Integration key (required)- Returns:
- ApiResponse<IntegrationConfigurationCollectionRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllIntegrationConfigurationsAsync
public okhttp3.Call getAllIntegrationConfigurationsAsync(@Nonnull java.lang.String integrationKey, ApiCallback<IntegrationConfigurationCollectionRep> _callback) throws ApiExceptionGet all configurations for the integration (asynchronously) Get all integration configurations with the specified integration key. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).).- Parameters:
integrationKey- Integration key (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getIntegrationConfigurationCall
public okhttp3.Call getIntegrationConfigurationCall(@Nonnull java.lang.String integrationConfigurationId, ApiCallback _callback) throws ApiExceptionBuild call for getIntegrationConfiguration- Parameters:
integrationConfigurationId- Integration configuration ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getIntegrationConfiguration
public IntegrationConfigurationsRep getIntegrationConfiguration(@Nonnull java.lang.String integrationConfigurationId) throws ApiException
Get an integration configuration Get integration configuration with the specified ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- Integration configuration ID (required)- Returns:
- IntegrationConfigurationsRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getIntegrationConfigurationWithHttpInfo
public ApiResponse<IntegrationConfigurationsRep> getIntegrationConfigurationWithHttpInfo(@Nonnull java.lang.String integrationConfigurationId) throws ApiException
Get an integration configuration Get integration configuration with the specified ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- Integration configuration ID (required)- Returns:
- ApiResponse<IntegrationConfigurationsRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getIntegrationConfigurationAsync
public okhttp3.Call getIntegrationConfigurationAsync(@Nonnull java.lang.String integrationConfigurationId, ApiCallback<IntegrationConfigurationsRep> _callback) throws ApiExceptionGet an integration configuration (asynchronously) Get integration configuration with the specified ID. (Excludes [persistent store](https://launchdarkly.com/docs/api/persistent-store-integrations-beta) and [flag import configurations](https://launchdarkly.com/docs/api/flag-import-configurations-beta).)- Parameters:
integrationConfigurationId- Integration configuration ID (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
-
updateIntegrationConfigurationCall
public okhttp3.Call updateIntegrationConfigurationCall(@Nonnull java.lang.String integrationConfigurationId, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for updateIntegrationConfiguration- Parameters:
integrationConfigurationId- The ID of the integration configuration (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateIntegrationConfiguration
public IntegrationConfigurationsRep updateIntegrationConfiguration(@Nonnull java.lang.String integrationConfigurationId, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update integration configuration Update an integration configuration. Updating an integration configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
integrationConfigurationId- The ID of the integration configuration (required)patchOperation- (required)- Returns:
- IntegrationConfigurationsRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateIntegrationConfigurationWithHttpInfo
public ApiResponse<IntegrationConfigurationsRep> updateIntegrationConfigurationWithHttpInfo(@Nonnull java.lang.String integrationConfigurationId, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update integration configuration Update an integration configuration. Updating an integration configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
integrationConfigurationId- The ID of the integration configuration (required)patchOperation- (required)- Returns:
- ApiResponse<IntegrationConfigurationsRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateIntegrationConfigurationAsync
public okhttp3.Call updateIntegrationConfigurationAsync(@Nonnull java.lang.String integrationConfigurationId, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback<IntegrationConfigurationsRep> _callback) throws ApiExceptionUpdate integration configuration (asynchronously) Update an integration configuration. Updating an integration configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
integrationConfigurationId- The ID of the integration configuration (required)patchOperation- (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
-
-