Class TagsAssociateRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagsAssociateRequest
- All Implemented Interfaces:
RESTMessage,RESTRequest
Represents a request to associate tags.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerTagsAssociateRequest(String[] tagsToAdd, String[] tagsToRemove) Creates a new TagsAssociateRequest. -
Method Summary
-
Constructor Details
-
TagsAssociateRequest
Creates a new TagsAssociateRequest.- Parameters:
tagsToAdd- The tags to add.tagsToRemove- The tags to remove.
-
TagsAssociateRequest
public TagsAssociateRequest()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.
-