public static class TopicUpdateRequest.SetTopicPropertyRequest extends java.lang.Object implements TopicUpdateRequest
TopicUpdateRequest.RemoveTopicPropertyRequest, TopicUpdateRequest.SetTopicPropertyRequest, TopicUpdateRequest.UpdateTopicCommentRequest
Constructor and Description |
---|
SetTopicPropertyRequest()
Default constructor for Jackson deserialization.
|
SetTopicPropertyRequest(java.lang.String property,
java.lang.String value)
Constructor for SetTopicPropertyRequest.
|
Modifier and Type | Method and Description |
---|---|
TopicChange |
topicChange()
Returns the topic change.
|
void |
validate()
Validates the request.
|
public SetTopicPropertyRequest(java.lang.String property, java.lang.String value)
property
- the property to setvalue
- the value to setpublic SetTopicPropertyRequest()
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