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.MeEventId, input AcceptEventRequest, ...) (result AcceptEventOperationResponse, err error)
- func (c EventClient) CancelEvent(ctx context.Context, id beta.MeEventId, input CancelEventRequest, ...) (result CancelEventOperationResponse, err error)
- func (c EventClient) CreateEvent(ctx context.Context, input beta.Event, options CreateEventOperationOptions) (result CreateEventOperationResponse, err error)
- func (c EventClient) DeclineEvent(ctx context.Context, id beta.MeEventId, input DeclineEventRequest, ...) (result DeclineEventOperationResponse, err error)
- func (c EventClient) DeleteEvent(ctx context.Context, id beta.MeEventId, options DeleteEventOperationOptions) (result DeleteEventOperationResponse, err error)
- func (c EventClient) DismissEventReminder(ctx context.Context, id beta.MeEventId, ...) (result DismissEventReminderOperationResponse, err error)
- func (c EventClient) ForwardEvent(ctx context.Context, id beta.MeEventId, input ForwardEventRequest, ...) (result ForwardEventOperationResponse, err error)
- func (c EventClient) GetEvent(ctx context.Context, id beta.MeEventId, options GetEventOperationOptions) (result GetEventOperationResponse, err error)
- func (c EventClient) GetEventsCount(ctx context.Context, options GetEventsCountOperationOptions) (result GetEventsCountOperationResponse, err error)
- func (c EventClient) ListEvents(ctx context.Context, options ListEventsOperationOptions) (result ListEventsOperationResponse, err error)
- func (c EventClient) ListEventsComplete(ctx context.Context, options ListEventsOperationOptions) (ListEventsCompleteResult, error)
- func (c EventClient) ListEventsCompleteMatchingPredicate(ctx context.Context, options ListEventsOperationOptions, ...) (result ListEventsCompleteResult, err error)
- func (c EventClient) SnoozeEventReminder(ctx context.Context, id beta.MeEventId, input SnoozeEventReminderRequest, ...) (result SnoozeEventReminderOperationResponse, err error)
- func (c EventClient) TentativelyAcceptEvent(ctx context.Context, id beta.MeEventId, input TentativelyAcceptEventRequest, ...) (result TentativelyAcceptEventOperationResponse, err error)
- func (c EventClient) UpdateEvent(ctx context.Context, id beta.MeEventId, 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.MeEventId, 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.MeEventId, 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, input beta.Event, options CreateEventOperationOptions) (result CreateEventOperationResponse, err error)
CreateEvent - Create event. Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executives or their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource
func (EventClient) DeclineEvent ¶
func (c EventClient) DeclineEvent(ctx context.Context, id beta.MeEventId, 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.MeEventId, options DeleteEventOperationOptions) (result DeleteEventOperationResponse, err error)
DeleteEvent - Delete event. Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees.
func (EventClient) DismissEventReminder ¶
func (c EventClient) DismissEventReminder(ctx context.Context, id beta.MeEventId, 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.MeEventId, 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.MeEventId, options GetEventOperationOptions) (result GetEventOperationResponse, err error)
GetEvent - Get event. Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance.
func (EventClient) GetEventsCount ¶
func (c EventClient) GetEventsCount(ctx context.Context, options GetEventsCountOperationOptions) (result GetEventsCountOperationResponse, err error)
GetEventsCount - Get the number of the resource
func (EventClient) ListEvents ¶
func (c EventClient) ListEvents(ctx context.Context, options ListEventsOperationOptions) (result ListEventsOperationResponse, err error)
ListEvents - List events. Get a list of event objects from the user's default calendar or from a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. There are two scenarios where an app can get events in another user's calendar
func (EventClient) ListEventsComplete ¶
func (c EventClient) ListEventsComplete(ctx context.Context, options ListEventsOperationOptions) (ListEventsCompleteResult, error)
ListEventsComplete retrieves all the results into a single object
func (EventClient) ListEventsCompleteMatchingPredicate ¶
func (c EventClient) ListEventsCompleteMatchingPredicate(ctx context.Context, 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.MeEventId, 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.MeEventId, 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.MeEventId, input beta.Event, options UpdateEventOperationOptions) (result UpdateEventOperationResponse, err error)
UpdateEvent - Update event. Update the properties of the 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