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()TagsCollectiongetTags(java.util.List<java.lang.String> kind, java.lang.String pre, java.lang.Boolean archived, java.lang.Integer limit, java.lang.Integer offset, java.lang.String asOf)List tags Get a list of tags.okhttp3.CallgetTagsAsync(java.util.List<java.lang.String> kind, java.lang.String pre, java.lang.Boolean archived, java.lang.Integer limit, java.lang.Integer offset, java.lang.String asOf, ApiCallback<TagsCollection> _callback)List tags (asynchronously) Get a list of tags.okhttp3.CallgetTagsCall(java.util.List<java.lang.String> kind, java.lang.String pre, java.lang.Boolean archived, java.lang.Integer limit, java.lang.Integer offset, java.lang.String asOf, ApiCallback _callback)Build call for getTagsApiResponse<TagsCollection>getTagsWithHttpInfo(java.util.List<java.lang.String> kind, java.lang.String pre, java.lang.Boolean archived, java.lang.Integer limit, java.lang.Integer offset, java.lang.String asOf)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(@Nullable java.util.List<java.lang.String> kind, @Nullable java.lang.String pre, @Nullable java.lang.Boolean archived, @Nullable java.lang.Integer limit, @Nullable java.lang.Integer offset, @Nullable java.lang.String asOf, ApiCallback _callback) throws ApiExceptionBuild call for getTags- Parameters:
kind- Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`, `metric`, `metric-data-source`, `aiconfig`, and `view`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)limit- The number of tags to return. Maximum is 1000. (optional)offset- The index of the first tag to return. Default is 0. (optional)asOf- The time to retrieve tags as of. Default is the current time. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getTags
public TagsCollection getTags(@Nullable java.util.List<java.lang.String> kind, @Nullable java.lang.String pre, @Nullable java.lang.Boolean archived, @Nullable java.lang.Integer limit, @Nullable java.lang.Integer offset, @Nullable java.lang.String asOf) 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`, `metric`, `metric-data-source`, `aiconfig`, and `view`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)limit- The number of tags to return. Maximum is 1000. (optional)offset- The index of the first tag to return. Default is 0. (optional)asOf- The time to retrieve tags as of. Default is the current time. (optional)- Returns:
- TagsCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTagsWithHttpInfo
public ApiResponse<TagsCollection> getTagsWithHttpInfo(@Nullable java.util.List<java.lang.String> kind, @Nullable java.lang.String pre, @Nullable java.lang.Boolean archived, @Nullable java.lang.Integer limit, @Nullable java.lang.Integer offset, @Nullable java.lang.String asOf) 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`, `metric`, `metric-data-source`, `aiconfig`, and `view`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)limit- The number of tags to return. Maximum is 1000. (optional)offset- The index of the first tag to return. Default is 0. (optional)asOf- The time to retrieve tags as of. Default is the current time. (optional)- Returns:
- ApiResponse<TagsCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTagsAsync
public okhttp3.Call getTagsAsync(@Nullable java.util.List<java.lang.String> kind, @Nullable java.lang.String pre, @Nullable java.lang.Boolean archived, @Nullable java.lang.Integer limit, @Nullable java.lang.Integer offset, @Nullable java.lang.String asOf, ApiCallback<TagsCollection> _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`, `metric`, `metric-data-source`, `aiconfig`, and `view`. Returns all types by default. (optional)pre- Return tags with the specified prefix (optional)archived- Whether or not to return archived flags (optional)limit- The number of tags to return. Maximum is 1000. (optional)offset- The index of the first tag to return. Default is 0. (optional)asOf- The time to retrieve tags as of. Default is the current time. (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
-
-