@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T15:10:39.441-05:00") public class TagApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
Tag |
tagCreateTag(TagCreateRequest tagCreateRequest)
createTag
Creates a new tag.
|
Tag |
tagDeleteTag(String tagTypeCode,
String tagCode)
deleteTag
Deletes an existing tag.
|
Tag |
tagGetTag(String tagTypeCode,
String tagCode)
getTag
Gets an existing tag.
|
TagListResponse |
tagGetTags(String tagTypeCode,
String tagCode)
getTags
Retrieves all associated tags for the specified tag type code.
|
TagSearchResponse |
tagSearchTags(TagSearchRequest tagSearchRequest,
String fields)
searchTags
Retrieves all tags existing in the system per specified search filters and keys.
|
Tag |
tagUpdateTag(String tagTypeCode,
String tagCode,
TagUpdateRequest tagUpdateRequest)
updateTag
Updates an existing tag.
|
public TagApi()
public TagApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Tag tagCreateTag(TagCreateRequest tagCreateRequest) throws ApiException
tagCreateRequest - the information needed to create the tagApiExceptionpublic TagSearchResponse tagSearchTags(TagSearchRequest tagSearchRequest, String fields) throws ApiException
tagSearchRequest - the tag search request. The request can only accept a single search filter and a single search keyfields - the field options for the tag type search response. The valid field options are: displayName, description, parentTagKey, hasChildrenApiExceptionpublic TagListResponse tagGetTags(String tagTypeCode, String tagCode) throws ApiException
tagTypeCode - the tag type's code.tagCode - the parent tag code.ApiExceptionpublic Tag tagGetTag(String tagTypeCode, String tagCode) throws ApiException
tagTypeCode - the tag type codetagCode - the tag codeApiExceptionpublic Tag tagUpdateTag(String tagTypeCode, String tagCode, TagUpdateRequest tagUpdateRequest) throws ApiException
tagTypeCode - the tag type codetagCode - the tag codetagUpdateRequest - the information needed to update the tagApiExceptionpublic Tag tagDeleteTag(String tagTypeCode, String tagCode) throws ApiException
tagTypeCode - the tag type codetagCode - the tag codeApiExceptionCopyright © 2017. All rights reserved.