Class TagCreateRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagCreateRequest
- All Implemented Interfaces:
RESTMessage,RESTRequest
Represents a request to create a tag.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerCreates a new TagCreateRequest. -
Method Summary
-
Constructor Details
-
TagCreateRequest
Creates a new TagCreateRequest.- Parameters:
name- The name of the tag.comment- The comment of the tag.properties- The properties of the tag.
-
TagCreateRequest
public TagCreateRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Validates the request.- Specified by:
validatein interfaceRESTMessage- Throws:
IllegalArgumentException- If the request is invalid, this exception is thrown.
-