eventinstanceexceptionoccurrence

package
v0.20241104.1140654 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/groups/beta/eventinstanceexceptionoccurrence Documentation

The eventinstanceexceptionoccurrence SDK allows for interaction with Microsoft Graph groups (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/groups/beta/eventinstanceexceptionoccurrence"

Client Initialization

client := eventinstanceexceptionoccurrence.NewEventInstanceExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EventInstanceExceptionOccurrenceClient.AcceptEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.AcceptEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: EventInstanceExceptionOccurrenceClient.CancelEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.CancelEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: EventInstanceExceptionOccurrenceClient.DeclineEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.DeclineEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: EventInstanceExceptionOccurrenceClient.DismissEventInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: EventInstanceExceptionOccurrenceClient.ForwardEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.ForwardEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: EventInstanceExceptionOccurrenceClient.GetEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: EventInstanceExceptionOccurrenceClient.GetEventInstanceExceptionOccurrencesCount

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: EventInstanceExceptionOccurrenceClient.ListEventInstanceExceptionOccurrences

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: EventInstanceExceptionOccurrenceClient.SnoozeEventInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.SnoozeEventInstanceExceptionOccurrenceReminderRequest{
	// ...
}


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

Example Usage: EventInstanceExceptionOccurrenceClient.TentativelyAcceptEventInstanceExceptionOccurrence

ctx := context.TODO()
id := eventinstanceexceptionoccurrence.NewGroupIdEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := eventinstanceexceptionoccurrence.TentativelyAcceptEventInstanceExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptEventInstanceExceptionOccurrence(ctx, id, payload, eventinstanceexceptionoccurrence.DefaultTentativelyAcceptEventInstanceExceptionOccurrenceOperationOptions())
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 AcceptEventInstanceExceptionOccurrenceOperationOptions

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

func DefaultAcceptEventInstanceExceptionOccurrenceOperationOptions

func DefaultAcceptEventInstanceExceptionOccurrenceOperationOptions() AcceptEventInstanceExceptionOccurrenceOperationOptions

func (AcceptEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (AcceptEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type AcceptEventInstanceExceptionOccurrenceOperationResponse

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

type AcceptEventInstanceExceptionOccurrenceRequest

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

type CancelEventInstanceExceptionOccurrenceOperationOptions

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

func DefaultCancelEventInstanceExceptionOccurrenceOperationOptions

func DefaultCancelEventInstanceExceptionOccurrenceOperationOptions() CancelEventInstanceExceptionOccurrenceOperationOptions

func (CancelEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (CancelEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (CancelEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type CancelEventInstanceExceptionOccurrenceOperationResponse

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

type CancelEventInstanceExceptionOccurrenceRequest

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

type DeclineEventInstanceExceptionOccurrenceOperationOptions

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

func (DeclineEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (DeclineEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type DeclineEventInstanceExceptionOccurrenceOperationResponse

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

type DeclineEventInstanceExceptionOccurrenceRequest

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

type DismissEventInstanceExceptionOccurrenceReminderOperationOptions

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

func (DismissEventInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissEventInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissEventInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissEventInstanceExceptionOccurrenceReminderOperationResponse

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

type EventInstanceExceptionOccurrenceClient

type EventInstanceExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewEventInstanceExceptionOccurrenceClientWithBaseURI

func NewEventInstanceExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*EventInstanceExceptionOccurrenceClient, error)

func (EventInstanceExceptionOccurrenceClient) AcceptEventInstanceExceptionOccurrence

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

func (EventInstanceExceptionOccurrenceClient) CancelEventInstanceExceptionOccurrence

CancelEventInstanceExceptionOccurrence - 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 (EventInstanceExceptionOccurrenceClient) DeclineEventInstanceExceptionOccurrence

DeclineEventInstanceExceptionOccurrence - 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 (EventInstanceExceptionOccurrenceClient) DismissEventInstanceExceptionOccurrenceReminder

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

func (EventInstanceExceptionOccurrenceClient) ForwardEventInstanceExceptionOccurrence

ForwardEventInstanceExceptionOccurrence - 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 (EventInstanceExceptionOccurrenceClient) GetEventInstanceExceptionOccurrence

GetEventInstanceExceptionOccurrence - Get exceptionOccurrences from groups

func (EventInstanceExceptionOccurrenceClient) GetEventInstanceExceptionOccurrencesCount

GetEventInstanceExceptionOccurrencesCount - Get the number of the resource

func (EventInstanceExceptionOccurrenceClient) ListEventInstanceExceptionOccurrences

ListEventInstanceExceptionOccurrences - Get exceptionOccurrences from groups

func (EventInstanceExceptionOccurrenceClient) ListEventInstanceExceptionOccurrencesComplete

ListEventInstanceExceptionOccurrencesComplete retrieves all the results into a single object

func (EventInstanceExceptionOccurrenceClient) ListEventInstanceExceptionOccurrencesCompleteMatchingPredicate

ListEventInstanceExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EventInstanceExceptionOccurrenceClient) SnoozeEventInstanceExceptionOccurrenceReminder

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

func (EventInstanceExceptionOccurrenceClient) TentativelyAcceptEventInstanceExceptionOccurrence

TentativelyAcceptEventInstanceExceptionOccurrence - 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 ForwardEventInstanceExceptionOccurrenceOperationOptions

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

func (ForwardEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (ForwardEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type ForwardEventInstanceExceptionOccurrenceOperationResponse

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

type ForwardEventInstanceExceptionOccurrenceRequest

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

type GetEventInstanceExceptionOccurrenceOperationOptions

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

func DefaultGetEventInstanceExceptionOccurrenceOperationOptions

func DefaultGetEventInstanceExceptionOccurrenceOperationOptions() GetEventInstanceExceptionOccurrenceOperationOptions

func (GetEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (GetEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (GetEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type GetEventInstanceExceptionOccurrenceOperationResponse

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

type GetEventInstanceExceptionOccurrencesCountOperationOptions

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

func (GetEventInstanceExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetEventInstanceExceptionOccurrencesCountOperationOptions) ToOData

func (GetEventInstanceExceptionOccurrencesCountOperationOptions) ToQuery

type GetEventInstanceExceptionOccurrencesCountOperationResponse

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

type ListEventInstanceExceptionOccurrencesCompleteResult

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

type ListEventInstanceExceptionOccurrencesCustomPager

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

type ListEventInstanceExceptionOccurrencesOperationOptions

type ListEventInstanceExceptionOccurrencesOperationOptions 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 DefaultListEventInstanceExceptionOccurrencesOperationOptions

func DefaultListEventInstanceExceptionOccurrencesOperationOptions() ListEventInstanceExceptionOccurrencesOperationOptions

func (ListEventInstanceExceptionOccurrencesOperationOptions) ToHeaders

func (ListEventInstanceExceptionOccurrencesOperationOptions) ToOData

func (ListEventInstanceExceptionOccurrencesOperationOptions) ToQuery

type ListEventInstanceExceptionOccurrencesOperationResponse

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

type SnoozeEventInstanceExceptionOccurrenceReminderOperationOptions

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

func (SnoozeEventInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeEventInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeEventInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeEventInstanceExceptionOccurrenceReminderOperationResponse

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

type SnoozeEventInstanceExceptionOccurrenceReminderRequest

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

type TentativelyAcceptEventInstanceExceptionOccurrenceOperationOptions

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

func (TentativelyAcceptEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptEventInstanceExceptionOccurrenceOperationResponse

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

type TentativelyAcceptEventInstanceExceptionOccurrenceRequest

type TentativelyAcceptEventInstanceExceptionOccurrenceRequest 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