calendarcalendarviewexceptionoccurrence

package
v0.20241128.1112539 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := calendarcalendarviewexceptionoccurrence.NewCalendarCalendarViewExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.AcceptCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.AcceptCalendarViewExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.CancelCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.CancelCalendarViewExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.DeclineCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.DeclineCalendarViewExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.DismissCalendarViewExceptionOccurrenceReminder

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.ForwardCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.ForwardCalendarViewExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.GetCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.GetCalendarViewExceptionOccurrencesCount

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewID("groupId", "eventId")

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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.ListCalendarViewExceptionOccurrences

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewID("groupId", "eventId")

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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.SnoozeCalendarViewExceptionOccurrenceReminder

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.SnoozeCalendarViewExceptionOccurrenceReminderRequest{
	// ...
}


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

Example Usage: CalendarCalendarViewExceptionOccurrenceClient.TentativelyAcceptCalendarViewExceptionOccurrence

ctx := context.TODO()
id := calendarcalendarviewexceptionoccurrence.NewGroupIdCalendarCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendarcalendarviewexceptionoccurrence.TentativelyAcceptCalendarViewExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptCalendarViewExceptionOccurrence(ctx, id, payload, calendarcalendarviewexceptionoccurrence.DefaultTentativelyAcceptCalendarViewExceptionOccurrenceOperationOptions())
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 AcceptCalendarViewExceptionOccurrenceOperationOptions

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

func DefaultAcceptCalendarViewExceptionOccurrenceOperationOptions

func DefaultAcceptCalendarViewExceptionOccurrenceOperationOptions() AcceptCalendarViewExceptionOccurrenceOperationOptions

func (AcceptCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (AcceptCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type AcceptCalendarViewExceptionOccurrenceOperationResponse

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

type AcceptCalendarViewExceptionOccurrenceRequest

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

type CalendarCalendarViewExceptionOccurrenceClient

type CalendarCalendarViewExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewCalendarCalendarViewExceptionOccurrenceClientWithBaseURI

func NewCalendarCalendarViewExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*CalendarCalendarViewExceptionOccurrenceClient, error)

func (CalendarCalendarViewExceptionOccurrenceClient) AcceptCalendarViewExceptionOccurrence

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

func (CalendarCalendarViewExceptionOccurrenceClient) CancelCalendarViewExceptionOccurrence

CancelCalendarViewExceptionOccurrence - 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 (CalendarCalendarViewExceptionOccurrenceClient) DeclineCalendarViewExceptionOccurrence

DeclineCalendarViewExceptionOccurrence - 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 (CalendarCalendarViewExceptionOccurrenceClient) DismissCalendarViewExceptionOccurrenceReminder

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

func (CalendarCalendarViewExceptionOccurrenceClient) ForwardCalendarViewExceptionOccurrence

ForwardCalendarViewExceptionOccurrence - 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 (CalendarCalendarViewExceptionOccurrenceClient) GetCalendarViewExceptionOccurrence

GetCalendarViewExceptionOccurrence - Get exceptionOccurrences from groups

func (CalendarCalendarViewExceptionOccurrenceClient) GetCalendarViewExceptionOccurrencesCount

GetCalendarViewExceptionOccurrencesCount - Get the number of the resource

func (CalendarCalendarViewExceptionOccurrenceClient) ListCalendarViewExceptionOccurrences

ListCalendarViewExceptionOccurrences - Get exceptionOccurrences from groups

func (CalendarCalendarViewExceptionOccurrenceClient) ListCalendarViewExceptionOccurrencesComplete

ListCalendarViewExceptionOccurrencesComplete retrieves all the results into a single object

func (CalendarCalendarViewExceptionOccurrenceClient) ListCalendarViewExceptionOccurrencesCompleteMatchingPredicate

ListCalendarViewExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CalendarCalendarViewExceptionOccurrenceClient) SnoozeCalendarViewExceptionOccurrenceReminder

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

func (CalendarCalendarViewExceptionOccurrenceClient) TentativelyAcceptCalendarViewExceptionOccurrence

TentativelyAcceptCalendarViewExceptionOccurrence - 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 CancelCalendarViewExceptionOccurrenceOperationOptions

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

func DefaultCancelCalendarViewExceptionOccurrenceOperationOptions

func DefaultCancelCalendarViewExceptionOccurrenceOperationOptions() CancelCalendarViewExceptionOccurrenceOperationOptions

func (CancelCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (CancelCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (CancelCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type CancelCalendarViewExceptionOccurrenceOperationResponse

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

type CancelCalendarViewExceptionOccurrenceRequest

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

type DeclineCalendarViewExceptionOccurrenceOperationOptions

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

func DefaultDeclineCalendarViewExceptionOccurrenceOperationOptions

func DefaultDeclineCalendarViewExceptionOccurrenceOperationOptions() DeclineCalendarViewExceptionOccurrenceOperationOptions

func (DeclineCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (DeclineCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type DeclineCalendarViewExceptionOccurrenceOperationResponse

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

type DeclineCalendarViewExceptionOccurrenceRequest

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

type DismissCalendarViewExceptionOccurrenceReminderOperationOptions

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

func (DismissCalendarViewExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissCalendarViewExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissCalendarViewExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissCalendarViewExceptionOccurrenceReminderOperationResponse

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

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

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

type ForwardCalendarViewExceptionOccurrenceOperationOptions

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

func DefaultForwardCalendarViewExceptionOccurrenceOperationOptions

func DefaultForwardCalendarViewExceptionOccurrenceOperationOptions() ForwardCalendarViewExceptionOccurrenceOperationOptions

func (ForwardCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (ForwardCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type ForwardCalendarViewExceptionOccurrenceOperationResponse

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

type ForwardCalendarViewExceptionOccurrenceRequest

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

type GetCalendarViewExceptionOccurrenceOperationOptions

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

func DefaultGetCalendarViewExceptionOccurrenceOperationOptions

func DefaultGetCalendarViewExceptionOccurrenceOperationOptions() GetCalendarViewExceptionOccurrenceOperationOptions

func (GetCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (GetCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (GetCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type GetCalendarViewExceptionOccurrenceOperationResponse

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

type GetCalendarViewExceptionOccurrencesCountOperationOptions

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

func (GetCalendarViewExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetCalendarViewExceptionOccurrencesCountOperationOptions) ToOData

func (GetCalendarViewExceptionOccurrencesCountOperationOptions) ToQuery

type GetCalendarViewExceptionOccurrencesCountOperationResponse

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

type ListCalendarViewExceptionOccurrencesCompleteResult

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

type ListCalendarViewExceptionOccurrencesCustomPager

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

type ListCalendarViewExceptionOccurrencesOperationOptions

type ListCalendarViewExceptionOccurrencesOperationOptions 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 DefaultListCalendarViewExceptionOccurrencesOperationOptions

func DefaultListCalendarViewExceptionOccurrencesOperationOptions() ListCalendarViewExceptionOccurrencesOperationOptions

func (ListCalendarViewExceptionOccurrencesOperationOptions) ToHeaders

func (ListCalendarViewExceptionOccurrencesOperationOptions) ToOData

func (ListCalendarViewExceptionOccurrencesOperationOptions) ToQuery

type ListCalendarViewExceptionOccurrencesOperationResponse

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

type SnoozeCalendarViewExceptionOccurrenceReminderOperationOptions

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

func (SnoozeCalendarViewExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeCalendarViewExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeCalendarViewExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeCalendarViewExceptionOccurrenceReminderOperationResponse

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

type SnoozeCalendarViewExceptionOccurrenceReminderRequest

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

type TentativelyAcceptCalendarViewExceptionOccurrenceOperationOptions

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

func (TentativelyAcceptCalendarViewExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptCalendarViewExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptCalendarViewExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptCalendarViewExceptionOccurrenceOperationResponse

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

type TentativelyAcceptCalendarViewExceptionOccurrenceRequest

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