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)
      • getDependentFlagsCall

        public okhttp3.Call getDependentFlagsCall​(java.lang.String projKey,
                                                  java.lang.String flagKey,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for getDependentFlags
        Parameters:
        projKey - The project key (required)
        flagKey - The 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 projKey,
                                                                java.lang.String flagKey)
                                                         throws ApiException
        List dependent feature flags 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.
        Parameters:
        projKey - The project key (required)
        flagKey - The 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 projKey,
                                                                                         java.lang.String flagKey)
                                                                                  throws ApiException
        List dependent feature flags 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.
        Parameters:
        projKey - The project key (required)
        flagKey - The 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 projKey,
                                                   java.lang.String flagKey,
                                                   ApiCallback<MultiEnvironmentDependentFlags> _callback)
                                            throws ApiException
        List dependent feature flags (asynchronously) 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.
        Parameters:
        projKey - The project key (required)
        flagKey - The 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 projKey,
                                                       java.lang.String envKey,
                                                       java.lang.String flagKey,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getDependentFlagsByEnv
        Parameters:
        projKey - The project key (required)
        envKey - The environment key (required)
        flagKey - The 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 projKey,
                                                                  java.lang.String envKey,
                                                                  java.lang.String flagKey)
                                                           throws ApiException
        List dependent feature flags by environment 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.
        Parameters:
        projKey - The project key (required)
        envKey - The environment key (required)
        flagKey - The 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 projKey,
                                                                                           java.lang.String envKey,
                                                                                           java.lang.String flagKey)
                                                                                    throws ApiException
        List dependent feature flags by environment 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.
        Parameters:
        projKey - The project key (required)
        envKey - The environment key (required)
        flagKey - The 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 projKey,
                                                        java.lang.String envKey,
                                                        java.lang.String flagKey,
                                                        ApiCallback<DependentFlagsByEnvironment> _callback)
                                                 throws ApiException
        List dependent feature flags by environment (asynchronously) 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.
        Parameters:
        projKey - The project key (required)
        envKey - The environment key (required)
        flagKey - The 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