Create Event Request
public CreateEventRequest CreateEventRequest(@Json(name = "when" ) CreateEventRequest.When whenObj, @Json(name = "title" ) String title, @Json(name = "description" ) String description, @Json(name = "location" ) String location, @Json(name = "participants" ) List<CreateEventRequest.Participant> participants, @Json(name = "busy" ) Boolean busy, @Json(name = "conferencing" ) CreateEventRequest.Conferencing conferencing, @Json(name = "reminder_minutes" ) String reminderMinutes, @Json(name = "reminder_method" ) ReminderMethod reminderMethod, @Json(name = "metadata" ) Map<String, String> metadata, @Json(name = "recurrence" ) List<String> recurrence, @Json(name = "calendar_id" ) String calendarId, @Json(name = "read_only" ) Boolean readOnly, @Json(name = "visibility" ) EventVisibility visibility, @Json(name = "capacity" ) Integer capacity, @Json(name = "hide_participant" ) Boolean hideParticipant)