public static class TopicUpdateRequest.UpdateTopicCommentRequest extends java.lang.Object implements TopicUpdateRequest
TopicUpdateRequest.RemoveTopicPropertyRequest, TopicUpdateRequest.SetTopicPropertyRequest, TopicUpdateRequest.UpdateTopicCommentRequest
Constructor and Description |
---|
UpdateTopicCommentRequest()
Default constructor for Jackson deserialization.
|
UpdateTopicCommentRequest(java.lang.String newComment)
Constructor for UpdateTopicCommentRequest.
|
Modifier and Type | Method and Description |
---|---|
TopicChange |
topicChange()
Returns the topic change.
|
void |
validate()
Validates the request.
|
public UpdateTopicCommentRequest(java.lang.String newComment)
newComment
- the new comment of the topicpublic UpdateTopicCommentRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.public TopicChange topicChange()
topicChange
in interface TopicUpdateRequest