public OneLoginResponse < Group > getGroupsBatch ( HashMap < String , String > queryParameters , int batchSize , String afterCursor ) throws OAuthSystemException , OAuthProblemException , URISyntaxException { ExtractionContext context = extractResourceBatch ( queryParameters , batchSize , afterCursor , Constants . GET_GROUPS_URL ) ; List < Group > groups = new ArrayList < Group > ( batchSize ) ; afterCursor = getGroupsBatch ( groups , context . url , context . bearerRequest , context . oAuthResponse ) ; return new OneLoginResponse < Group > ( groups , afterCursor ) ; }
Get a batch of Groups