onlinemeeting

package
v0.20241118.1115603 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/onlinemeeting Documentation

The onlinemeeting SDK allows for interaction with Microsoft Graph users (API Version stable).

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/users/stable/onlinemeeting"

Client Initialization

client := onlinemeeting.NewOnlineMeetingClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: OnlineMeetingClient.CreateOnlineMeeting

ctx := context.TODO()
id := onlinemeeting.NewUserID("userId")

payload := onlinemeeting.OnlineMeeting{
	// ...
}


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

Example Usage: OnlineMeetingClient.CreateOrGetOnlineMeetings

ctx := context.TODO()
id := onlinemeeting.NewUserID("userId")

payload := onlinemeeting.CreateOrGetOnlineMeetingsRequest{
	// ...
}


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

Example Usage: OnlineMeetingClient.DeleteOnlineMeeting

ctx := context.TODO()
id := onlinemeeting.NewUserIdOnlineMeetingID("userId", "onlineMeetingId")

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

Example Usage: OnlineMeetingClient.GetOnlineMeeting

ctx := context.TODO()
id := onlinemeeting.NewUserIdOnlineMeetingID("userId", "onlineMeetingId")

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

Example Usage: OnlineMeetingClient.GetOnlineMeetingsCount

ctx := context.TODO()
id := onlinemeeting.NewUserID("userId")

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

Example Usage: OnlineMeetingClient.ListOnlineMeetings

ctx := context.TODO()
id := onlinemeeting.NewUserID("userId")

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

Example Usage: OnlineMeetingClient.SendOnlineMeetingVirtualAppointmentReminderSms

ctx := context.TODO()
id := onlinemeeting.NewUserIdOnlineMeetingID("userId", "onlineMeetingId")

payload := onlinemeeting.SendOnlineMeetingVirtualAppointmentReminderSmsRequest{
	// ...
}


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

Example Usage: OnlineMeetingClient.SendOnlineMeetingVirtualAppointmentSms

ctx := context.TODO()
id := onlinemeeting.NewUserIdOnlineMeetingID("userId", "onlineMeetingId")

payload := onlinemeeting.SendOnlineMeetingVirtualAppointmentSmsRequest{
	// ...
}


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

Example Usage: OnlineMeetingClient.UpdateOnlineMeeting

ctx := context.TODO()
id := onlinemeeting.NewUserIdOnlineMeetingID("userId", "onlineMeetingId")

payload := onlinemeeting.OnlineMeeting{
	// ...
}


read, err := client.UpdateOnlineMeeting(ctx, id, payload, onlinemeeting.DefaultUpdateOnlineMeetingOperationOptions())
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 CreateOnlineMeetingOperationOptions

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

func DefaultCreateOnlineMeetingOperationOptions

func DefaultCreateOnlineMeetingOperationOptions() CreateOnlineMeetingOperationOptions

func (CreateOnlineMeetingOperationOptions) ToHeaders

func (CreateOnlineMeetingOperationOptions) ToOData

func (CreateOnlineMeetingOperationOptions) ToQuery

type CreateOnlineMeetingOperationResponse

type CreateOnlineMeetingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnlineMeeting
}

type CreateOrGetOnlineMeetingsOperationOptions

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

func DefaultCreateOrGetOnlineMeetingsOperationOptions

func DefaultCreateOrGetOnlineMeetingsOperationOptions() CreateOrGetOnlineMeetingsOperationOptions

func (CreateOrGetOnlineMeetingsOperationOptions) ToHeaders

func (CreateOrGetOnlineMeetingsOperationOptions) ToOData

func (CreateOrGetOnlineMeetingsOperationOptions) ToQuery

type CreateOrGetOnlineMeetingsOperationResponse

type CreateOrGetOnlineMeetingsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnlineMeeting
}

type CreateOrGetOnlineMeetingsRequest

type CreateOrGetOnlineMeetingsRequest struct {
	ChatInfo      *stable.ChatInfo            `json:"chatInfo,omitempty"`
	EndDateTime   nullable.Type[string]       `json:"endDateTime,omitempty"`
	ExternalId    *string                     `json:"externalId,omitempty"`
	Participants  *stable.MeetingParticipants `json:"participants,omitempty"`
	StartDateTime nullable.Type[string]       `json:"startDateTime,omitempty"`
	Subject       nullable.Type[string]       `json:"subject,omitempty"`
}

type DeleteOnlineMeetingOperationOptions

type DeleteOnlineMeetingOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteOnlineMeetingOperationOptions

func DefaultDeleteOnlineMeetingOperationOptions() DeleteOnlineMeetingOperationOptions

func (DeleteOnlineMeetingOperationOptions) ToHeaders

func (DeleteOnlineMeetingOperationOptions) ToOData

func (DeleteOnlineMeetingOperationOptions) ToQuery

type DeleteOnlineMeetingOperationResponse

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

type GetOnlineMeetingOperationOptions

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

func DefaultGetOnlineMeetingOperationOptions

func DefaultGetOnlineMeetingOperationOptions() GetOnlineMeetingOperationOptions

func (GetOnlineMeetingOperationOptions) ToHeaders

func (GetOnlineMeetingOperationOptions) ToOData

func (GetOnlineMeetingOperationOptions) ToQuery

type GetOnlineMeetingOperationResponse

type GetOnlineMeetingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnlineMeeting
}

type GetOnlineMeetingsCountOperationOptions

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

func DefaultGetOnlineMeetingsCountOperationOptions

func DefaultGetOnlineMeetingsCountOperationOptions() GetOnlineMeetingsCountOperationOptions

func (GetOnlineMeetingsCountOperationOptions) ToHeaders

func (GetOnlineMeetingsCountOperationOptions) ToOData

func (GetOnlineMeetingsCountOperationOptions) ToQuery

type GetOnlineMeetingsCountOperationResponse

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

type ListOnlineMeetingsCompleteResult

type ListOnlineMeetingsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.OnlineMeeting
}

type ListOnlineMeetingsCustomPager

type ListOnlineMeetingsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListOnlineMeetingsCustomPager) NextPageLink() *odata.Link

type ListOnlineMeetingsOperationOptions

type ListOnlineMeetingsOperationOptions 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 DefaultListOnlineMeetingsOperationOptions

func DefaultListOnlineMeetingsOperationOptions() ListOnlineMeetingsOperationOptions

func (ListOnlineMeetingsOperationOptions) ToHeaders

func (ListOnlineMeetingsOperationOptions) ToOData

func (ListOnlineMeetingsOperationOptions) ToQuery

type ListOnlineMeetingsOperationResponse

type ListOnlineMeetingsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.OnlineMeeting
}

type OnlineMeetingClient

type OnlineMeetingClient struct {
	Client *msgraph.Client
}

func NewOnlineMeetingClientWithBaseURI

func NewOnlineMeetingClientWithBaseURI(sdkApi sdkEnv.Api) (*OnlineMeetingClient, error)

func (OnlineMeetingClient) CreateOnlineMeeting

CreateOnlineMeeting - Create new navigation property to onlineMeetings for users

func (OnlineMeetingClient) CreateOrGetOnlineMeetings

CreateOrGetOnlineMeetings - Invoke action createOrGet. Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID.

func (OnlineMeetingClient) DeleteOnlineMeeting

DeleteOnlineMeeting - Delete navigation property onlineMeetings for users

func (OnlineMeetingClient) GetOnlineMeeting

GetOnlineMeeting - Get onlineMeetings from users. Information about a meeting, including the URL used to join a meeting, the attendees list, and the description.

func (OnlineMeetingClient) GetOnlineMeetingsCount

GetOnlineMeetingsCount - Get the number of the resource

func (OnlineMeetingClient) ListOnlineMeetings

ListOnlineMeetings - Get onlineMeetings from users. Information about a meeting, including the URL used to join a meeting, the attendees list, and the description.

func (OnlineMeetingClient) ListOnlineMeetingsComplete

ListOnlineMeetingsComplete retrieves all the results into a single object

func (OnlineMeetingClient) ListOnlineMeetingsCompleteMatchingPredicate

func (c OnlineMeetingClient) ListOnlineMeetingsCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListOnlineMeetingsOperationOptions, predicate OnlineMeetingOperationPredicate) (result ListOnlineMeetingsCompleteResult, err error)

ListOnlineMeetingsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OnlineMeetingClient) SendOnlineMeetingVirtualAppointmentReminderSms

SendOnlineMeetingVirtualAppointmentReminderSms - Invoke action sendVirtualAppointmentReminderSms. Send an SMS reminder to external attendees for a Teams virtual appointment. This feature requires Teams premium and attendees must have a valid United States phone number to receive SMS notifications.

func (OnlineMeetingClient) SendOnlineMeetingVirtualAppointmentSms

SendOnlineMeetingVirtualAppointmentSms - Invoke action sendVirtualAppointmentSms. Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications.

func (OnlineMeetingClient) UpdateOnlineMeeting

UpdateOnlineMeeting - Update the navigation property onlineMeetings in users

type OnlineMeetingOperationPredicate

type OnlineMeetingOperationPredicate struct {
}

func (OnlineMeetingOperationPredicate) Matches

type SendOnlineMeetingVirtualAppointmentReminderSmsOperationOptions

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

func (SendOnlineMeetingVirtualAppointmentReminderSmsOperationOptions) ToHeaders

func (SendOnlineMeetingVirtualAppointmentReminderSmsOperationOptions) ToOData

func (SendOnlineMeetingVirtualAppointmentReminderSmsOperationOptions) ToQuery

type SendOnlineMeetingVirtualAppointmentReminderSmsOperationResponse

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

type SendOnlineMeetingVirtualAppointmentReminderSmsRequest

type SendOnlineMeetingVirtualAppointmentReminderSmsRequest struct {
	Attendees                     *[]stable.AttendeeNotificationInfo    `json:"attendees,omitempty"`
	RemindBeforeTimeInMinutesType *stable.RemindBeforeTimeInMinutesType `json:"remindBeforeTimeInMinutesType,omitempty"`
}

type SendOnlineMeetingVirtualAppointmentSmsOperationOptions

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

func DefaultSendOnlineMeetingVirtualAppointmentSmsOperationOptions

func DefaultSendOnlineMeetingVirtualAppointmentSmsOperationOptions() SendOnlineMeetingVirtualAppointmentSmsOperationOptions

func (SendOnlineMeetingVirtualAppointmentSmsOperationOptions) ToHeaders

func (SendOnlineMeetingVirtualAppointmentSmsOperationOptions) ToOData

func (SendOnlineMeetingVirtualAppointmentSmsOperationOptions) ToQuery

type SendOnlineMeetingVirtualAppointmentSmsOperationResponse

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

type SendOnlineMeetingVirtualAppointmentSmsRequest

type SendOnlineMeetingVirtualAppointmentSmsRequest struct {
	Attendees   *[]stable.AttendeeNotificationInfo    `json:"attendees,omitempty"`
	MessageType *stable.VirtualAppointmentMessageType `json:"messageType,omitempty"`
}

type UpdateOnlineMeetingOperationOptions

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

func DefaultUpdateOnlineMeetingOperationOptions

func DefaultUpdateOnlineMeetingOperationOptions() UpdateOnlineMeetingOperationOptions

func (UpdateOnlineMeetingOperationOptions) ToHeaders

func (UpdateOnlineMeetingOperationOptions) ToOData

func (UpdateOnlineMeetingOperationOptions) ToQuery

type UpdateOnlineMeetingOperationResponse

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL