Class FollowFlagsApi


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteFlagFollowers​(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 deleteFlagFollowersAsync​(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 deleteFlagFollowersCall​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)
      Build call for deleteFlagFollowers
      ApiResponse<java.lang.Void> deleteFlagFollowersWithHttpInfo​(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 putFlagFollowers​(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 putFlagFollowersAsync​(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 putFlagFollowersCall​(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)
      Build call for putFlagFollowers
      ApiResponse<java.lang.Void> putFlagFollowersWithHttpInfo​(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)
      • deleteFlagFollowersCall

        public okhttp3.Call deleteFlagFollowersCall​(java.lang.String projectKey,
                                                    java.lang.String featureFlagKey,
                                                    java.lang.String environmentKey,
                                                    java.lang.String memberId,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for deleteFlagFollowers
        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
      • deleteFlagFollowers

        public void deleteFlagFollowers​(java.lang.String projectKey,
                                        java.lang.String featureFlagKey,
                                        java.lang.String environmentKey,
                                        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
      • deleteFlagFollowersWithHttpInfo

        public ApiResponse<java.lang.Void> deleteFlagFollowersWithHttpInfo​(java.lang.String projectKey,
                                                                           java.lang.String featureFlagKey,
                                                                           java.lang.String environmentKey,
                                                                           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
      • deleteFlagFollowersAsync

        public okhttp3.Call deleteFlagFollowersAsync​(java.lang.String projectKey,
                                                     java.lang.String featureFlagKey,
                                                     java.lang.String environmentKey,
                                                     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​(java.lang.String projectKey,
                                                 java.lang.String featureFlagKey,
                                                 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​(java.lang.String projectKey,
                                                    java.lang.String featureFlagKey,
                                                    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​(java.lang.String projectKey,
                                                                             java.lang.String featureFlagKey,
                                                                             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​(java.lang.String projectKey,
                                                  java.lang.String featureFlagKey,
                                                  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​(java.lang.String projectKey,
                                                      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​(java.lang.String projectKey,
                                                                  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​(java.lang.String projectKey,
                                                                                           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​(java.lang.String projectKey,
                                                       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
      • putFlagFollowersCall

        public okhttp3.Call putFlagFollowersCall​(java.lang.String projectKey,
                                                 java.lang.String featureFlagKey,
                                                 java.lang.String environmentKey,
                                                 java.lang.String memberId,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for putFlagFollowers
        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
      • putFlagFollowers

        public void putFlagFollowers​(java.lang.String projectKey,
                                     java.lang.String featureFlagKey,
                                     java.lang.String environmentKey,
                                     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
      • putFlagFollowersWithHttpInfo

        public ApiResponse<java.lang.Void> putFlagFollowersWithHttpInfo​(java.lang.String projectKey,
                                                                        java.lang.String featureFlagKey,
                                                                        java.lang.String environmentKey,
                                                                        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
      • putFlagFollowersAsync

        public okhttp3.Call putFlagFollowersAsync​(java.lang.String projectKey,
                                                  java.lang.String featureFlagKey,
                                                  java.lang.String environmentKey,
                                                  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