return (BoxItemCollection) getResponseAndParseAndTryCast(request, BoxResourceType.COLLECTION, getJSONParser());
}
@Override
public BoxCollection getAllCollections(final BoxPagingRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException {
GetAllCollectionsRequest request = new GetAllCollectionsRequest(getConfig(), getJSONParser(), requestObject);
return (BoxCollection) getResponseAndParseAndTryCast(request, BoxResourceType.COLLECTIONS, getJSONParser());
}