Documentation ¶
Index ¶
- type AcceptEventOperationOptions
- type AcceptEventOperationResponse
- type AcceptEventRequest
- type CancelEventOperationOptions
- type CancelEventOperationResponse
- type CancelEventRequest
- type CreateEventOperationOptions
- type CreateEventOperationResponse
- type DeclineEventOperationOptions
- type DeclineEventOperationResponse
- type DeclineEventRequest
- type DeleteEventOperationOptions
- type DeleteEventOperationResponse
- type DismissEventReminderOperationOptions
- type DismissEventReminderOperationResponse
- type EventClient
- func (c EventClient) AcceptEvent(ctx context.Context, id beta.GroupIdEventId, input AcceptEventRequest, ...) (result AcceptEventOperationResponse, err error)
- func (c EventClient) CancelEvent(ctx context.Context, id beta.GroupIdEventId, input CancelEventRequest, ...) (result CancelEventOperationResponse, err error)
- func (c EventClient) CreateEvent(ctx context.Context, id beta.GroupId, input beta.Event, ...) (result CreateEventOperationResponse, err error)
- func (c EventClient) DeclineEvent(ctx context.Context, id beta.GroupIdEventId, input DeclineEventRequest, ...) (result DeclineEventOperationResponse, err error)
- func (c EventClient) DeleteEvent(ctx context.Context, id beta.GroupIdEventId, ...) (result DeleteEventOperationResponse, err error)
- func (c EventClient) DismissEventReminder(ctx context.Context, id beta.GroupIdEventId, ...) (result DismissEventReminderOperationResponse, err error)
- func (c EventClient) ForwardEvent(ctx context.Context, id beta.GroupIdEventId, input ForwardEventRequest, ...) (result ForwardEventOperationResponse, err error)
- func (c EventClient) GetEvent(ctx context.Context, id beta.GroupIdEventId, options GetEventOperationOptions) (result GetEventOperationResponse, err error)
- func (c EventClient) GetEventsCount(ctx context.Context, id beta.GroupId, options GetEventsCountOperationOptions) (result GetEventsCountOperationResponse, err error)
- func (c EventClient) ListEvents(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions) (result ListEventsOperationResponse, err error)
- func (c EventClient) ListEventsComplete(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions) (ListEventsCompleteResult, error)
- func (c EventClient) ListEventsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions, ...) (result ListEventsCompleteResult, err error)
- func (c EventClient) SnoozeEventReminder(ctx context.Context, id beta.GroupIdEventId, input SnoozeEventReminderRequest, ...) (result SnoozeEventReminderOperationResponse, err error)
- func (c EventClient) TentativelyAcceptEvent(ctx context.Context, id beta.GroupIdEventId, ...) (result TentativelyAcceptEventOperationResponse, err error)
- func (c EventClient) UpdateEvent(ctx context.Context, id beta.GroupIdEventId, input beta.Event, ...) (result UpdateEventOperationResponse, err error)
- type EventOperationPredicate
- type ForwardEventOperationOptions
- type ForwardEventOperationResponse
- type ForwardEventRequest
- type GetEventOperationOptions
- type GetEventOperationResponse
- type GetEventsCountOperationOptions
- type GetEventsCountOperationResponse
- type ListEventsCompleteResult
- type ListEventsCustomPager
- type ListEventsOperationOptions
- type ListEventsOperationResponse
- type SnoozeEventReminderOperationOptions
- type SnoozeEventReminderOperationResponse
- type SnoozeEventReminderRequest
- type TentativelyAcceptEventOperationOptions
- type TentativelyAcceptEventOperationResponse
- type TentativelyAcceptEventRequest
- type UpdateEventOperationOptions
- type UpdateEventOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptEventOperationOptions ¶
type AcceptEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAcceptEventOperationOptions ¶
func DefaultAcceptEventOperationOptions() AcceptEventOperationOptions
func (AcceptEventOperationOptions) ToHeaders ¶
func (o AcceptEventOperationOptions) ToHeaders() *client.Headers
func (AcceptEventOperationOptions) ToOData ¶
func (o AcceptEventOperationOptions) ToOData() *odata.Query
func (AcceptEventOperationOptions) ToQuery ¶
func (o AcceptEventOperationOptions) ToQuery() *client.QueryParams
type AcceptEventRequest ¶
type CancelEventOperationOptions ¶
type CancelEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCancelEventOperationOptions ¶
func DefaultCancelEventOperationOptions() CancelEventOperationOptions
func (CancelEventOperationOptions) ToHeaders ¶
func (o CancelEventOperationOptions) ToHeaders() *client.Headers
func (CancelEventOperationOptions) ToOData ¶
func (o CancelEventOperationOptions) ToOData() *odata.Query
func (CancelEventOperationOptions) ToQuery ¶
func (o CancelEventOperationOptions) ToQuery() *client.QueryParams
type CancelEventRequest ¶
type CreateEventOperationOptions ¶
type CreateEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateEventOperationOptions ¶
func DefaultCreateEventOperationOptions() CreateEventOperationOptions
func (CreateEventOperationOptions) ToHeaders ¶
func (o CreateEventOperationOptions) ToHeaders() *client.Headers
func (CreateEventOperationOptions) ToOData ¶
func (o CreateEventOperationOptions) ToOData() *odata.Query
func (CreateEventOperationOptions) ToQuery ¶
func (o CreateEventOperationOptions) ToQuery() *client.QueryParams
type DeclineEventOperationOptions ¶
type DeclineEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeclineEventOperationOptions ¶
func DefaultDeclineEventOperationOptions() DeclineEventOperationOptions
func (DeclineEventOperationOptions) ToHeaders ¶
func (o DeclineEventOperationOptions) ToHeaders() *client.Headers
func (DeclineEventOperationOptions) ToOData ¶
func (o DeclineEventOperationOptions) ToOData() *odata.Query
func (DeclineEventOperationOptions) ToQuery ¶
func (o DeclineEventOperationOptions) ToQuery() *client.QueryParams
type DeclineEventRequest ¶
type DeleteEventOperationOptions ¶
type DeleteEventOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteEventOperationOptions ¶
func DefaultDeleteEventOperationOptions() DeleteEventOperationOptions
func (DeleteEventOperationOptions) ToHeaders ¶
func (o DeleteEventOperationOptions) ToHeaders() *client.Headers
func (DeleteEventOperationOptions) ToOData ¶
func (o DeleteEventOperationOptions) ToOData() *odata.Query
func (DeleteEventOperationOptions) ToQuery ¶
func (o DeleteEventOperationOptions) ToQuery() *client.QueryParams
type DismissEventReminderOperationOptions ¶
type DismissEventReminderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDismissEventReminderOperationOptions ¶
func DefaultDismissEventReminderOperationOptions() DismissEventReminderOperationOptions
func (DismissEventReminderOperationOptions) ToHeaders ¶
func (o DismissEventReminderOperationOptions) ToHeaders() *client.Headers
func (DismissEventReminderOperationOptions) ToOData ¶
func (o DismissEventReminderOperationOptions) ToOData() *odata.Query
func (DismissEventReminderOperationOptions) ToQuery ¶
func (o DismissEventReminderOperationOptions) ToQuery() *client.QueryParams
type EventClient ¶
func NewEventClientWithBaseURI ¶
func NewEventClientWithBaseURI(sdkApi sdkEnv.Api) (*EventClient, error)
func (EventClient) AcceptEvent ¶
func (c EventClient) AcceptEvent(ctx context.Context, id beta.GroupIdEventId, input AcceptEventRequest, options AcceptEventOperationOptions) (result AcceptEventOperationResponse, err error)
AcceptEvent - Invoke action accept. Accept the specified event in a user calendar.
func (EventClient) CancelEvent ¶
func (c EventClient) CancelEvent(ctx context.Context, id beta.GroupIdEventId, input CancelEventRequest, options CancelEventOperationOptions) (result CancelEventOperationResponse, err error)
CancelEvent - Invoke action cancel. This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the following error message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and lets the organizer send a custom message to the attendees about the cancellation.
func (EventClient) CreateEvent ¶
func (c EventClient) CreateEvent(ctx context.Context, id beta.GroupId, input beta.Event, options CreateEventOperationOptions) (result CreateEventOperationResponse, err error)
CreateEvent - Create event. Use this API to create a new event.
func (EventClient) DeclineEvent ¶
func (c EventClient) DeclineEvent(ctx context.Context, id beta.GroupIdEventId, input DeclineEventRequest, options DeclineEventOperationOptions) (result DeclineEventOperationResponse, err error)
DeclineEvent - Invoke action decline. Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
func (EventClient) DeleteEvent ¶
func (c EventClient) DeleteEvent(ctx context.Context, id beta.GroupIdEventId, options DeleteEventOperationOptions) (result DeleteEventOperationResponse, err error)
DeleteEvent - Delete event. Delete an event object.
func (EventClient) DismissEventReminder ¶
func (c EventClient) DismissEventReminder(ctx context.Context, id beta.GroupIdEventId, options DismissEventReminderOperationOptions) (result DismissEventReminderOperationResponse, err error)
DismissEventReminder - Invoke action dismissReminder. Dismiss a reminder that has been triggered for an event in a user calendar.
func (EventClient) ForwardEvent ¶
func (c EventClient) ForwardEvent(ctx context.Context, id beta.GroupIdEventId, input ForwardEventRequest, options ForwardEventOperationOptions) (result ForwardEventOperationResponse, err error)
ForwardEvent - Invoke action forward. This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account.
func (EventClient) GetEvent ¶
func (c EventClient) GetEvent(ctx context.Context, id beta.GroupIdEventId, options GetEventOperationOptions) (result GetEventOperationResponse, err error)
GetEvent - Get event. Get an event object.
func (EventClient) GetEventsCount ¶
func (c EventClient) GetEventsCount(ctx context.Context, id beta.GroupId, options GetEventsCountOperationOptions) (result GetEventsCountOperationResponse, err error)
GetEventsCount - Get the number of the resource
func (EventClient) ListEvents ¶
func (c EventClient) ListEvents(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions) (result ListEventsOperationResponse, err error)
ListEvents - List events. Retrieve a list of event objects.
func (EventClient) ListEventsComplete ¶
func (c EventClient) ListEventsComplete(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions) (ListEventsCompleteResult, error)
ListEventsComplete retrieves all the results into a single object
func (EventClient) ListEventsCompleteMatchingPredicate ¶
func (c EventClient) ListEventsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListEventsOperationOptions, predicate EventOperationPredicate) (result ListEventsCompleteResult, err error)
ListEventsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EventClient) SnoozeEventReminder ¶
func (c EventClient) SnoozeEventReminder(ctx context.Context, id beta.GroupIdEventId, input SnoozeEventReminderRequest, options SnoozeEventReminderOperationOptions) (result SnoozeEventReminderOperationResponse, err error)
SnoozeEventReminder - Invoke action snoozeReminder. Postpone a reminder for an event in a user calendar until a new time.
func (EventClient) TentativelyAcceptEvent ¶
func (c EventClient) TentativelyAcceptEvent(ctx context.Context, id beta.GroupIdEventId, input TentativelyAcceptEventRequest, options TentativelyAcceptEventOperationOptions) (result TentativelyAcceptEventOperationResponse, err error)
TentativelyAcceptEvent - Invoke action tentativelyAccept. Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
func (EventClient) UpdateEvent ¶
func (c EventClient) UpdateEvent(ctx context.Context, id beta.GroupIdEventId, input beta.Event, options UpdateEventOperationOptions) (result UpdateEventOperationResponse, err error)
UpdateEvent - Update event. Update an event object.
type EventOperationPredicate ¶
type EventOperationPredicate struct { }
type ForwardEventOperationOptions ¶
type ForwardEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultForwardEventOperationOptions ¶
func DefaultForwardEventOperationOptions() ForwardEventOperationOptions
func (ForwardEventOperationOptions) ToHeaders ¶
func (o ForwardEventOperationOptions) ToHeaders() *client.Headers
func (ForwardEventOperationOptions) ToOData ¶
func (o ForwardEventOperationOptions) ToOData() *odata.Query
func (ForwardEventOperationOptions) ToQuery ¶
func (o ForwardEventOperationOptions) ToQuery() *client.QueryParams
type ForwardEventRequest ¶
type GetEventOperationOptions ¶
type GetEventOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetEventOperationOptions ¶
func DefaultGetEventOperationOptions() GetEventOperationOptions
func (GetEventOperationOptions) ToHeaders ¶
func (o GetEventOperationOptions) ToHeaders() *client.Headers
func (GetEventOperationOptions) ToOData ¶
func (o GetEventOperationOptions) ToOData() *odata.Query
func (GetEventOperationOptions) ToQuery ¶
func (o GetEventOperationOptions) ToQuery() *client.QueryParams
type GetEventsCountOperationOptions ¶
type GetEventsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetEventsCountOperationOptions ¶
func DefaultGetEventsCountOperationOptions() GetEventsCountOperationOptions
func (GetEventsCountOperationOptions) ToHeaders ¶
func (o GetEventsCountOperationOptions) ToHeaders() *client.Headers
func (GetEventsCountOperationOptions) ToOData ¶
func (o GetEventsCountOperationOptions) ToOData() *odata.Query
func (GetEventsCountOperationOptions) ToQuery ¶
func (o GetEventsCountOperationOptions) ToQuery() *client.QueryParams
type ListEventsCustomPager ¶
func (*ListEventsCustomPager) NextPageLink ¶
func (p *ListEventsCustomPager) NextPageLink() *odata.Link
type ListEventsOperationOptions ¶
type ListEventsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListEventsOperationOptions ¶
func DefaultListEventsOperationOptions() ListEventsOperationOptions
func (ListEventsOperationOptions) ToHeaders ¶
func (o ListEventsOperationOptions) ToHeaders() *client.Headers
func (ListEventsOperationOptions) ToOData ¶
func (o ListEventsOperationOptions) ToOData() *odata.Query
func (ListEventsOperationOptions) ToQuery ¶
func (o ListEventsOperationOptions) ToQuery() *client.QueryParams
type SnoozeEventReminderOperationOptions ¶
type SnoozeEventReminderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSnoozeEventReminderOperationOptions ¶
func DefaultSnoozeEventReminderOperationOptions() SnoozeEventReminderOperationOptions
func (SnoozeEventReminderOperationOptions) ToHeaders ¶
func (o SnoozeEventReminderOperationOptions) ToHeaders() *client.Headers
func (SnoozeEventReminderOperationOptions) ToOData ¶
func (o SnoozeEventReminderOperationOptions) ToOData() *odata.Query
func (SnoozeEventReminderOperationOptions) ToQuery ¶
func (o SnoozeEventReminderOperationOptions) ToQuery() *client.QueryParams
type SnoozeEventReminderRequest ¶
type SnoozeEventReminderRequest struct {
NewReminderTime *beta.DateTimeTimeZone `json:"NewReminderTime,omitempty"`
}
type TentativelyAcceptEventOperationOptions ¶
type TentativelyAcceptEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultTentativelyAcceptEventOperationOptions ¶
func DefaultTentativelyAcceptEventOperationOptions() TentativelyAcceptEventOperationOptions
func (TentativelyAcceptEventOperationOptions) ToHeaders ¶
func (o TentativelyAcceptEventOperationOptions) ToHeaders() *client.Headers
func (TentativelyAcceptEventOperationOptions) ToOData ¶
func (o TentativelyAcceptEventOperationOptions) ToOData() *odata.Query
func (TentativelyAcceptEventOperationOptions) ToQuery ¶
func (o TentativelyAcceptEventOperationOptions) ToQuery() *client.QueryParams
type UpdateEventOperationOptions ¶
type UpdateEventOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateEventOperationOptions ¶
func DefaultUpdateEventOperationOptions() UpdateEventOperationOptions
func (UpdateEventOperationOptions) ToHeaders ¶
func (o UpdateEventOperationOptions) ToHeaders() *client.Headers
func (UpdateEventOperationOptions) ToOData ¶
func (o UpdateEventOperationOptions) ToOData() *odata.Query
func (UpdateEventOperationOptions) ToQuery ¶
func (o UpdateEventOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_acceptevent.go
- method_cancelevent.go
- method_createevent.go
- method_declineevent.go
- method_deleteevent.go
- method_dismisseventreminder.go
- method_forwardevent.go
- method_getevent.go
- method_geteventscount.go
- method_listevents.go
- method_snoozeeventreminder.go
- method_tentativelyacceptevent.go
- method_updateevent.go
- model_accepteventrequest.go
- model_canceleventrequest.go
- model_declineeventrequest.go
- model_forwardeventrequest.go
- model_snoozeeventreminderrequest.go
- model_tentativelyaccepteventrequest.go
- predicates.go
- version.go