public class TagResponse extends BaseResponse
| Constructor and Description |
|---|
TagResponse()
This is the constructor that is used by Jackson deserializer to create an instance of
TagResponse.
|
TagResponse(TagDTO tag)
Creates a new TagResponse.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the response code.
|
public TagResponse(TagDTO tag)
tag - The tag.public TagResponse()
public void validate()
throws java.lang.IllegalArgumentException
BaseResponsevalidate in interface RESTMessagevalidate in class BaseResponsejava.lang.IllegalArgumentException - if code value is negative.