Documentation
¶
Index ¶
- func AcceptEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) error
- func CreateEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) (models.Eventable, error)
- func DeclineEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) error
- func DeleteEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) error
- func GetEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) (models.Eventable, error)
- func GetGroupNameFromID(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, id string) (string, error)
- func InviteUserToEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) error
- func ListCalendarView(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, id string, ...) ([]models.Eventable, error)
- func SearchEvents(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, query string, ...) (map[CalendarInfo][]models.Eventable, error)
- func TentativelyAcceptEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) error
- type CalendarInfo
- type CreateEventInfo
- type OwnerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptEvent ¶
func AcceptEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType) error
func CreateEvent ¶
func CreateEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, info CreateEventInfo) (models.Eventable, error)
func DeclineEvent ¶
func DeclineEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType) error
func DeleteEvent ¶
func DeleteEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType) error
func GetEvent ¶
func GetEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType) (models.Eventable, error)
func GetGroupNameFromID ¶
func GetGroupNameFromID(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, id string) (string, error)
func InviteUserToEvent ¶
func InviteUserToEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType, userEmail, message string) error
func ListCalendarView ¶
func SearchEvents ¶
func SearchEvents(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, query string, start, end time.Time) (map[CalendarInfo][]models.Eventable, error)
func TentativelyAcceptEvent ¶
func TentativelyAcceptEvent(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, eventID, calendarID string, owner OwnerType) error
Types ¶
type CalendarInfo ¶
type CalendarInfo struct { Calendar models.Calendarable ID string Owner OwnerType }
func GetCalendar ¶
func GetCalendar(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, owner OwnerType, id string) (CalendarInfo, error)
func ListCalendars ¶
func ListCalendars(ctx context.Context, client *msgraphsdkgo.GraphServiceClient) ([]CalendarInfo, error)
type CreateEventInfo ¶
Click to show internal directories.
Click to hide internal directories.