ListImportEventQueryParams

public final class ListImportEventQueryParams implements IQueryParams

Class representation of the query parameters for listing import events.

Constructors

Link copied to clipboard
public ListImportEventQueryParams ListImportEventQueryParams(@Json(name = "calendar_id") String calendarId, @Json(name = "limit") Integer limit, @Json(name = "page_token") String pageToken, @Json(name = "start") Integer start, @Json(name = "end") Integer end, @Json(name = "select") String select)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final String calendarId

Filter for the specified calendar ID. (Not supported for iCloud) You can use primary to query the end user's primary calendar. This is a required parameter.

Link copied to clipboard
private final Integer end

Filter for events that end at or before the specified time, in Unix timestamp format. Defaults to one month from the time you make the request.

Link copied to clipboard
private final Integer limit

The maximum number of objects to return. This field defaults to 50. The maximum allowed value is 500.

Link copied to clipboard
private final String pageToken

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

Link copied to clipboard
private final String select

Specify fields that you want Nylas to return, as a comma-separated list. This allows you to receive only the portion of object data that you're interested in.

Link copied to clipboard
private final Integer start

Filter for events that start at or after the specified time, in Unix timestamp format. Defaults to the time that you make the request.

Functions

Link copied to clipboard

Convert the query parameters to a json-formatted map.

Link copied to clipboard
public final String getCalendarId()

Filter for the specified calendar ID. (Not supported for iCloud) You can use primary to query the end user's primary calendar. This is a required parameter.

Link copied to clipboard
public final Integer getEnd()

Filter for events that end at or before the specified time, in Unix timestamp format. Defaults to one month from the time you make the request.

Link copied to clipboard
public final Integer getLimit()

The maximum number of objects to return. This field defaults to 50. The maximum allowed value is 500.

Link copied to clipboard
public final String getPageToken()

An 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 String getSelect()

Specify fields that you want Nylas to return, as a comma-separated list. This allows you to receive only the portion of object data that you're interested in.

Link copied to clipboard
public final Integer getStart()

Filter for events that start at or after the specified time, in Unix timestamp format. Defaults to the time that you make the request.