Class TagUpdateRequest.UpdateTagCommentRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagUpdateRequest.UpdateTagCommentRequest
- All Implemented Interfaces:
TagUpdateRequest,RESTMessage,RESTRequest
- Enclosing interface:
- TagUpdateRequest
public static class TagUpdateRequest.UpdateTagCommentRequest
extends Object
implements TagUpdateRequest
The tag update request for updating a tag comment.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.requests.TagUpdateRequest
TagUpdateRequest.RemoveTagPropertyRequest, TagUpdateRequest.RenameTagRequest, TagUpdateRequest.SetTagPropertyRequest, TagUpdateRequest.UpdateTagCommentRequest -
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerUpdateTagCommentRequest(String newComment) Creates a new UpdateTagCommentRequest. -
Method Summary
-
Constructor Details
-
UpdateTagCommentRequest
Creates a new UpdateTagCommentRequest.- Parameters:
newComment- The new comment of the tag.
-
UpdateTagCommentRequest
public UpdateTagCommentRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
tagChange
Description copied from interface:TagUpdateRequestReturns the tag change.- Specified by:
tagChangein interfaceTagUpdateRequest- Returns:
- the tag change.
-
validate
Validates the fields of the request. Always pass.- Specified by:
validatein interfaceRESTMessage- Throws:
IllegalArgumentException
-