Package com.launchdarkly.api.api
Class FollowFlagsApi
- java.lang.Object
-
- com.launchdarkly.api.api.FollowFlagsApi
-
public class FollowFlagsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FollowFlagsApi()FollowFlagsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteFlagFollower(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 environmentokhttp3.CalldeleteFlagFollowerAsync(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 environmentokhttp3.CalldeleteFlagFollowerCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)Build call for deleteFlagFollowerApiResponse<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 environmentApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()FlagFollowersGetRepgetFlagFollowers(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 environmentokhttp3.CallgetFlagFollowersAsync(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 environmentokhttp3.CallgetFlagFollowersCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback)Build call for getFlagFollowersApiResponse<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 environmentFlagFollowersByProjEnvGetRepgetFollowersByProjEnv(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 projectokhttp3.CallgetFollowersByProjEnvAsync(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 projectokhttp3.CallgetFollowersByProjEnvCall(java.lang.String projectKey, java.lang.String environmentKey, ApiCallback _callback)Build call for getFollowersByProjEnvApiResponse<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 projectintgetHostIndex()voidputFlagFollower(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 environmentokhttp3.CallputFlagFollowerAsync(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 environmentokhttp3.CallputFlagFollowerCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)Build call for putFlagFollowerApiResponse<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 environmentvoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
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 ApiExceptionBuild 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 ApiExceptionRemove 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 ApiExceptionRemove 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 ApiExceptionBuild 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 ApiExceptionGet 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 ApiExceptionBuild 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 ApiExceptionGet 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 ApiExceptionBuild 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 ApiExceptionAdd 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 ApiExceptionAdd 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
-
-