Class IntegrationsBetaApi


  • public class IntegrationsBetaApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Create 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 ApiException
        Build 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 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)
        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 ApiException
        Delete 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 ApiException
        Build 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 ApiException
        Get 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 ApiException
        Build 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 ApiException
        Get 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 ApiException
        Build 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 ApiException
        Update 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