public OneLoginResponse<Event> getEventsBatch(int batchSize, String afterCursor)
			throws OAuthSystemException, OAuthProblemException, URISyntaxException {
		return getEventsBatch(new HashMap<String, String>(), batchSize, afterCursor);
	}
public OneLoginResponse < Event > getEventsBatch ( int batchSize , String afterCursor ) throws OAuthSystemException , OAuthProblemException , URISyntaxException { return getEventsBatch ( new HashMap < String , String > ( ) , batchSize , afterCursor ) ; }
Get a batch of Events.

@param batchSize Size of the Batch
@param afterCursor Reference to continue collecting items of next page

@return OneLoginResponse of Event (Batch)

@throws OAuthSystemException - if there is a IOException reading parameters of the httpURLConnection
@throws OAuthProblemException - if there are errors validating the OneloginOAuthJSONResourceResponse and throwOAuthProblemException is enabled
@throws URISyntaxException - if there is an error when generating the target URL at the URIBuilder constructor

@see com.onelogin.sdk.model.Event
@see <a target="_blank" href="https://developers.onelogin.com/api-docs/1/events/get-events">Get Events documentation</a>