Class TagListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.TagListResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response for a list of tags.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializer to create an instance of TagListResponse.TagListResponse(TagDTO[] tags) Creates a new TagListResponse. -
Method Summary
-
Constructor Details
-
TagListResponse
Creates a new TagListResponse.- Parameters:
tags- The list of tags.
-
TagListResponse
public TagListResponse()This is the constructor that is used by Jackson deserializer to create an instance of TagListResponse.
-
-
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.
-