super(config, resourceHub, parser, auth, restClient);
}
@Override
public BoxCollection getAllGroups(BoxDefaultRequestObject requestObject) throws BoxRestException, AuthFatalFailureException, BoxServerException {
GetAllGroupsRequest request = new GetAllGroupsRequest(getConfig(), getJSONParser(), requestObject);
return (BoxCollection) getResponseAndParseAndTryCast(request, BoxResourceType.GROUPS, getJSONParser());
}