Package io.quarkiverse.mailpit.test.rest
Class TagsApi
- java.lang.Object
-
- io.quarkiverse.mailpit.test.rest.TagsApi
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TagsApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response)List<String>setTags()Get all current tags Returns a JSON array of all unique message tags.voidsetTags_0(SetTagsRequest ids)Set message tags To remove all tags from a message, pass an empty tags array.ApiResponse<Void>setTags_0WithHttpInfo(SetTagsRequest ids)Set message tags To remove all tags from a message, pass an empty tags array.ApiResponse<List<String>>setTagsWithHttpInfo()Get all current tags Returns a JSON array of all unique message tags.
-
-
-
Constructor Detail
-
TagsApi
public TagsApi()
-
TagsApi
public TagsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
- Throws:
IOException
-
setTags
public List<String> setTags() throws ApiException
Get all current tags Returns a JSON array of all unique message tags.- Returns:
- List<String>
- Throws:
ApiException- if fails to make API call
-
setTagsWithHttpInfo
public ApiResponse<List<String>> setTagsWithHttpInfo() throws ApiException
Get all current tags Returns a JSON array of all unique message tags.- Returns:
- ApiResponse<List<String>>
- Throws:
ApiException- if fails to make API call
-
setTags_0
public void setTags_0(SetTagsRequest ids) throws ApiException
Set message tags To remove all tags from a message, pass an empty tags array.- Parameters:
ids- Database IDs to update (required)- Throws:
ApiException- if fails to make API call
-
setTags_0WithHttpInfo
public ApiResponse<Void> setTags_0WithHttpInfo(SetTagsRequest ids) throws ApiException
Set message tags To remove all tags from a message, pass an empty tags array.- Parameters:
ids- Database IDs to update (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call
-
-