code: private String getUsersBatch(List<User> users, URIBuilder url, OAuthClientRequest bearerRequest,
  			OneloginOAuthJSONResourceResponse oAuthResponse) {
  		if (oAuthResponse.getResponseCode() == 200) {
  			JSONObject[] dataArray = oAuthResponse.getDataArray();
  			if (dataArray != null && dataArray.length > 0) {
  				for (JSONObject data : dataArray) {
  					users.add(new User(data));
  				}
  			}
  
  			return collectAfterCursor(url, bearerRequest, oAuthResponse);
  		} else {
  			error = oAuthResponse.getError();
  			errorDescription = oAuthResponse.getErrorDescription();
  		}
  		return null;
  	}
docs: Get a batch of Users.
  
  @param users
  @param url
  @param bearerRequest
  @param oAuthResponse
  
  @return The Batch reference
  
  @see com.onelogin.sdk.model.User
  @see <a target="_blank" href="https://developers.onelogin.com/api-docs/1/users/get-users">Get Users documentation</a>