Package com.launchdarkly.api.api
Class FlagImportConfigurationsBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.FlagImportConfigurationsBetaApi
-
public class FlagImportConfigurationsBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FlagImportConfigurationsBetaApi()FlagImportConfigurationsBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlagImportIntegrationcreateFlagImportConfiguration(java.lang.String projectKey, java.lang.String integrationKey, FlagImportConfigurationPost flagImportConfigurationPost)Create a flag import configuration Create a new flag import configuration.okhttp3.CallcreateFlagImportConfigurationAsync(java.lang.String projectKey, java.lang.String integrationKey, FlagImportConfigurationPost flagImportConfigurationPost, ApiCallback<FlagImportIntegration> _callback)Create a flag import configuration (asynchronously) Create a new flag import configuration.okhttp3.CallcreateFlagImportConfigurationCall(java.lang.String projectKey, java.lang.String integrationKey, FlagImportConfigurationPost flagImportConfigurationPost, ApiCallback _callback)Build call for createFlagImportConfigurationApiResponse<FlagImportIntegration>createFlagImportConfigurationWithHttpInfo(java.lang.String projectKey, java.lang.String integrationKey, FlagImportConfigurationPost flagImportConfigurationPost)Create a flag import configuration Create a new flag import configuration.voiddeleteFlagImportConfiguration(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Delete a flag import configuration Delete a flag import configuration by ID.okhttp3.CalldeleteFlagImportConfigurationAsync(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback<java.lang.Void> _callback)Delete a flag import configuration (asynchronously) Delete a flag import configuration by ID.okhttp3.CalldeleteFlagImportConfigurationCall(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback _callback)Build call for deleteFlagImportConfigurationApiResponse<java.lang.Void>deleteFlagImportConfigurationWithHttpInfo(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Delete a flag import configuration Delete a flag import configuration by ID.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()FlagImportIntegrationgetFlagImportConfiguration(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Get a single flag import configuration Get a single flag import configuration by ID.okhttp3.CallgetFlagImportConfigurationAsync(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback<FlagImportIntegration> _callback)Get a single flag import configuration (asynchronously) Get a single flag import configuration by ID.okhttp3.CallgetFlagImportConfigurationCall(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback _callback)Build call for getFlagImportConfigurationFlagImportIntegrationCollectiongetFlagImportConfigurations()List all flag import configurations List all flag import configurations.okhttp3.CallgetFlagImportConfigurationsAsync(ApiCallback<FlagImportIntegrationCollection> _callback)List all flag import configurations (asynchronously) List all flag import configurations.okhttp3.CallgetFlagImportConfigurationsCall(ApiCallback _callback)Build call for getFlagImportConfigurationsApiResponse<FlagImportIntegrationCollection>getFlagImportConfigurationsWithHttpInfo()List all flag import configurations List all flag import configurations.ApiResponse<FlagImportIntegration>getFlagImportConfigurationWithHttpInfo(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Get a single flag import configuration Get a single flag import configuration by ID.intgetHostIndex()FlagImportIntegrationpatchFlagImportConfiguration(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchOperation)Update a flag import configuration Updating a flag import configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.okhttp3.CallpatchFlagImportConfigurationAsync(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchOperation, ApiCallback<FlagImportIntegration> _callback)Update a flag import configuration (asynchronously) Updating a flag import configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.okhttp3.CallpatchFlagImportConfigurationCall(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchFlagImportConfigurationApiResponse<FlagImportIntegration>patchFlagImportConfigurationWithHttpInfo(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchOperation)Update a flag import configuration Updating a flag import configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)voidtriggerFlagImportJob(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Trigger a single flag import run Trigger a single flag import run for an existing flag import configuration.okhttp3.CalltriggerFlagImportJobAsync(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback<java.lang.Void> _callback)Trigger a single flag import run (asynchronously) Trigger a single flag import run for an existing flag import configuration.okhttp3.CalltriggerFlagImportJobCall(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId, ApiCallback _callback)Build call for triggerFlagImportJobApiResponse<java.lang.Void>triggerFlagImportJobWithHttpInfo(java.lang.String projectKey, java.lang.String integrationKey, java.lang.String integrationId)Trigger a single flag import run Trigger a single flag import run for an existing flag import configuration.
-
-
-
Constructor Detail
-
FlagImportConfigurationsBetaApi
public FlagImportConfigurationsBetaApi()
-
FlagImportConfigurationsBetaApi
public FlagImportConfigurationsBetaApi(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)
-
createFlagImportConfigurationCall
public okhttp3.Call createFlagImportConfigurationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull FlagImportConfigurationPost flagImportConfigurationPost, ApiCallback _callback) throws ApiExceptionBuild call for createFlagImportConfiguration- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)flagImportConfigurationPost- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createFlagImportConfiguration
public FlagImportIntegration createFlagImportConfiguration(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull FlagImportConfigurationPost flagImportConfigurationPost) throws ApiException
Create a flag import configuration Create a new flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`. The `config` object in the request body schema is described by the global integration settings, as specified by the <code>formVariables</code> in the <code>manifest.json</code> for this integration. It varies slightly based on the `integrationKey`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)flagImportConfigurationPost- (required)- Returns:
- FlagImportIntegration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createFlagImportConfigurationWithHttpInfo
public ApiResponse<FlagImportIntegration> createFlagImportConfigurationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull FlagImportConfigurationPost flagImportConfigurationPost) throws ApiException
Create a flag import configuration Create a new flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`. The `config` object in the request body schema is described by the global integration settings, as specified by the <code>formVariables</code> in the <code>manifest.json</code> for this integration. It varies slightly based on the `integrationKey`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)flagImportConfigurationPost- (required)- Returns:
- ApiResponse<FlagImportIntegration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createFlagImportConfigurationAsync
public okhttp3.Call createFlagImportConfigurationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull FlagImportConfigurationPost flagImportConfigurationPost, ApiCallback<FlagImportIntegration> _callback) throws ApiExceptionCreate a flag import configuration (asynchronously) Create a new flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`. The `config` object in the request body schema is described by the global integration settings, as specified by the <code>formVariables</code> in the <code>manifest.json</code> for this integration. It varies slightly based on the `integrationKey`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)flagImportConfigurationPost- (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
-
deleteFlagImportConfigurationCall
public okhttp3.Call deleteFlagImportConfigurationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback _callback) throws ApiExceptionBuild call for deleteFlagImportConfiguration- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteFlagImportConfiguration
public void deleteFlagImportConfiguration(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiExceptionDelete a flag import configuration Delete a flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteFlagImportConfigurationWithHttpInfo
public ApiResponse<java.lang.Void> deleteFlagImportConfigurationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiException
Delete a flag import configuration Delete a flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteFlagImportConfigurationAsync
public okhttp3.Call deleteFlagImportConfigurationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete a flag import configuration (asynchronously) Delete a flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration 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
-
getFlagImportConfigurationCall
public okhttp3.Call getFlagImportConfigurationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback _callback) throws ApiExceptionBuild call for getFlagImportConfiguration- Parameters:
projectKey- The project key (required)integrationKey- The integration key, for example, `split` (required)integrationId- The integration ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getFlagImportConfiguration
public FlagImportIntegration getFlagImportConfiguration(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiException
Get a single flag import configuration Get a single flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key, for example, `split` (required)integrationId- The integration ID (required)- Returns:
- FlagImportIntegration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagImportConfigurationWithHttpInfo
public ApiResponse<FlagImportIntegration> getFlagImportConfigurationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiException
Get a single flag import configuration Get a single flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key, for example, `split` (required)integrationId- The integration ID (required)- Returns:
- ApiResponse<FlagImportIntegration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagImportConfigurationAsync
public okhttp3.Call getFlagImportConfigurationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback<FlagImportIntegration> _callback) throws ApiExceptionGet a single flag import configuration (asynchronously) Get a single flag import configuration by ID. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key, for example, `split` (required)integrationId- The integration 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
-
getFlagImportConfigurationsCall
public okhttp3.Call getFlagImportConfigurationsCall(ApiCallback _callback) throws ApiException
Build call for getFlagImportConfigurations- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getFlagImportConfigurations
public FlagImportIntegrationCollection getFlagImportConfigurations() throws ApiException
List all flag import configurations List all flag import configurations.- Returns:
- FlagImportIntegrationCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagImportConfigurationsWithHttpInfo
public ApiResponse<FlagImportIntegrationCollection> getFlagImportConfigurationsWithHttpInfo() throws ApiException
List all flag import configurations List all flag import configurations.- Returns:
- ApiResponse<FlagImportIntegrationCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagImportConfigurationsAsync
public okhttp3.Call getFlagImportConfigurationsAsync(ApiCallback<FlagImportIntegrationCollection> _callback) throws ApiException
List all flag import configurations (asynchronously) List all flag import configurations.- Parameters:
_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
-
patchFlagImportConfigurationCall
public okhttp3.Call patchFlagImportConfigurationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for patchFlagImportConfiguration- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchFlagImportConfiguration
public FlagImportIntegration patchFlagImportConfiguration(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update a flag import configuration Updating a flag import 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).<br/><br/>To add an element to the import configuration fields that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.<br/><br/>You can update the `config`, `tags`, and `name` of the flag import configuration.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)patchOperation- (required)- Returns:
- FlagImportIntegration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchFlagImportConfigurationWithHttpInfo
public ApiResponse<FlagImportIntegration> patchFlagImportConfigurationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update a flag import configuration Updating a flag import 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).<br/><br/>To add an element to the import configuration fields that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.<br/><br/>You can update the `config`, `tags`, and `name` of the flag import configuration.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)patchOperation- (required)- Returns:
- ApiResponse<FlagImportIntegration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchFlagImportConfigurationAsync
public okhttp3.Call patchFlagImportConfigurationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback<FlagImportIntegration> _callback) throws ApiExceptionUpdate a flag import configuration (asynchronously) Updating a flag import 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).<br/><br/>To add an element to the import configuration fields that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.<br/><br/>You can update the `config`, `tags`, and `name` of the flag import configuration.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (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
-
triggerFlagImportJobCall
public okhttp3.Call triggerFlagImportJobCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback _callback) throws ApiExceptionBuild call for triggerFlagImportJob- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
triggerFlagImportJob
public void triggerFlagImportJob(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiExceptionTrigger a single flag import run Trigger a single flag import run for an existing flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
triggerFlagImportJobWithHttpInfo
public ApiResponse<java.lang.Void> triggerFlagImportJobWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId) throws ApiException
Trigger a single flag import run Trigger a single flag import run for an existing flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
triggerFlagImportJobAsync
public okhttp3.Call triggerFlagImportJobAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String integrationKey, @Nonnull java.lang.String integrationId, ApiCallback<java.lang.Void> _callback) throws ApiExceptionTrigger a single flag import run (asynchronously) Trigger a single flag import run for an existing flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`.- Parameters:
projectKey- The project key (required)integrationKey- The integration key (required)integrationId- The integration 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
-
-