Class GroupListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.GroupListResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response for a list of groups.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for GroupListResponse.GroupListResponse
(GroupDTO[] groups) Constructor for GroupListResponse. -
Method Summary
-
Constructor Details
-
GroupListResponse
Constructor for GroupListResponse.- Parameters:
groups
- The array of group DTOs.
-
GroupListResponse
public GroupListResponse()Default constructor for GroupListResponse. (Used for Jackson deserialization.)
-
-
Method Details
-
validate
Validates the response data.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if the name or audit is not set.
-