Class FeatureFlagsBetaApi


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

      • FeatureFlagsBetaApi

        public FeatureFlagsBetaApi()
      • FeatureFlagsBetaApi

        public FeatureFlagsBetaApi​(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)
      • getDependentFlagsCall

        public okhttp3.Call getDependentFlagsCall​(java.lang.String projectKey,
                                                  java.lang.String featureFlagKey,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for getDependentFlags
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDependentFlags

        public MultiEnvironmentDependentFlags getDependentFlags​(java.lang.String projectKey,
                                                                java.lang.String featureFlagKey)
                                                         throws ApiException
        List dependent feature flags > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        Returns:
        MultiEnvironmentDependentFlags
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDependentFlagsWithHttpInfo

        public ApiResponse<MultiEnvironmentDependentFlags> getDependentFlagsWithHttpInfo​(java.lang.String projectKey,
                                                                                         java.lang.String featureFlagKey)
                                                                                  throws ApiException
        List dependent feature flags > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        Returns:
        ApiResponse<MultiEnvironmentDependentFlags>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDependentFlagsAsync

        public okhttp3.Call getDependentFlagsAsync​(java.lang.String projectKey,
                                                   java.lang.String featureFlagKey,
                                                   ApiCallback<MultiEnvironmentDependentFlags> _callback)
                                            throws ApiException
        List dependent feature flags (asynchronously) > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag 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
      • getDependentFlagsByEnvCall

        public okhttp3.Call getDependentFlagsByEnvCall​(java.lang.String projectKey,
                                                       java.lang.String environmentKey,
                                                       java.lang.String featureFlagKey,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getDependentFlagsByEnv
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDependentFlagsByEnv

        public DependentFlagsByEnvironment getDependentFlagsByEnv​(java.lang.String projectKey,
                                                                  java.lang.String environmentKey,
                                                                  java.lang.String featureFlagKey)
                                                           throws ApiException
        List dependent feature flags by environment > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        Returns:
        DependentFlagsByEnvironment
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDependentFlagsByEnvWithHttpInfo

        public ApiResponse<DependentFlagsByEnvironment> getDependentFlagsByEnvWithHttpInfo​(java.lang.String projectKey,
                                                                                           java.lang.String environmentKey,
                                                                                           java.lang.String featureFlagKey)
                                                                                    throws ApiException
        List dependent feature flags by environment > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        Returns:
        ApiResponse<DependentFlagsByEnvironment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDependentFlagsByEnvAsync

        public okhttp3.Call getDependentFlagsByEnvAsync​(java.lang.String projectKey,
                                                        java.lang.String environmentKey,
                                                        java.lang.String featureFlagKey,
                                                        ApiCallback<DependentFlagsByEnvironment> _callback)
                                                 throws ApiException
        List dependent feature flags by environment (asynchronously) > ### Flag prerequisites is an Enterprise feature > > Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/). List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://docs.launchdarkly.com/home/targeting-flags/prerequisites).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag 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
      • postMigrationSafetyIssuesCall

        public okhttp3.Call postMigrationSafetyIssuesCall​(java.lang.String projectKey,
                                                          java.lang.String flagKey,
                                                          java.lang.String environmentKey,
                                                          FlagSempatch flagSempatch,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for postMigrationSafetyIssues
        Parameters:
        projectKey - The project key (required)
        flagKey - The migration flag key (required)
        environmentKey - The environment key (required)
        flagSempatch - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • postMigrationSafetyIssues

        public java.util.List<MigrationSafetyIssueRep> postMigrationSafetyIssues​(java.lang.String projectKey,
                                                                                 java.lang.String flagKey,
                                                                                 java.lang.String environmentKey,
                                                                                 FlagSempatch flagSempatch)
                                                                          throws ApiException
        Get migration safety issues Returns the migration safety issues that are associated with the POSTed flag patch. The patch must use the semantic patch format for updating feature flags.
        Parameters:
        projectKey - The project key (required)
        flagKey - The migration flag key (required)
        environmentKey - The environment key (required)
        flagSempatch - (required)
        Returns:
        List<MigrationSafetyIssueRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postMigrationSafetyIssuesWithHttpInfo

        public ApiResponse<java.util.List<MigrationSafetyIssueRep>> postMigrationSafetyIssuesWithHttpInfo​(java.lang.String projectKey,
                                                                                                          java.lang.String flagKey,
                                                                                                          java.lang.String environmentKey,
                                                                                                          FlagSempatch flagSempatch)
                                                                                                   throws ApiException
        Get migration safety issues Returns the migration safety issues that are associated with the POSTed flag patch. The patch must use the semantic patch format for updating feature flags.
        Parameters:
        projectKey - The project key (required)
        flagKey - The migration flag key (required)
        environmentKey - The environment key (required)
        flagSempatch - (required)
        Returns:
        ApiResponse<List<MigrationSafetyIssueRep>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postMigrationSafetyIssuesAsync

        public okhttp3.Call postMigrationSafetyIssuesAsync​(java.lang.String projectKey,
                                                           java.lang.String flagKey,
                                                           java.lang.String environmentKey,
                                                           FlagSempatch flagSempatch,
                                                           ApiCallback<java.util.List<MigrationSafetyIssueRep>> _callback)
                                                    throws ApiException
        Get migration safety issues (asynchronously) Returns the migration safety issues that are associated with the POSTed flag patch. The patch must use the semantic patch format for updating feature flags.
        Parameters:
        projectKey - The project key (required)
        flagKey - The migration flag key (required)
        environmentKey - The environment key (required)
        flagSempatch - (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