Class TagResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.TagResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response for a tag.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializer to create an instance of TagResponse.TagResponse(TagDTO tag) Creates a new TagResponse. -
Method Summary
-
Constructor Details
-
TagResponse
Creates a new TagResponse.- Parameters:
tag- The tag.
-
TagResponse
public TagResponse()This is the constructor that is used by Jackson deserializer to create an instance of TagResponse.
-
-
Method Details
-
validate
Description copied from class:BaseResponseValidates the response code.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if code value is negative.
-