public class GroupListResponse extends BaseResponse
Constructor and Description |
---|
GroupListResponse()
Default constructor for GroupListResponse.
|
GroupListResponse(GroupDTO[] groups)
Constructor for GroupListResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response data.
|
public GroupListResponse(GroupDTO[] groups)
groups
- The array of group DTOs.public GroupListResponse()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if the name or audit is not set.