Class TagUpdatesRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagUpdatesRequest
- All Implemented Interfaces:
RESTMessage,RESTRequest
Represents a request to update a tag.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerTagUpdatesRequest(List<TagUpdateRequest> updates) Creates a new TagUpdatesRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
TagUpdatesRequest
Creates a new TagUpdatesRequest.- Parameters:
updates- The updates to apply to the tag.
-
TagUpdatesRequest
public TagUpdatesRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Description copied from interface:RESTMessageEnsures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validatein interfaceRESTMessage- Throws:
IllegalArgumentException
-