eventexceptionoccurrenceinstance

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: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/beta/eventexceptionoccurrenceinstance Documentation

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

Client Initialization

client := eventexceptionoccurrenceinstance.NewEventExceptionOccurrenceInstanceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EventExceptionOccurrenceInstanceClient.AcceptEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.AcceptEventExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: EventExceptionOccurrenceInstanceClient.CancelEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.CancelEventExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: EventExceptionOccurrenceInstanceClient.DeclineEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.DeclineEventExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: EventExceptionOccurrenceInstanceClient.DismissEventExceptionOccurrenceInstanceReminder

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

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

Example Usage: EventExceptionOccurrenceInstanceClient.ForwardEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.ForwardEventExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: EventExceptionOccurrenceInstanceClient.GetEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

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

Example Usage: EventExceptionOccurrenceInstanceClient.GetEventExceptionOccurrenceInstancesCount

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceID("userId", "eventId", "eventId1")

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

Example Usage: EventExceptionOccurrenceInstanceClient.ListEventExceptionOccurrenceInstances

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceID("userId", "eventId", "eventId1")

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

Example Usage: EventExceptionOccurrenceInstanceClient.SnoozeEventExceptionOccurrenceInstanceReminder

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.SnoozeEventExceptionOccurrenceInstanceReminderRequest{
	// ...
}


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

Example Usage: EventExceptionOccurrenceInstanceClient.TentativelyAcceptEventExceptionOccurrenceInstance

ctx := context.TODO()
id := eventexceptionoccurrenceinstance.NewUserIdEventIdExceptionOccurrenceIdInstanceID("userId", "eventId", "eventId1", "eventId2")

payload := eventexceptionoccurrenceinstance.TentativelyAcceptEventExceptionOccurrenceInstanceRequest{
	// ...
}


read, err := client.TentativelyAcceptEventExceptionOccurrenceInstance(ctx, id, payload, eventexceptionoccurrenceinstance.DefaultTentativelyAcceptEventExceptionOccurrenceInstanceOperationOptions())
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 AcceptEventExceptionOccurrenceInstanceOperationOptions

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

func DefaultAcceptEventExceptionOccurrenceInstanceOperationOptions

func DefaultAcceptEventExceptionOccurrenceInstanceOperationOptions() AcceptEventExceptionOccurrenceInstanceOperationOptions

func (AcceptEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (AcceptEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (AcceptEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type AcceptEventExceptionOccurrenceInstanceOperationResponse

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

type AcceptEventExceptionOccurrenceInstanceRequest

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

type CancelEventExceptionOccurrenceInstanceOperationOptions

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

func DefaultCancelEventExceptionOccurrenceInstanceOperationOptions

func DefaultCancelEventExceptionOccurrenceInstanceOperationOptions() CancelEventExceptionOccurrenceInstanceOperationOptions

func (CancelEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (CancelEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (CancelEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type CancelEventExceptionOccurrenceInstanceOperationResponse

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

type CancelEventExceptionOccurrenceInstanceRequest

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

type DeclineEventExceptionOccurrenceInstanceOperationOptions

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

func (DeclineEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (DeclineEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (DeclineEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type DeclineEventExceptionOccurrenceInstanceOperationResponse

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

type DeclineEventExceptionOccurrenceInstanceRequest

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

type DismissEventExceptionOccurrenceInstanceReminderOperationOptions

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

func (DismissEventExceptionOccurrenceInstanceReminderOperationOptions) ToHeaders

func (DismissEventExceptionOccurrenceInstanceReminderOperationOptions) ToOData

func (DismissEventExceptionOccurrenceInstanceReminderOperationOptions) ToQuery

type DismissEventExceptionOccurrenceInstanceReminderOperationResponse

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

type EventExceptionOccurrenceInstanceClient

type EventExceptionOccurrenceInstanceClient struct {
	Client *msgraph.Client
}

func NewEventExceptionOccurrenceInstanceClientWithBaseURI

func NewEventExceptionOccurrenceInstanceClientWithBaseURI(sdkApi sdkEnv.Api) (*EventExceptionOccurrenceInstanceClient, error)

func (EventExceptionOccurrenceInstanceClient) AcceptEventExceptionOccurrenceInstance

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

func (EventExceptionOccurrenceInstanceClient) CancelEventExceptionOccurrenceInstance

CancelEventExceptionOccurrenceInstance - 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 (EventExceptionOccurrenceInstanceClient) DeclineEventExceptionOccurrenceInstance

DeclineEventExceptionOccurrenceInstance - 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 (EventExceptionOccurrenceInstanceClient) DismissEventExceptionOccurrenceInstanceReminder

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

func (EventExceptionOccurrenceInstanceClient) ForwardEventExceptionOccurrenceInstance

ForwardEventExceptionOccurrenceInstance - 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 (EventExceptionOccurrenceInstanceClient) GetEventExceptionOccurrenceInstance

GetEventExceptionOccurrenceInstance - Get instances from users. The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable.

func (EventExceptionOccurrenceInstanceClient) GetEventExceptionOccurrenceInstancesCount

GetEventExceptionOccurrenceInstancesCount - Get the number of the resource

func (EventExceptionOccurrenceInstanceClient) ListEventExceptionOccurrenceInstances

ListEventExceptionOccurrenceInstances - Get instances from users. The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable.

func (EventExceptionOccurrenceInstanceClient) ListEventExceptionOccurrenceInstancesComplete

ListEventExceptionOccurrenceInstancesComplete retrieves all the results into a single object

func (EventExceptionOccurrenceInstanceClient) ListEventExceptionOccurrenceInstancesCompleteMatchingPredicate

ListEventExceptionOccurrenceInstancesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EventExceptionOccurrenceInstanceClient) SnoozeEventExceptionOccurrenceInstanceReminder

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

func (EventExceptionOccurrenceInstanceClient) TentativelyAcceptEventExceptionOccurrenceInstance

TentativelyAcceptEventExceptionOccurrenceInstance - 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 ForwardEventExceptionOccurrenceInstanceOperationOptions

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

func (ForwardEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (ForwardEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (ForwardEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type ForwardEventExceptionOccurrenceInstanceOperationResponse

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

type ForwardEventExceptionOccurrenceInstanceRequest

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

type GetEventExceptionOccurrenceInstanceOperationOptions

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

func DefaultGetEventExceptionOccurrenceInstanceOperationOptions

func DefaultGetEventExceptionOccurrenceInstanceOperationOptions() GetEventExceptionOccurrenceInstanceOperationOptions

func (GetEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (GetEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (GetEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type GetEventExceptionOccurrenceInstanceOperationResponse

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

type GetEventExceptionOccurrenceInstancesCountOperationOptions

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

func (GetEventExceptionOccurrenceInstancesCountOperationOptions) ToHeaders

func (GetEventExceptionOccurrenceInstancesCountOperationOptions) ToOData

func (GetEventExceptionOccurrenceInstancesCountOperationOptions) ToQuery

type GetEventExceptionOccurrenceInstancesCountOperationResponse

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

type ListEventExceptionOccurrenceInstancesCompleteResult

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

type ListEventExceptionOccurrenceInstancesCustomPager

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

type ListEventExceptionOccurrenceInstancesOperationOptions

type ListEventExceptionOccurrenceInstancesOperationOptions struct {
	Count         *bool
	EndDateTime   *string
	Expand        *odata.Expand
	Filter        *string
	Metadata      *odata.Metadata
	OrderBy       *odata.OrderBy
	RetryFunc     client.RequestRetryFunc
	Search        *string
	Select        *[]string
	Skip          *int64
	StartDateTime *string
	Top           *int64
}

func DefaultListEventExceptionOccurrenceInstancesOperationOptions

func DefaultListEventExceptionOccurrenceInstancesOperationOptions() ListEventExceptionOccurrenceInstancesOperationOptions

func (ListEventExceptionOccurrenceInstancesOperationOptions) ToHeaders

func (ListEventExceptionOccurrenceInstancesOperationOptions) ToOData

func (ListEventExceptionOccurrenceInstancesOperationOptions) ToQuery

type ListEventExceptionOccurrenceInstancesOperationResponse

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

type SnoozeEventExceptionOccurrenceInstanceReminderOperationOptions

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

func (SnoozeEventExceptionOccurrenceInstanceReminderOperationOptions) ToHeaders

func (SnoozeEventExceptionOccurrenceInstanceReminderOperationOptions) ToOData

func (SnoozeEventExceptionOccurrenceInstanceReminderOperationOptions) ToQuery

type SnoozeEventExceptionOccurrenceInstanceReminderOperationResponse

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

type SnoozeEventExceptionOccurrenceInstanceReminderRequest

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

type TentativelyAcceptEventExceptionOccurrenceInstanceOperationOptions

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

func (TentativelyAcceptEventExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (TentativelyAcceptEventExceptionOccurrenceInstanceOperationOptions) ToOData

func (TentativelyAcceptEventExceptionOccurrenceInstanceOperationOptions) ToQuery

type TentativelyAcceptEventExceptionOccurrenceInstanceOperationResponse

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

type TentativelyAcceptEventExceptionOccurrenceInstanceRequest

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