public class TagsApi
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
TagModel |
createTag(java.util.UUID productId,
CreateTagModel createTagModel)
Create Tag
This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createTagAsync(java.util.UUID productId,
CreateTagModel createTagModel,
ApiCallback<TagModel> _callback)
Create Tag (asynchronously)
This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createTagCall(java.util.UUID productId,
CreateTagModel createTagModel,
ApiCallback _callback)
Build call for createTag
|
ApiResponse<TagModel> |
createTagWithHttpInfo(java.util.UUID productId,
CreateTagModel createTagModel)
Create Tag
This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
void |
deleteTag(java.lang.Long tagId)
Delete Tag
This endpoint deletes a Tag identified by the `tagId` parameter.
|
okhttp3.Call |
deleteTagAsync(java.lang.Long tagId,
ApiCallback<java.lang.Void> _callback)
Delete Tag (asynchronously)
This endpoint deletes a Tag identified by the `tagId` parameter.
|
okhttp3.Call |
deleteTagCall(java.lang.Long tagId,
ApiCallback _callback)
Build call for deleteTag
|
ApiResponse<java.lang.Void> |
deleteTagWithHttpInfo(java.lang.Long tagId)
Delete Tag
This endpoint deletes a Tag identified by the `tagId` parameter.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
java.util.List<SettingModel> |
getSettingsByTag(java.lang.Long tagId)
List Settings by Tag
This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
|
okhttp3.Call |
getSettingsByTagAsync(java.lang.Long tagId,
ApiCallback<java.util.List<SettingModel>> _callback)
List Settings by Tag (asynchronously)
This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
|
okhttp3.Call |
getSettingsByTagCall(java.lang.Long tagId,
ApiCallback _callback)
Build call for getSettingsByTag
|
ApiResponse<java.util.List<SettingModel>> |
getSettingsByTagWithHttpInfo(java.lang.Long tagId)
List Settings by Tag
This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
|
TagModel |
getTag(java.lang.Long tagId)
Get Tag
This endpoint returns the metadata of a Tag identified by the `tagId`.
|
okhttp3.Call |
getTagAsync(java.lang.Long tagId,
ApiCallback<TagModel> _callback)
Get Tag (asynchronously)
This endpoint returns the metadata of a Tag identified by the `tagId`.
|
okhttp3.Call |
getTagCall(java.lang.Long tagId,
ApiCallback _callback)
Build call for getTag
|
java.util.List<TagModel> |
getTags(java.util.UUID productId)
List Tags
This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
|
okhttp3.Call |
getTagsAsync(java.util.UUID productId,
ApiCallback<java.util.List<TagModel>> _callback)
List Tags (asynchronously)
This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
|
okhttp3.Call |
getTagsCall(java.util.UUID productId,
ApiCallback _callback)
Build call for getTags
|
ApiResponse<java.util.List<TagModel>> |
getTagsWithHttpInfo(java.util.UUID productId)
List Tags
This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
|
ApiResponse<TagModel> |
getTagWithHttpInfo(java.lang.Long tagId)
Get Tag
This endpoint returns the metadata of a Tag identified by the `tagId`.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
TagModel |
updateTag(java.lang.Long tagId,
UpdateTagModel updateTagModel)
Update Tag
This endpoint updates a Tag identified by the `tagId` parameter.
|
okhttp3.Call |
updateTagAsync(java.lang.Long tagId,
UpdateTagModel updateTagModel,
ApiCallback<TagModel> _callback)
Update Tag (asynchronously)
This endpoint updates a Tag identified by the `tagId` parameter.
|
okhttp3.Call |
updateTagCall(java.lang.Long tagId,
UpdateTagModel updateTagModel,
ApiCallback _callback)
Build call for updateTag
|
ApiResponse<TagModel> |
updateTagWithHttpInfo(java.lang.Long tagId,
UpdateTagModel updateTagModel)
Update Tag
This endpoint updates a Tag identified by the `tagId` parameter.
|
public TagsApi()
public TagsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createTagCall(java.util.UUID productId,
CreateTagModel createTagModel,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Organization. (required)createTagModel - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public TagModel createTag(java.util.UUID productId, CreateTagModel createTagModel) throws ApiException
productId - The identifier of the Organization. (required)createTagModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<TagModel> createTagWithHttpInfo(java.util.UUID productId, CreateTagModel createTagModel) throws ApiException
productId - The identifier of the Organization. (required)createTagModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call createTagAsync(java.util.UUID productId,
CreateTagModel createTagModel,
ApiCallback<TagModel> _callback)
throws ApiException
productId - The identifier of the Organization. (required)createTagModel - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteTagCall(java.lang.Long tagId,
ApiCallback _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public void deleteTag(java.lang.Long tagId)
throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.lang.Void> deleteTagWithHttpInfo(java.lang.Long tagId) throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteTagAsync(java.lang.Long tagId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingsByTagCall(java.lang.Long tagId,
ApiCallback _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the settings data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<SettingModel> getSettingsByTag(java.lang.Long tagId) throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the settings data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<SettingModel>> getSettingsByTagWithHttpInfo(java.lang.Long tagId) throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the settings data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingsByTagAsync(java.lang.Long tagId,
ApiCallback<java.util.List<SettingModel>> _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the settings data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getTagCall(java.lang.Long tagId,
ApiCallback _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the tag data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public TagModel getTag(java.lang.Long tagId) throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the tag data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<TagModel> getTagWithHttpInfo(java.lang.Long tagId) throws ApiException
tagId - The identifier of the Tag. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the tag data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getTagAsync(java.lang.Long tagId,
ApiCallback<TagModel> _callback)
throws ApiException
tagId - The identifier of the Tag. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the tag data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getTagsCall(java.util.UUID productId,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<TagModel> getTags(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<TagModel>> getTagsWithHttpInfo(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getTagsAsync(java.util.UUID productId,
ApiCallback<java.util.List<TagModel>> _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateTagCall(java.lang.Long tagId,
UpdateTagModel updateTagModel,
ApiCallback _callback)
throws ApiException
tagId - The identifier of the Tag. (required)updateTagModel - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public TagModel updateTag(java.lang.Long tagId, UpdateTagModel updateTagModel) throws ApiException
tagId - The identifier of the Tag. (required)updateTagModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<TagModel> updateTagWithHttpInfo(java.lang.Long tagId, UpdateTagModel updateTagModel) throws ApiException
tagId - The identifier of the Tag. (required)updateTagModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateTagAsync(java.lang.Long tagId,
UpdateTagModel updateTagModel,
ApiCallback<TagModel> _callback)
throws ApiException
tagId - The identifier of the Tag. (required)updateTagModel - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |