Package com.launchdarkly.api.api
Class TagsApi
- java.lang.Object
-
- com.launchdarkly.api.api.TagsApi
-
public class TagsApi extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()TagCollectiongetTags(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived)List tags Get a list of tags.okhttp3.CallgetTagsAsync(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived, ApiCallback<TagCollection> _callback)List tags (asynchronously) Get a list of tags.okhttp3.CallgetTagsCall(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived, ApiCallback _callback)Build call for getTagsApiResponse<TagCollection>getTagsWithHttpInfo(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived)List tags Get a list of tags.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
TagsApi
public TagsApi()
-
TagsApi
public TagsApi(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)
-
getTagsCall
public okhttp3.Call getTagsCall(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived, ApiCallback _callback) throws ApiExceptionBuild call for getTags- Parameters:
kind- Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getTags
public TagCollection getTags(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived) throws ApiException
List tags Get a list of tags.- Parameters:
kind- Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)- Returns:
- TagCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTagsWithHttpInfo
public ApiResponse<TagCollection> getTagsWithHttpInfo(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived) throws ApiException
List tags Get a list of tags.- Parameters:
kind- Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)- Returns:
- ApiResponse<TagCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTagsAsync
public okhttp3.Call getTagsAsync(java.lang.String kind, java.lang.String pre, java.lang.Boolean archived, ApiCallback<TagCollection> _callback) throws ApiExceptionList tags (asynchronously) Get a list of tags.- Parameters:
kind- Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)_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
-
-