Package com.launchdarkly.api.api
Class FlagLinksBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.FlagLinksBetaApi
-
public class FlagLinksBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FlagLinksBetaApi()
FlagLinksBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlagLinkRep
createFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost)
Create flag link Create a new flag link.okhttp3.Call
createFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost, ApiCallback<FlagLinkRep> _callback)
Create flag link (asynchronously) Create a new flag link.okhttp3.Call
createFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost, ApiCallback _callback)
Build call for createFlagLinkApiResponse<FlagLinkRep>
createFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost)
Create flag link Create a new flag link.void
deleteFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id)
Delete flag link Delete a flag link by ID or key.okhttp3.Call
deleteFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, ApiCallback<java.lang.Void> _callback)
Delete flag link (asynchronously) Delete a flag link by ID or key.okhttp3.Call
deleteFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, ApiCallback _callback)
Build call for deleteFlagLinkApiResponse<java.lang.Void>
deleteFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id)
Delete flag link Delete a flag link by ID or key.ApiClient
getApiClient()
java.lang.String
getCustomBaseUrl()
FlagLinkCollectionRep
getFlagLinks(java.lang.String projectKey, java.lang.String featureFlagKey)
List flag links Get a list of all flag links.okhttp3.Call
getFlagLinksAsync(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback<FlagLinkCollectionRep> _callback)
List flag links (asynchronously) Get a list of all flag links.okhttp3.Call
getFlagLinksCall(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback _callback)
Build call for getFlagLinksApiResponse<FlagLinkCollectionRep>
getFlagLinksWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey)
List flag links Get a list of all flag links.int
getHostIndex()
void
setApiClient(ApiClient apiClient)
void
setCustomBaseUrl(java.lang.String customBaseUrl)
void
setHostIndex(int hostIndex)
FlagLinkRep
updateFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)
Update flag link Update a flag link.okhttp3.Call
updateFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback<FlagLinkRep> _callback)
Update flag link (asynchronously) Update a flag link.okhttp3.Call
updateFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)
Build call for updateFlagLinkApiResponse<FlagLinkRep>
updateFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)
Update flag link Update a flag link.
-
-
-
Constructor Detail
-
FlagLinksBetaApi
public FlagLinksBetaApi()
-
FlagLinksBetaApi
public FlagLinksBetaApi(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)
-
createFlagLinkCall
public okhttp3.Call createFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost, ApiCallback _callback) throws ApiException
Build call for createFlagLink- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)flagLinkPost
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
createFlagLink
public FlagLinkRep createFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost) throws ApiException
Create flag link Create a new flag link. Flag links let you reference external resources and associate them with your flags.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)flagLinkPost
- (required)- Returns:
- FlagLinkRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createFlagLinkWithHttpInfo
public ApiResponse<FlagLinkRep> createFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost) throws ApiException
Create flag link Create a new flag link. Flag links let you reference external resources and associate them with your flags.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)flagLinkPost
- (required)- Returns:
- ApiResponse<FlagLinkRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createFlagLinkAsync
public okhttp3.Call createFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, FlagLinkPost flagLinkPost, ApiCallback<FlagLinkRep> _callback) throws ApiException
Create flag link (asynchronously) Create a new flag link. Flag links let you reference external resources and associate them with your flags.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)flagLinkPost
- (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
-
deleteFlagLinkCall
public okhttp3.Call deleteFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, ApiCallback _callback) throws ApiException
Build call for deleteFlagLink- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID or Key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteFlagLink
public void deleteFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id) throws ApiException
Delete flag link Delete a flag link by ID or key.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID or Key (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteFlagLinkWithHttpInfo
public ApiResponse<java.lang.Void> deleteFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id) throws ApiException
Delete flag link Delete a flag link by ID or key.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID or Key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteFlagLinkAsync
public okhttp3.Call deleteFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiException
Delete flag link (asynchronously) Delete a flag link by ID or key.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID or 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
-
getFlagLinksCall
public okhttp3.Call getFlagLinksCall(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback _callback) throws ApiException
Build call for getFlagLinks- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getFlagLinks
public FlagLinkCollectionRep getFlagLinks(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
List flag links Get a list of all flag links.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)- Returns:
- FlagLinkCollectionRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagLinksWithHttpInfo
public ApiResponse<FlagLinkCollectionRep> getFlagLinksWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
List flag links Get a list of all flag links.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)- Returns:
- ApiResponse<FlagLinkCollectionRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getFlagLinksAsync
public okhttp3.Call getFlagLinksAsync(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback<FlagLinkCollectionRep> _callback) throws ApiException
List flag links (asynchronously) Get a list of all flag links.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature 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
-
updateFlagLinkCall
public okhttp3.Call updateFlagLinkCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiException
Build call for updateFlagLink- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID (required)patchOperation
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updateFlagLink
public FlagLinkRep updateFlagLink(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation) throws ApiException
Update flag link Update a flag link. The request body must be a valid JSON patch document. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID (required)patchOperation
- (required)- Returns:
- FlagLinkRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateFlagLinkWithHttpInfo
public ApiResponse<FlagLinkRep> updateFlagLinkWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation) throws ApiException
Update flag link Update a flag link. The request body must be a valid JSON patch document. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID (required)patchOperation
- (required)- Returns:
- ApiResponse<FlagLinkRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateFlagLinkAsync
public okhttp3.Call updateFlagLinkAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback<FlagLinkRep> _callback) throws ApiException
Update flag link (asynchronously) Update a flag link. The request body must be a valid JSON patch document. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag key (required)id
- The flag link ID (required)patchOperation
- (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
-
-