public static class TagUpdateRequest.UpdateTagCommentRequest extends java.lang.Object implements TagUpdateRequest
TagUpdateRequest.RemoveTagPropertyRequest, TagUpdateRequest.RenameTagRequest, TagUpdateRequest.SetTagPropertyRequest, TagUpdateRequest.UpdateTagCommentRequest| Constructor and Description |
|---|
UpdateTagCommentRequest()
This is the constructor that is used by Jackson deserializer
|
UpdateTagCommentRequest(java.lang.String newComment)
Creates a new UpdateTagCommentRequest.
|
| Modifier and Type | Method and Description |
|---|---|
TagChange |
tagChange()
Returns the tag change.
|
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
public UpdateTagCommentRequest(java.lang.String newComment)
newComment - The new comment of the tag.public UpdateTagCommentRequest()
public TagChange tagChange()
TagUpdateRequesttagChange in interface TagUpdateRequestpublic void validate()
throws java.lang.IllegalArgumentException
RESTMessageThis is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
validate in interface RESTMessagejava.lang.IllegalArgumentException