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 voiddeleteFlagFollowers(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.CalldeleteFlagFollowersAsync(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.CalldeleteFlagFollowersCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)Build call for deleteFlagFollowersApiResponse<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 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()voidputFlagFollowers(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.CallputFlagFollowersAsync(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.CallputFlagFollowersCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback)Build call for putFlagFollowersApiResponse<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 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)
-
deleteFlagFollowersCall
public okhttp3.Call deleteFlagFollowersCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback) throws ApiExceptionBuild 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 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
-
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 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(java.lang.String projectKey, java.lang.String featureFlagKey, 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(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 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(java.lang.String projectKey, 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(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 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
-
putFlagFollowersCall
public okhttp3.Call putFlagFollowersCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String memberId, ApiCallback _callback) throws ApiExceptionBuild 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 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
-
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 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
-
-