Class FollowFlagsApi


  • public class FollowFlagsApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteFlagFollower​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId)
      Remove a member as a follower of a flag in a project and environment Remove a member as a follower to a flag in a project and environment
      okhttp3.Call deleteFlagFollowerAsync​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback<java.lang.Void> _callback)
      Remove a member as a follower of a flag in a project and environment (asynchronously) Remove a member as a follower to a flag in a project and environment
      okhttp3.Call deleteFlagFollowerCall​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)
      Build call for deleteFlagFollower
      ApiResponse<java.lang.Void> deleteFlagFollowerWithHttpInfo​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId)
      Remove a member as a follower of a flag in a project and environment Remove a member as a follower to a flag in a project and environment
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      FlagFollowersGetRep getFlagFollowers​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
      Get followers of a flag in a project and environment Get a list of members following a flag in a project and environment
      okhttp3.Call getFlagFollowersAsync​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FlagFollowersGetRep> _callback)
      Get followers of a flag in a project and environment (asynchronously) Get a list of members following a flag in a project and environment
      okhttp3.Call getFlagFollowersCall​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback)
      Build call for getFlagFollowers
      ApiResponse<FlagFollowersGetRep> getFlagFollowersWithHttpInfo​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
      Get followers of a flag in a project and environment Get a list of members following a flag in a project and environment
      FlagFollowersByProjEnvGetRep getFollowersByProjEnv​(java.lang.String projectKey, java.lang.String environmentKey)
      Get followers of all flags in a given project and environment Get followers of all flags in a given environment and project
      okhttp3.Call getFollowersByProjEnvAsync​(java.lang.String projectKey, java.lang.String environmentKey, ApiCallback<FlagFollowersByProjEnvGetRep> _callback)
      Get followers of all flags in a given project and environment (asynchronously) Get followers of all flags in a given environment and project
      okhttp3.Call getFollowersByProjEnvCall​(java.lang.String projectKey, java.lang.String environmentKey, ApiCallback _callback)
      Build call for getFollowersByProjEnv
      ApiResponse<FlagFollowersByProjEnvGetRep> getFollowersByProjEnvWithHttpInfo​(java.lang.String projectKey, java.lang.String environmentKey)
      Get followers of all flags in a given project and environment Get followers of all flags in a given environment and project
      int getHostIndex()  
      void putFlagFollower​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId)
      Add a member as a follower of a flag in a project and environment Add a member as a follower to a flag in a project and environment
      okhttp3.Call putFlagFollowerAsync​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback<java.lang.Void> _callback)
      Add a member as a follower of a flag in a project and environment (asynchronously) Add a member as a follower to a flag in a project and environment
      okhttp3.Call putFlagFollowerCall​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)
      Build call for putFlagFollower
      ApiResponse<java.lang.Void> putFlagFollowerWithHttpInfo​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId)
      Add a member as a follower of a flag in a project and environment Add a member as a follower to a flag in a project and environment
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FollowFlagsApi

        public FollowFlagsApi()
      • FollowFlagsApi

        public FollowFlagsApi​(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)
      • deleteFlagFollowerCall

        public okhttp3.Call deleteFlagFollowerCall​(@Nonnull
                                                   java.lang.String projectKey,
                                                   @Nonnull
                                                   java.lang.String featureFlagKey,
                                                   @Nonnull
                                                   java.lang.String environmentKey,
                                                   @Nonnull
                                                   java.lang.String memberId,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for deleteFlagFollower
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to remove as a follower of the flag. Reader roles can only remove themselves. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteFlagFollower

        public void deleteFlagFollower​(@Nonnull
                                       java.lang.String projectKey,
                                       @Nonnull
                                       java.lang.String featureFlagKey,
                                       @Nonnull
                                       java.lang.String environmentKey,
                                       @Nonnull
                                       java.lang.String memberId)
                                throws ApiException
        Remove a member as a follower of a flag in a project and environment Remove a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to remove as a follower of the flag. Reader roles can only remove themselves. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteFlagFollowerWithHttpInfo

        public ApiResponse<java.lang.Void> deleteFlagFollowerWithHttpInfo​(@Nonnull
                                                                          java.lang.String projectKey,
                                                                          @Nonnull
                                                                          java.lang.String featureFlagKey,
                                                                          @Nonnull
                                                                          java.lang.String environmentKey,
                                                                          @Nonnull
                                                                          java.lang.String memberId)
                                                                   throws ApiException
        Remove a member as a follower of a flag in a project and environment Remove a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to remove as a follower of the flag. Reader roles can only remove themselves. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteFlagFollowerAsync

        public okhttp3.Call deleteFlagFollowerAsync​(@Nonnull
                                                    java.lang.String projectKey,
                                                    @Nonnull
                                                    java.lang.String featureFlagKey,
                                                    @Nonnull
                                                    java.lang.String environmentKey,
                                                    @Nonnull
                                                    java.lang.String memberId,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        Remove a member as a follower of a flag in a project and environment (asynchronously) Remove a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to remove as a follower of the flag. Reader roles can only remove themselves. (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
      • getFlagFollowersCall

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

        public FlagFollowersGetRep getFlagFollowers​(@Nonnull
                                                    java.lang.String projectKey,
                                                    @Nonnull
                                                    java.lang.String featureFlagKey,
                                                    @Nonnull
                                                    java.lang.String environmentKey)
                                             throws ApiException
        Get followers of a flag in a project and environment Get a list of members following a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        Returns:
        FlagFollowersGetRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getFlagFollowersWithHttpInfo

        public ApiResponse<FlagFollowersGetRep> getFlagFollowersWithHttpInfo​(@Nonnull
                                                                             java.lang.String projectKey,
                                                                             @Nonnull
                                                                             java.lang.String featureFlagKey,
                                                                             @Nonnull
                                                                             java.lang.String environmentKey)
                                                                      throws ApiException
        Get followers of a flag in a project and environment Get a list of members following a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        Returns:
        ApiResponse<FlagFollowersGetRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getFlagFollowersAsync

        public okhttp3.Call getFlagFollowersAsync​(@Nonnull
                                                  java.lang.String projectKey,
                                                  @Nonnull
                                                  java.lang.String featureFlagKey,
                                                  @Nonnull
                                                  java.lang.String environmentKey,
                                                  ApiCallback<FlagFollowersGetRep> _callback)
                                           throws ApiException
        Get followers of a flag in a project and environment (asynchronously) Get a list of members following a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment 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
      • getFollowersByProjEnvCall

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

        public FlagFollowersByProjEnvGetRep getFollowersByProjEnv​(@Nonnull
                                                                  java.lang.String projectKey,
                                                                  @Nonnull
                                                                  java.lang.String environmentKey)
                                                           throws ApiException
        Get followers of all flags in a given project and environment Get followers of all flags in a given environment and project
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        Returns:
        FlagFollowersByProjEnvGetRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getFollowersByProjEnvWithHttpInfo

        public ApiResponse<FlagFollowersByProjEnvGetRep> getFollowersByProjEnvWithHttpInfo​(@Nonnull
                                                                                           java.lang.String projectKey,
                                                                                           @Nonnull
                                                                                           java.lang.String environmentKey)
                                                                                    throws ApiException
        Get followers of all flags in a given project and environment Get followers of all flags in a given environment and project
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        Returns:
        ApiResponse<FlagFollowersByProjEnvGetRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getFollowersByProjEnvAsync

        public okhttp3.Call getFollowersByProjEnvAsync​(@Nonnull
                                                       java.lang.String projectKey,
                                                       @Nonnull
                                                       java.lang.String environmentKey,
                                                       ApiCallback<FlagFollowersByProjEnvGetRep> _callback)
                                                throws ApiException
        Get followers of all flags in a given project and environment (asynchronously) Get followers of all flags in a given environment and project
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment 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
      • putFlagFollowerCall

        public okhttp3.Call putFlagFollowerCall​(@Nonnull
                                                java.lang.String projectKey,
                                                @Nonnull
                                                java.lang.String featureFlagKey,
                                                @Nonnull
                                                java.lang.String environmentKey,
                                                @Nonnull
                                                java.lang.String memberId,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for putFlagFollower
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to add as a follower of the flag. Reader roles can only add themselves. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • putFlagFollower

        public void putFlagFollower​(@Nonnull
                                    java.lang.String projectKey,
                                    @Nonnull
                                    java.lang.String featureFlagKey,
                                    @Nonnull
                                    java.lang.String environmentKey,
                                    @Nonnull
                                    java.lang.String memberId)
                             throws ApiException
        Add a member as a follower of a flag in a project and environment Add a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to add as a follower of the flag. Reader roles can only add themselves. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • putFlagFollowerWithHttpInfo

        public ApiResponse<java.lang.Void> putFlagFollowerWithHttpInfo​(@Nonnull
                                                                       java.lang.String projectKey,
                                                                       @Nonnull
                                                                       java.lang.String featureFlagKey,
                                                                       @Nonnull
                                                                       java.lang.String environmentKey,
                                                                       @Nonnull
                                                                       java.lang.String memberId)
                                                                throws ApiException
        Add a member as a follower of a flag in a project and environment Add a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to add as a follower of the flag. Reader roles can only add themselves. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • putFlagFollowerAsync

        public okhttp3.Call putFlagFollowerAsync​(@Nonnull
                                                 java.lang.String projectKey,
                                                 @Nonnull
                                                 java.lang.String featureFlagKey,
                                                 @Nonnull
                                                 java.lang.String environmentKey,
                                                 @Nonnull
                                                 java.lang.String memberId,
                                                 ApiCallback<java.lang.Void> _callback)
                                          throws ApiException
        Add a member as a follower of a flag in a project and environment (asynchronously) Add a member as a follower to a flag in a project and environment
        Parameters:
        projectKey - The project key (required)
        featureFlagKey - The feature flag key (required)
        environmentKey - The environment key (required)
        memberId - The memberId of the member to add as a follower of the flag. Reader roles can only add themselves. (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