calendarcalendarviewinstanceexceptionoccurrence

package
v0.20241126.2320 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := calendarcalendarviewinstanceexceptionoccurrence.NewCalendarCalendarViewInstanceExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.AcceptCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.AcceptCalendarViewInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.CancelCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.CancelCalendarViewInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.DeclineCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.DeclineCalendarViewInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.DismissCalendarViewInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.ForwardCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.ForwardCalendarViewInstanceExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.GetCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.GetCalendarViewInstanceExceptionOccurrencesCount

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.ListCalendarViewInstanceExceptionOccurrences

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.SnoozeCalendarViewInstanceExceptionOccurrenceReminder

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.SnoozeCalendarViewInstanceExceptionOccurrenceReminderRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewInstanceExceptionOccurrenceClient.TentativelyAcceptCalendarViewInstanceExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewinstanceexceptionoccurrence.NewGroupIdCalendarCalendarViewIdInstanceIdExceptionOccurrenceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarcalendarviewinstanceexceptionoccurrence.TentativelyAcceptCalendarViewInstanceExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptCalendarViewInstanceExceptionOccurrence(ctx, id, payload, calendarcalendarviewinstanceexceptionoccurrence.DefaultTentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationOptions())
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 AcceptCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (AcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (AcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type AcceptCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type AcceptCalendarViewInstanceExceptionOccurrenceRequest

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

type CalendarCalendarViewInstanceExceptionOccurrenceClient

type CalendarCalendarViewInstanceExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewCalendarCalendarViewInstanceExceptionOccurrenceClientWithBaseURI

func NewCalendarCalendarViewInstanceExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*CalendarCalendarViewInstanceExceptionOccurrenceClient, error)

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) AcceptCalendarViewInstanceExceptionOccurrence

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

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) CancelCalendarViewInstanceExceptionOccurrence

CancelCalendarViewInstanceExceptionOccurrence - 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 (CalendarCalendarViewInstanceExceptionOccurrenceClient) DeclineCalendarViewInstanceExceptionOccurrence

DeclineCalendarViewInstanceExceptionOccurrence - 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 (CalendarCalendarViewInstanceExceptionOccurrenceClient) DismissCalendarViewInstanceExceptionOccurrenceReminder

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

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) ForwardCalendarViewInstanceExceptionOccurrence

ForwardCalendarViewInstanceExceptionOccurrence - 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 (CalendarCalendarViewInstanceExceptionOccurrenceClient) GetCalendarViewInstanceExceptionOccurrence

GetCalendarViewInstanceExceptionOccurrence - Get exceptionOccurrences from groups

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) GetCalendarViewInstanceExceptionOccurrencesCount

GetCalendarViewInstanceExceptionOccurrencesCount - Get the number of the resource

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) ListCalendarViewInstanceExceptionOccurrences

ListCalendarViewInstanceExceptionOccurrences - Get exceptionOccurrences from groups

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) ListCalendarViewInstanceExceptionOccurrencesComplete

ListCalendarViewInstanceExceptionOccurrencesComplete retrieves all the results into a single object

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) ListCalendarViewInstanceExceptionOccurrencesCompleteMatchingPredicate

ListCalendarViewInstanceExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) SnoozeCalendarViewInstanceExceptionOccurrenceReminder

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

func (CalendarCalendarViewInstanceExceptionOccurrenceClient) TentativelyAcceptCalendarViewInstanceExceptionOccurrence

TentativelyAcceptCalendarViewInstanceExceptionOccurrence - 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 CancelCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (CancelCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (CancelCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (CancelCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type CancelCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type CancelCalendarViewInstanceExceptionOccurrenceRequest

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

type DeclineCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (DeclineCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (DeclineCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type DeclineCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type DeclineCalendarViewInstanceExceptionOccurrenceRequest

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

type DismissCalendarViewInstanceExceptionOccurrenceReminderOperationOptions

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

func (DismissCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissCalendarViewInstanceExceptionOccurrenceReminderOperationResponse

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

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

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

type ForwardCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (ForwardCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (ForwardCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type ForwardCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type ForwardCalendarViewInstanceExceptionOccurrenceRequest

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

type GetCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (GetCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (GetCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (GetCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type GetCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type GetCalendarViewInstanceExceptionOccurrencesCountOperationOptions

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

func (GetCalendarViewInstanceExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetCalendarViewInstanceExceptionOccurrencesCountOperationOptions) ToOData

func (GetCalendarViewInstanceExceptionOccurrencesCountOperationOptions) ToQuery

type GetCalendarViewInstanceExceptionOccurrencesCountOperationResponse

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

type ListCalendarViewInstanceExceptionOccurrencesCompleteResult

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

type ListCalendarViewInstanceExceptionOccurrencesCustomPager

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

type ListCalendarViewInstanceExceptionOccurrencesOperationOptions

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

func (ListCalendarViewInstanceExceptionOccurrencesOperationOptions) ToOData

func (ListCalendarViewInstanceExceptionOccurrencesOperationOptions) ToQuery

type ListCalendarViewInstanceExceptionOccurrencesOperationResponse

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

type SnoozeCalendarViewInstanceExceptionOccurrenceReminderOperationOptions

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

func (SnoozeCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeCalendarViewInstanceExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeCalendarViewInstanceExceptionOccurrenceReminderOperationResponse

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

type SnoozeCalendarViewInstanceExceptionOccurrenceReminderRequest

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

type TentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationOptions

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

func (TentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptCalendarViewInstanceExceptionOccurrenceOperationResponse

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

type TentativelyAcceptCalendarViewInstanceExceptionOccurrenceRequest

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