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 fields of 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 RESTMessagejava.lang.IllegalArgumentExceptionpublic TopicChange topicChange()
topicChange in interface TopicUpdateRequest