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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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/). > ### This feature is in beta > > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Overview/Beta-resources). 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/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