Class TopicUpdatesRequest
java.lang.Object
org.apache.gravitino.dto.requests.TopicUpdatesRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
Represents a request to update a topic.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerTopicUpdatesRequest
(List<TopicUpdateRequest> updates) Creates a new TopicUpdatesRequest. -
Method Summary
-
Constructor Details
-
TopicUpdatesRequest
Creates a new TopicUpdatesRequest.- Parameters:
updates
- The updates to apply to the topic.
-
TopicUpdatesRequest
public TopicUpdatesRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Validates the request.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
- If the request is invalid, this exception is thrown.
-