eventexceptionoccurrence

package
v0.20241025.1143247 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/eventexceptionoccurrence Documentation

The eventexceptionoccurrence SDK allows for interaction with Microsoft Graph me (API Version beta).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/eventexceptionoccurrence"

Client Initialization

client := eventexceptionoccurrence.NewEventExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EventExceptionOccurrenceClient.AcceptEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.AcceptEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.AcceptEventExceptionOccurrence(ctx, id, payload, eventexceptionoccurrence.DefaultAcceptEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.CancelEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.CancelEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.CancelEventExceptionOccurrence(ctx, id, payload, eventexceptionoccurrence.DefaultCancelEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.DeclineEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.DeclineEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.DeclineEventExceptionOccurrence(ctx, id, payload, eventexceptionoccurrence.DefaultDeclineEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.DismissEventExceptionOccurrenceReminder

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

read, err := client.DismissEventExceptionOccurrenceReminder(ctx, id, eventexceptionoccurrence.DefaultDismissEventExceptionOccurrenceReminderOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.ForwardEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.ForwardEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.ForwardEventExceptionOccurrence(ctx, id, payload, eventexceptionoccurrence.DefaultForwardEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.GetEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

read, err := client.GetEventExceptionOccurrence(ctx, id, eventexceptionoccurrence.DefaultGetEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.GetEventExceptionOccurrencesCount

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventID("eventId")

read, err := client.GetEventExceptionOccurrencesCount(ctx, id, eventexceptionoccurrence.DefaultGetEventExceptionOccurrencesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.ListEventExceptionOccurrences

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventID("eventId")

// alternatively `client.ListEventExceptionOccurrences(ctx, id, eventexceptionoccurrence.DefaultListEventExceptionOccurrencesOperationOptions())` can be used to do batched pagination
items, err := client.ListEventExceptionOccurrencesComplete(ctx, id, eventexceptionoccurrence.DefaultListEventExceptionOccurrencesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EventExceptionOccurrenceClient.SnoozeEventExceptionOccurrenceReminder

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.SnoozeEventExceptionOccurrenceReminderRequest{
	// ...
}


read, err := client.SnoozeEventExceptionOccurrenceReminder(ctx, id, payload, eventexceptionoccurrence.DefaultSnoozeEventExceptionOccurrenceReminderOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EventExceptionOccurrenceClient.TentativelyAcceptEventExceptionOccurrence

ctx := context.TODO()
id := eventexceptionoccurrence.NewMeEventIdExceptionOccurrenceID("eventId", "eventId1")

payload := eventexceptionoccurrence.TentativelyAcceptEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptEventExceptionOccurrence(ctx, id, payload, eventexceptionoccurrence.DefaultTentativelyAcceptEventExceptionOccurrenceOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptEventExceptionOccurrenceOperationOptions

type AcceptEventExceptionOccurrenceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultAcceptEventExceptionOccurrenceOperationOptions

func DefaultAcceptEventExceptionOccurrenceOperationOptions() AcceptEventExceptionOccurrenceOperationOptions

func (AcceptEventExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptEventExceptionOccurrenceOperationOptions) ToOData

func (AcceptEventExceptionOccurrenceOperationOptions) ToQuery

type AcceptEventExceptionOccurrenceOperationResponse

type AcceptEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type AcceptEventExceptionOccurrenceRequest

type AcceptEventExceptionOccurrenceRequest struct {
	Comment      nullable.Type[string] `json:"Comment,omitempty"`
	SendResponse nullable.Type[bool]   `json:"SendResponse,omitempty"`
}

type CancelEventExceptionOccurrenceOperationOptions

type CancelEventExceptionOccurrenceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCancelEventExceptionOccurrenceOperationOptions

func DefaultCancelEventExceptionOccurrenceOperationOptions() CancelEventExceptionOccurrenceOperationOptions

func (CancelEventExceptionOccurrenceOperationOptions) ToHeaders

func (CancelEventExceptionOccurrenceOperationOptions) ToOData

func (CancelEventExceptionOccurrenceOperationOptions) ToQuery

type CancelEventExceptionOccurrenceOperationResponse

type CancelEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CancelEventExceptionOccurrenceRequest

type CancelEventExceptionOccurrenceRequest struct {
	Comment nullable.Type[string] `json:"Comment,omitempty"`
}

type DeclineEventExceptionOccurrenceOperationOptions

type DeclineEventExceptionOccurrenceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeclineEventExceptionOccurrenceOperationOptions

func DefaultDeclineEventExceptionOccurrenceOperationOptions() DeclineEventExceptionOccurrenceOperationOptions

func (DeclineEventExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineEventExceptionOccurrenceOperationOptions) ToOData

func (DeclineEventExceptionOccurrenceOperationOptions) ToQuery

type DeclineEventExceptionOccurrenceOperationResponse

type DeclineEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeclineEventExceptionOccurrenceRequest

type DeclineEventExceptionOccurrenceRequest struct {
	Comment         nullable.Type[string] `json:"Comment,omitempty"`
	ProposedNewTime *beta.TimeSlot        `json:"ProposedNewTime,omitempty"`
	SendResponse    nullable.Type[bool]   `json:"SendResponse,omitempty"`
}

type DismissEventExceptionOccurrenceReminderOperationOptions

type DismissEventExceptionOccurrenceReminderOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (DismissEventExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissEventExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissEventExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissEventExceptionOccurrenceReminderOperationResponse

type DismissEventExceptionOccurrenceReminderOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type EventExceptionOccurrenceClient

type EventExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewEventExceptionOccurrenceClientWithBaseURI

func NewEventExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*EventExceptionOccurrenceClient, error)

func (EventExceptionOccurrenceClient) AcceptEventExceptionOccurrence

AcceptEventExceptionOccurrence - Invoke action accept. Accept the specified event in a user calendar.

func (EventExceptionOccurrenceClient) CancelEventExceptionOccurrence

CancelEventExceptionOccurrence - 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 (EventExceptionOccurrenceClient) DeclineEventExceptionOccurrence

DeclineEventExceptionOccurrence - 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 (EventExceptionOccurrenceClient) DismissEventExceptionOccurrenceReminder

DismissEventExceptionOccurrenceReminder - Invoke action dismissReminder. Dismiss a reminder that has been triggered for an event in a user calendar.

func (EventExceptionOccurrenceClient) ForwardEventExceptionOccurrence

ForwardEventExceptionOccurrence - 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 (EventExceptionOccurrenceClient) GetEventExceptionOccurrence

GetEventExceptionOccurrence - Get exceptionOccurrences from me

func (EventExceptionOccurrenceClient) GetEventExceptionOccurrencesCount

GetEventExceptionOccurrencesCount - Get the number of the resource

func (EventExceptionOccurrenceClient) ListEventExceptionOccurrences

ListEventExceptionOccurrences - Get exceptionOccurrences from me

func (EventExceptionOccurrenceClient) ListEventExceptionOccurrencesComplete

ListEventExceptionOccurrencesComplete retrieves all the results into a single object

func (EventExceptionOccurrenceClient) ListEventExceptionOccurrencesCompleteMatchingPredicate

func (c EventExceptionOccurrenceClient) ListEventExceptionOccurrencesCompleteMatchingPredicate(ctx context.Context, id beta.MeEventId, options ListEventExceptionOccurrencesOperationOptions, predicate EventOperationPredicate) (result ListEventExceptionOccurrencesCompleteResult, err error)

ListEventExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EventExceptionOccurrenceClient) SnoozeEventExceptionOccurrenceReminder

SnoozeEventExceptionOccurrenceReminder - Invoke action snoozeReminder. Postpone a reminder for an event in a user calendar until a new time.

func (EventExceptionOccurrenceClient) TentativelyAcceptEventExceptionOccurrence

TentativelyAcceptEventExceptionOccurrence - 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.

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

func (p EventOperationPredicate) Matches(input beta.Event) bool

type ForwardEventExceptionOccurrenceOperationOptions

type ForwardEventExceptionOccurrenceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultForwardEventExceptionOccurrenceOperationOptions

func DefaultForwardEventExceptionOccurrenceOperationOptions() ForwardEventExceptionOccurrenceOperationOptions

func (ForwardEventExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardEventExceptionOccurrenceOperationOptions) ToOData

func (ForwardEventExceptionOccurrenceOperationOptions) ToQuery

type ForwardEventExceptionOccurrenceOperationResponse

type ForwardEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ForwardEventExceptionOccurrenceRequest

type ForwardEventExceptionOccurrenceRequest struct {
	Comment      nullable.Type[string] `json:"Comment,omitempty"`
	ToRecipients *[]beta.Recipient     `json:"ToRecipients,omitempty"`
}

type GetEventExceptionOccurrenceOperationOptions

type GetEventExceptionOccurrenceOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetEventExceptionOccurrenceOperationOptions

func DefaultGetEventExceptionOccurrenceOperationOptions() GetEventExceptionOccurrenceOperationOptions

func (GetEventExceptionOccurrenceOperationOptions) ToHeaders

func (GetEventExceptionOccurrenceOperationOptions) ToOData

func (GetEventExceptionOccurrenceOperationOptions) ToQuery

type GetEventExceptionOccurrenceOperationResponse

type GetEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Event
}

type GetEventExceptionOccurrencesCountOperationOptions

type GetEventExceptionOccurrencesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetEventExceptionOccurrencesCountOperationOptions

func DefaultGetEventExceptionOccurrencesCountOperationOptions() GetEventExceptionOccurrencesCountOperationOptions

func (GetEventExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetEventExceptionOccurrencesCountOperationOptions) ToOData

func (GetEventExceptionOccurrencesCountOperationOptions) ToQuery

type GetEventExceptionOccurrencesCountOperationResponse

type GetEventExceptionOccurrencesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListEventExceptionOccurrencesCompleteResult

type ListEventExceptionOccurrencesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.Event
}

type ListEventExceptionOccurrencesCustomPager

type ListEventExceptionOccurrencesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListEventExceptionOccurrencesOperationOptions

type ListEventExceptionOccurrencesOperationOptions 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 DefaultListEventExceptionOccurrencesOperationOptions

func DefaultListEventExceptionOccurrencesOperationOptions() ListEventExceptionOccurrencesOperationOptions

func (ListEventExceptionOccurrencesOperationOptions) ToHeaders

func (ListEventExceptionOccurrencesOperationOptions) ToOData

func (ListEventExceptionOccurrencesOperationOptions) ToQuery

type ListEventExceptionOccurrencesOperationResponse

type ListEventExceptionOccurrencesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.Event
}

type SnoozeEventExceptionOccurrenceReminderOperationOptions

type SnoozeEventExceptionOccurrenceReminderOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultSnoozeEventExceptionOccurrenceReminderOperationOptions

func DefaultSnoozeEventExceptionOccurrenceReminderOperationOptions() SnoozeEventExceptionOccurrenceReminderOperationOptions

func (SnoozeEventExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeEventExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeEventExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeEventExceptionOccurrenceReminderOperationResponse

type SnoozeEventExceptionOccurrenceReminderOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SnoozeEventExceptionOccurrenceReminderRequest

type SnoozeEventExceptionOccurrenceReminderRequest struct {
	NewReminderTime *beta.DateTimeTimeZone `json:"NewReminderTime,omitempty"`
}

type TentativelyAcceptEventExceptionOccurrenceOperationOptions

type TentativelyAcceptEventExceptionOccurrenceOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (TentativelyAcceptEventExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptEventExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptEventExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptEventExceptionOccurrenceOperationResponse

type TentativelyAcceptEventExceptionOccurrenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type TentativelyAcceptEventExceptionOccurrenceRequest

type TentativelyAcceptEventExceptionOccurrenceRequest struct {
	Comment         nullable.Type[string] `json:"Comment,omitempty"`
	ProposedNewTime *beta.TimeSlot        `json:"ProposedNewTime,omitempty"`
	SendResponse    nullable.Type[bool]   `json:"SendResponse,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL