}
@Override
public BoxCollection getMemberships(String groupId, BoxDefaultRequestObject requestObject) throws BoxRestException, AuthFatalFailureException,
BoxServerException {
GetGroupMembershipsRequest request = new GetGroupMembershipsRequest(getConfig(), getJSONParser(), groupId, requestObject);
return (BoxCollection) getResponseAndParseAndTryCast(request, BoxResourceType.GROUP_MEMBERSHIPS, getJSONParser());
}