Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calendar ¶
type Calendar struct {
// contains filtered or unexported fields
}
Calendar repesents Google Calendar API client.
func (*Calendar) EventListWithOption ¶ added in v0.7.2
func (c *Calendar) EventListWithOption(calendarID string, opt EventListOption) (*EventList, error)
EventListWithOption gets calendarID's events with option.
type Event ¶
type Event struct { ID string Status string Summary string Description string Location string HTMLLink string HangoutLink string ICalUID string StartTime time.Time EndTime time.Time IsAllDayEvent bool Attendees []User Creator User Organizer User Transparent bool Visibility string Locked bool PrivateCopy bool Sequence int64 Kind string Source EventSource Reminders EventReminders Created time.Time Updated time.Time }
Event contains event information on Google Calendar.
func (Event) IsStatusConfirmed ¶ added in v0.7.1
type EventList ¶
type EventList struct {
List []Event
}
EventList contains multiple calendar events.
type EventListOption ¶
type EventListOption struct { MaxResults int64 OrderBy OrderBy PageToken string ShowDeleted bool ShowHiddenInvitations bool SingleEvents bool TimeMax time.Time TimeMin time.Time }
EventListOption contains option for event.list operation.
func (EventListOption) GetTimeMax ¶
func (o EventListOption) GetTimeMax() string
func (EventListOption) GetTimeMin ¶
func (o EventListOption) GetTimeMin() string
type EventListResponse ¶
type EventReminder ¶
type EventReminders ¶
type EventReminders struct { Overrides []EventReminder UseDefault bool }
type EventSource ¶
Click to show internal directories.
Click to hide internal directories.