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 ApiClient
getApiClient()
java.lang.String
getCustomBaseUrl()
int
getHostIndex()
TagCollection
getTags(java.lang.String kind, java.lang.String pre)
List tags Get a list of tags.okhttp3.Call
getTagsAsync(java.lang.String kind, java.lang.String pre, ApiCallback<TagCollection> _callback)
List tags (asynchronously) Get a list of tags.okhttp3.Call
getTagsCall(java.lang.String kind, java.lang.String pre, ApiCallback _callback)
Build call for getTagsApiResponse<TagCollection>
getTagsWithHttpInfo(java.lang.String kind, java.lang.String pre)
List tags Get a list of tags.void
setApiClient(ApiClient apiClient)
void
setCustomBaseUrl(java.lang.String customBaseUrl)
void
setHostIndex(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, ApiCallback _callback) throws ApiException
Build 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)_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) 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)- 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) 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)- 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, ApiCallback<TagCollection> _callback) throws ApiException
List 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)_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
-
-