calendareventinstanceexceptionoccurrence

package
v0.20241111.1164443 Latest Latest
Warning

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

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

README

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

The calendareventinstanceexceptionoccurrence 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/calendareventinstanceexceptionoccurrence"

Client Initialization

client := calendareventinstanceexceptionoccurrence.NewCalendarEventInstanceExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.AcceptCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.AcceptCalendarEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.CancelCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.CancelCalendarEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.DeclineCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.DeclineCalendarEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.DismissCalendarEventInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.ForwardCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.ForwardCalendarEventInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.GetCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.GetCalendarEventInstanceExceptionOccurrencesCount

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.ListCalendarEventInstanceExceptionOccurrences

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.SnoozeCalendarEventInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.SnoozeCalendarEventInstanceExceptionOccurrenceReminderRequest{
	// ...
}


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

Example Usage: CalendarEventInstanceExceptionOccurrenceClient.TentativelyAcceptCalendarEventInstanceExceptionOccurrence

ctx := context.TODO()
id := calendareventinstanceexceptionoccurrence.NewGroupIdCalendarEventIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendareventinstanceexceptionoccurrence.TentativelyAcceptCalendarEventInstanceExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptCalendarEventInstanceExceptionOccurrence(ctx, id, payload, calendareventinstanceexceptionoccurrence.DefaultTentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationOptions())
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 AcceptCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (AcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (AcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type AcceptCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type AcceptCalendarEventInstanceExceptionOccurrenceRequest

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

type CalendarEventInstanceExceptionOccurrenceClient

type CalendarEventInstanceExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewCalendarEventInstanceExceptionOccurrenceClientWithBaseURI

func NewCalendarEventInstanceExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*CalendarEventInstanceExceptionOccurrenceClient, error)

func (CalendarEventInstanceExceptionOccurrenceClient) AcceptCalendarEventInstanceExceptionOccurrence

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

func (CalendarEventInstanceExceptionOccurrenceClient) CancelCalendarEventInstanceExceptionOccurrence

CancelCalendarEventInstanceExceptionOccurrence - 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 (CalendarEventInstanceExceptionOccurrenceClient) DeclineCalendarEventInstanceExceptionOccurrence

DeclineCalendarEventInstanceExceptionOccurrence - 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 (CalendarEventInstanceExceptionOccurrenceClient) DismissCalendarEventInstanceExceptionOccurrenceReminder

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

func (CalendarEventInstanceExceptionOccurrenceClient) ForwardCalendarEventInstanceExceptionOccurrence

ForwardCalendarEventInstanceExceptionOccurrence - 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 (CalendarEventInstanceExceptionOccurrenceClient) GetCalendarEventInstanceExceptionOccurrence

GetCalendarEventInstanceExceptionOccurrence - Get exceptionOccurrences from groups

func (CalendarEventInstanceExceptionOccurrenceClient) GetCalendarEventInstanceExceptionOccurrencesCount

GetCalendarEventInstanceExceptionOccurrencesCount - Get the number of the resource

func (CalendarEventInstanceExceptionOccurrenceClient) ListCalendarEventInstanceExceptionOccurrences

ListCalendarEventInstanceExceptionOccurrences - Get exceptionOccurrences from groups

func (CalendarEventInstanceExceptionOccurrenceClient) ListCalendarEventInstanceExceptionOccurrencesComplete

ListCalendarEventInstanceExceptionOccurrencesComplete retrieves all the results into a single object

func (CalendarEventInstanceExceptionOccurrenceClient) ListCalendarEventInstanceExceptionOccurrencesCompleteMatchingPredicate

ListCalendarEventInstanceExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CalendarEventInstanceExceptionOccurrenceClient) SnoozeCalendarEventInstanceExceptionOccurrenceReminder

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

func (CalendarEventInstanceExceptionOccurrenceClient) TentativelyAcceptCalendarEventInstanceExceptionOccurrence

TentativelyAcceptCalendarEventInstanceExceptionOccurrence - 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 CancelCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (CancelCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (CancelCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (CancelCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type CancelCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type CancelCalendarEventInstanceExceptionOccurrenceRequest

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

type DeclineCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (DeclineCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (DeclineCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type DeclineCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type DeclineCalendarEventInstanceExceptionOccurrenceRequest

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

type DismissCalendarEventInstanceExceptionOccurrenceReminderOperationOptions

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

func (DismissCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissCalendarEventInstanceExceptionOccurrenceReminderOperationResponse

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

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

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

type ForwardCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (ForwardCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (ForwardCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type ForwardCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type ForwardCalendarEventInstanceExceptionOccurrenceRequest

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

type GetCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (GetCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (GetCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (GetCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type GetCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type GetCalendarEventInstanceExceptionOccurrencesCountOperationOptions

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

func (GetCalendarEventInstanceExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetCalendarEventInstanceExceptionOccurrencesCountOperationOptions) ToOData

func (GetCalendarEventInstanceExceptionOccurrencesCountOperationOptions) ToQuery

type GetCalendarEventInstanceExceptionOccurrencesCountOperationResponse

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

type ListCalendarEventInstanceExceptionOccurrencesCompleteResult

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

type ListCalendarEventInstanceExceptionOccurrencesCustomPager

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

type ListCalendarEventInstanceExceptionOccurrencesOperationOptions

type ListCalendarEventInstanceExceptionOccurrencesOperationOptions 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 (ListCalendarEventInstanceExceptionOccurrencesOperationOptions) ToHeaders

func (ListCalendarEventInstanceExceptionOccurrencesOperationOptions) ToOData

func (ListCalendarEventInstanceExceptionOccurrencesOperationOptions) ToQuery

type ListCalendarEventInstanceExceptionOccurrencesOperationResponse

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

type SnoozeCalendarEventInstanceExceptionOccurrenceReminderOperationOptions

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

func (SnoozeCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeCalendarEventInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeCalendarEventInstanceExceptionOccurrenceReminderOperationResponse

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

type SnoozeCalendarEventInstanceExceptionOccurrenceReminderRequest

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

type TentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationOptions

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

func (TentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptCalendarEventInstanceExceptionOccurrenceOperationResponse

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

type TentativelyAcceptCalendarEventInstanceExceptionOccurrenceRequest

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