calendareventexceptionoccurrence

package
v0.20241023.1122425 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := calendareventexceptionoccurrence.NewCalendarEventExceptionOccurrenceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CalendarEventExceptionOccurrenceClient.AcceptCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.AcceptCalendarEventExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventExceptionOccurrenceClient.CancelCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.CancelCalendarEventExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventExceptionOccurrenceClient.DeclineCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.DeclineCalendarEventExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventExceptionOccurrenceClient.DismissCalendarEventExceptionOccurrenceReminder

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarEventExceptionOccurrenceClient.ForwardCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.ForwardCalendarEventExceptionOccurrenceRequest{
	// ...
}


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

Example Usage: CalendarEventExceptionOccurrenceClient.GetCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarEventExceptionOccurrenceClient.GetCalendarEventExceptionOccurrencesCount

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventID("groupId", "eventId")

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

Example Usage: CalendarEventExceptionOccurrenceClient.ListCalendarEventExceptionOccurrences

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventID("groupId", "eventId")

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

Example Usage: CalendarEventExceptionOccurrenceClient.SnoozeCalendarEventExceptionOccurrenceReminder

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.SnoozeCalendarEventExceptionOccurrenceReminderRequest{
	// ...
}


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

Example Usage: CalendarEventExceptionOccurrenceClient.TentativelyAcceptCalendarEventExceptionOccurrence

ctx := context.TODO()
id := calendareventexceptionoccurrence.NewGroupIdCalendarEventIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

payload := calendareventexceptionoccurrence.TentativelyAcceptCalendarEventExceptionOccurrenceRequest{
	// ...
}


read, err := client.TentativelyAcceptCalendarEventExceptionOccurrence(ctx, id, payload, calendareventexceptionoccurrence.DefaultTentativelyAcceptCalendarEventExceptionOccurrenceOperationOptions())
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 AcceptCalendarEventExceptionOccurrenceOperationOptions

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

func DefaultAcceptCalendarEventExceptionOccurrenceOperationOptions

func DefaultAcceptCalendarEventExceptionOccurrenceOperationOptions() AcceptCalendarEventExceptionOccurrenceOperationOptions

func (AcceptCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (AcceptCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (AcceptCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type AcceptCalendarEventExceptionOccurrenceOperationResponse

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

type AcceptCalendarEventExceptionOccurrenceRequest

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

type CalendarEventExceptionOccurrenceClient

type CalendarEventExceptionOccurrenceClient struct {
	Client *msgraph.Client
}

func NewCalendarEventExceptionOccurrenceClientWithBaseURI

func NewCalendarEventExceptionOccurrenceClientWithBaseURI(sdkApi sdkEnv.Api) (*CalendarEventExceptionOccurrenceClient, error)

func (CalendarEventExceptionOccurrenceClient) AcceptCalendarEventExceptionOccurrence

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

func (CalendarEventExceptionOccurrenceClient) CancelCalendarEventExceptionOccurrence

CancelCalendarEventExceptionOccurrence - 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 (CalendarEventExceptionOccurrenceClient) DeclineCalendarEventExceptionOccurrence

DeclineCalendarEventExceptionOccurrence - 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 (CalendarEventExceptionOccurrenceClient) DismissCalendarEventExceptionOccurrenceReminder

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

func (CalendarEventExceptionOccurrenceClient) ForwardCalendarEventExceptionOccurrence

ForwardCalendarEventExceptionOccurrence - 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 (CalendarEventExceptionOccurrenceClient) GetCalendarEventExceptionOccurrence

GetCalendarEventExceptionOccurrence - Get exceptionOccurrences from groups

func (CalendarEventExceptionOccurrenceClient) GetCalendarEventExceptionOccurrencesCount

GetCalendarEventExceptionOccurrencesCount - Get the number of the resource

func (CalendarEventExceptionOccurrenceClient) ListCalendarEventExceptionOccurrences

ListCalendarEventExceptionOccurrences - Get exceptionOccurrences from groups

func (CalendarEventExceptionOccurrenceClient) ListCalendarEventExceptionOccurrencesComplete

ListCalendarEventExceptionOccurrencesComplete retrieves all the results into a single object

func (CalendarEventExceptionOccurrenceClient) ListCalendarEventExceptionOccurrencesCompleteMatchingPredicate

ListCalendarEventExceptionOccurrencesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CalendarEventExceptionOccurrenceClient) SnoozeCalendarEventExceptionOccurrenceReminder

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

func (CalendarEventExceptionOccurrenceClient) TentativelyAcceptCalendarEventExceptionOccurrence

TentativelyAcceptCalendarEventExceptionOccurrence - 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 CancelCalendarEventExceptionOccurrenceOperationOptions

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

func DefaultCancelCalendarEventExceptionOccurrenceOperationOptions

func DefaultCancelCalendarEventExceptionOccurrenceOperationOptions() CancelCalendarEventExceptionOccurrenceOperationOptions

func (CancelCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (CancelCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (CancelCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type CancelCalendarEventExceptionOccurrenceOperationResponse

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

type CancelCalendarEventExceptionOccurrenceRequest

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

type DeclineCalendarEventExceptionOccurrenceOperationOptions

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

func (DeclineCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (DeclineCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (DeclineCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type DeclineCalendarEventExceptionOccurrenceOperationResponse

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

type DeclineCalendarEventExceptionOccurrenceRequest

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

type DismissCalendarEventExceptionOccurrenceReminderOperationOptions

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

func (DismissCalendarEventExceptionOccurrenceReminderOperationOptions) ToHeaders

func (DismissCalendarEventExceptionOccurrenceReminderOperationOptions) ToOData

func (DismissCalendarEventExceptionOccurrenceReminderOperationOptions) ToQuery

type DismissCalendarEventExceptionOccurrenceReminderOperationResponse

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

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

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

type ForwardCalendarEventExceptionOccurrenceOperationOptions

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

func (ForwardCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (ForwardCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (ForwardCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type ForwardCalendarEventExceptionOccurrenceOperationResponse

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

type ForwardCalendarEventExceptionOccurrenceRequest

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

type GetCalendarEventExceptionOccurrenceOperationOptions

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

func DefaultGetCalendarEventExceptionOccurrenceOperationOptions

func DefaultGetCalendarEventExceptionOccurrenceOperationOptions() GetCalendarEventExceptionOccurrenceOperationOptions

func (GetCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (GetCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (GetCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type GetCalendarEventExceptionOccurrenceOperationResponse

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

type GetCalendarEventExceptionOccurrencesCountOperationOptions

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

func (GetCalendarEventExceptionOccurrencesCountOperationOptions) ToHeaders

func (GetCalendarEventExceptionOccurrencesCountOperationOptions) ToOData

func (GetCalendarEventExceptionOccurrencesCountOperationOptions) ToQuery

type GetCalendarEventExceptionOccurrencesCountOperationResponse

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

type ListCalendarEventExceptionOccurrencesCompleteResult

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

type ListCalendarEventExceptionOccurrencesCustomPager

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

type ListCalendarEventExceptionOccurrencesOperationOptions

type ListCalendarEventExceptionOccurrencesOperationOptions 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 DefaultListCalendarEventExceptionOccurrencesOperationOptions

func DefaultListCalendarEventExceptionOccurrencesOperationOptions() ListCalendarEventExceptionOccurrencesOperationOptions

func (ListCalendarEventExceptionOccurrencesOperationOptions) ToHeaders

func (ListCalendarEventExceptionOccurrencesOperationOptions) ToOData

func (ListCalendarEventExceptionOccurrencesOperationOptions) ToQuery

type ListCalendarEventExceptionOccurrencesOperationResponse

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

type SnoozeCalendarEventExceptionOccurrenceReminderOperationOptions

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

func (SnoozeCalendarEventExceptionOccurrenceReminderOperationOptions) ToHeaders

func (SnoozeCalendarEventExceptionOccurrenceReminderOperationOptions) ToOData

func (SnoozeCalendarEventExceptionOccurrenceReminderOperationOptions) ToQuery

type SnoozeCalendarEventExceptionOccurrenceReminderOperationResponse

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

type SnoozeCalendarEventExceptionOccurrenceReminderRequest

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

type TentativelyAcceptCalendarEventExceptionOccurrenceOperationOptions

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

func (TentativelyAcceptCalendarEventExceptionOccurrenceOperationOptions) ToHeaders

func (TentativelyAcceptCalendarEventExceptionOccurrenceOperationOptions) ToOData

func (TentativelyAcceptCalendarEventExceptionOccurrenceOperationOptions) ToQuery

type TentativelyAcceptCalendarEventExceptionOccurrenceOperationResponse

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

type TentativelyAcceptCalendarEventExceptionOccurrenceRequest

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