Builder

public final class Builder

Builder for ListEventQueryParams.

Constructors

Functions

Link copied to clipboard

Sets the attendees to filter for events with. This parameter accepts a comma-delimited list of email addresses. (Not supported for virtual calendars)

Link copied to clipboard
public final ListEventQueryParams build()

Builds a ListEventQueryParams instance.

Link copied to clipboard

Sets whether to return events with a busy status of true.

Link copied to clipboard
public final ListEventQueryParams.Builder description(String description)

Sets the description of the event.

Link copied to clipboard

Sets the end time of the event.

Link copied to clipboard

Sets the event type to filter for events with. You can pass this query parameter multiple times to select or exclude multiple event types. (Google only)

Link copied to clipboard
public final ListEventQueryParams.Builder expandRecurring(Boolean expandRecurring)

Sets whether to return all occurrences of recurring events within the requested time range. If false, only a single primary event will be returned for each recurring event. Cannot be used when filtering on metadata. Defaults to false.

Link copied to clipboard

Sets the ical_uid to filter for events with. You cannot apply other filters if you use this parameter. (Not supported for iCloud)

Link copied to clipboard

Sets the maximum number of objects to return. This field defaults to 50. The maximum allowed value is 200.

Link copied to clipboard

Sets the location of the event.

Link copied to clipboard
public final ListEventQueryParams.Builder masterEventId(String masterEventId)

Sets the master_event_id to filter for instances of recurring events with. masterEventId is not respected by metadata filtering. (Not supported for iCloud)

Link copied to clipboard

Sets the metadata key and value pair to search for metadata.

Link copied to clipboard

Sets the field to order results by. Currently only start is supported.

Link copied to clipboard

Sets the identifier that specifies which page of data to return. This value should be taken from the ListResponse.nextCursor response field.

Link copied to clipboard
public final ListEventQueryParams.Builder showCancelled(Boolean showCancelled)

Sets whether to return events that have a status of cancelled. If an event is recurring, then it returns no matter the value set. Different providers have different semantics for cancelled events.

Link copied to clipboard

Sets the start time of the event.

Link copied to clipboard

Sets the title of the event.

Link copied to clipboard
public final ListEventQueryParams.Builder updatedAfter(Long updatedAfter)

Sets the updated_after time to filter for events that have been updated after. updatedAfter is not respected by metadata filtering. (Google, Microsoft, and EWS only)

Link copied to clipboard
public final ListEventQueryParams.Builder updatedBefore(Long updatedBefore)

Sets the updated_before time to filter for events that have been updated after. updatedBefore is not respected by metadata filtering. (Google, Microsoft, and EWS only)