calendarviewexceptionoccurrenceinstance

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/calendarviewexceptionoccurrenceinstance Documentation

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

Client Initialization

client := calendarviewexceptionoccurrenceinstance.NewCalendarViewExceptionOccurrenceInstanceClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.AcceptCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.AcceptCalendarViewExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.CancelCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.CancelCalendarViewExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.DeclineCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.DeclineCalendarViewExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.DismissCalendarViewExceptionOccurrenceInstanceReminder

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.ForwardCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.ForwardCalendarViewExceptionOccurrenceInstanceRequest{
	// ...
}


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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.GetCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.GetCalendarViewExceptionOccurrenceInstancesCount

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.ListCalendarViewExceptionOccurrenceInstances

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceID("groupId", "eventId", "eventId1")

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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.SnoozeCalendarViewExceptionOccurrenceInstanceReminder

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.SnoozeCalendarViewExceptionOccurrenceInstanceReminderRequest{
	// ...
}


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

Example Usage: CalendarViewExceptionOccurrenceInstanceClient.TentativelyAcceptCalendarViewExceptionOccurrenceInstance

ctx := context.TODO()
id := calendarviewexceptionoccurrenceinstance.NewGroupIdCalendarViewIdExceptionOccurrenceIdInstanceID("groupId", "eventId", "eventId1", "eventId2")

payload := calendarviewexceptionoccurrenceinstance.TentativelyAcceptCalendarViewExceptionOccurrenceInstanceRequest{
	// ...
}


read, err := client.TentativelyAcceptCalendarViewExceptionOccurrenceInstance(ctx, id, payload, calendarviewexceptionoccurrenceinstance.DefaultTentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationOptions())
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 AcceptCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (AcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (AcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (AcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type AcceptCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type AcceptCalendarViewExceptionOccurrenceInstanceRequest

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

type CalendarViewExceptionOccurrenceInstanceClient

type CalendarViewExceptionOccurrenceInstanceClient struct {
	Client *msgraph.Client
}

func NewCalendarViewExceptionOccurrenceInstanceClientWithBaseURI

func NewCalendarViewExceptionOccurrenceInstanceClientWithBaseURI(sdkApi sdkEnv.Api) (*CalendarViewExceptionOccurrenceInstanceClient, error)

func (CalendarViewExceptionOccurrenceInstanceClient) AcceptCalendarViewExceptionOccurrenceInstance

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

func (CalendarViewExceptionOccurrenceInstanceClient) CancelCalendarViewExceptionOccurrenceInstance

CancelCalendarViewExceptionOccurrenceInstance - 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 (CalendarViewExceptionOccurrenceInstanceClient) DeclineCalendarViewExceptionOccurrenceInstance

DeclineCalendarViewExceptionOccurrenceInstance - 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 (CalendarViewExceptionOccurrenceInstanceClient) DismissCalendarViewExceptionOccurrenceInstanceReminder

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

func (CalendarViewExceptionOccurrenceInstanceClient) ForwardCalendarViewExceptionOccurrenceInstance

ForwardCalendarViewExceptionOccurrenceInstance - 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 (CalendarViewExceptionOccurrenceInstanceClient) GetCalendarViewExceptionOccurrenceInstance

GetCalendarViewExceptionOccurrenceInstance - Get instances from groups. 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 (CalendarViewExceptionOccurrenceInstanceClient) GetCalendarViewExceptionOccurrenceInstancesCount

GetCalendarViewExceptionOccurrenceInstancesCount - Get the number of the resource

func (CalendarViewExceptionOccurrenceInstanceClient) ListCalendarViewExceptionOccurrenceInstances

ListCalendarViewExceptionOccurrenceInstances - Get instances from groups. 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 (CalendarViewExceptionOccurrenceInstanceClient) ListCalendarViewExceptionOccurrenceInstancesComplete

ListCalendarViewExceptionOccurrenceInstancesComplete retrieves all the results into a single object

func (CalendarViewExceptionOccurrenceInstanceClient) ListCalendarViewExceptionOccurrenceInstancesCompleteMatchingPredicate

ListCalendarViewExceptionOccurrenceInstancesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CalendarViewExceptionOccurrenceInstanceClient) SnoozeCalendarViewExceptionOccurrenceInstanceReminder

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

func (CalendarViewExceptionOccurrenceInstanceClient) TentativelyAcceptCalendarViewExceptionOccurrenceInstance

TentativelyAcceptCalendarViewExceptionOccurrenceInstance - 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 CancelCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (CancelCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (CancelCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (CancelCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type CancelCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type CancelCalendarViewExceptionOccurrenceInstanceRequest

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

type DeclineCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (DeclineCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (DeclineCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (DeclineCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type DeclineCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type DeclineCalendarViewExceptionOccurrenceInstanceRequest

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

type DismissCalendarViewExceptionOccurrenceInstanceReminderOperationOptions

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

func (DismissCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToHeaders

func (DismissCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToOData

func (DismissCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToQuery

type DismissCalendarViewExceptionOccurrenceInstanceReminderOperationResponse

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

type EventOperationPredicate

type EventOperationPredicate struct {
}

func (EventOperationPredicate) Matches

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

type ForwardCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (ForwardCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (ForwardCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (ForwardCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type ForwardCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type ForwardCalendarViewExceptionOccurrenceInstanceRequest

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

type GetCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (GetCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (GetCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (GetCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type GetCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type GetCalendarViewExceptionOccurrenceInstancesCountOperationOptions

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

func (GetCalendarViewExceptionOccurrenceInstancesCountOperationOptions) ToHeaders

func (GetCalendarViewExceptionOccurrenceInstancesCountOperationOptions) ToOData

func (GetCalendarViewExceptionOccurrenceInstancesCountOperationOptions) ToQuery

type GetCalendarViewExceptionOccurrenceInstancesCountOperationResponse

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

type ListCalendarViewExceptionOccurrenceInstancesCompleteResult

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

type ListCalendarViewExceptionOccurrenceInstancesCustomPager

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

type ListCalendarViewExceptionOccurrenceInstancesOperationOptions

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

func (ListCalendarViewExceptionOccurrenceInstancesOperationOptions) ToOData

func (ListCalendarViewExceptionOccurrenceInstancesOperationOptions) ToQuery

type ListCalendarViewExceptionOccurrenceInstancesOperationResponse

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

type SnoozeCalendarViewExceptionOccurrenceInstanceReminderOperationOptions

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

func (SnoozeCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToHeaders

func (SnoozeCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToOData

func (SnoozeCalendarViewExceptionOccurrenceInstanceReminderOperationOptions) ToQuery

type SnoozeCalendarViewExceptionOccurrenceInstanceReminderOperationResponse

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

type SnoozeCalendarViewExceptionOccurrenceInstanceReminderRequest

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

type TentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationOptions

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

func (TentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToHeaders

func (TentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToOData

func (TentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationOptions) ToQuery

type TentativelyAcceptCalendarViewExceptionOccurrenceInstanceOperationResponse

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

type TentativelyAcceptCalendarViewExceptionOccurrenceInstanceRequest

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