onlinemeeting

package
v0.20241021.1074254 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/onlinemeeting Documentation

The onlinemeeting SDK allows for interaction with Microsoft Graph me (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/me/beta/onlinemeeting"

Client Initialization

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

Example Usage: OnlineMeetingClient.CreateOnlineMeeting

ctx := context.TODO()

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


read, err := client.CreateOnlineMeeting(ctx, 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()

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


read, err := client.CreateOrGetOnlineMeetings(ctx, 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.NewMeOnlineMeetingID("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.NewMeOnlineMeetingID("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()


read, err := client.GetOnlineMeetingsCount(ctx, 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()


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

Example Usage: OnlineMeetingClient.SendOnlineMeetingVirtualAppointmentReminderSms

ctx := context.TODO()
id := onlinemeeting.NewMeOnlineMeetingID("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.NewMeOnlineMeetingID("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.NewMeOnlineMeetingID("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        *beta.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        *beta.OnlineMeeting
}

type CreateOrGetOnlineMeetingsRequest

type CreateOrGetOnlineMeetingsRequest struct {
	ChatInfo      *beta.ChatInfo            `json:"chatInfo,omitempty"`
	EndDateTime   nullable.Type[string]     `json:"endDateTime,omitempty"`
	ExternalId    *string                   `json:"externalId,omitempty"`
	Participants  *beta.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        *beta.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              []beta.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        *[]beta.OnlineMeeting
}

type OnlineMeetingClient

type OnlineMeetingClient struct {
	Client *msgraph.Client
}

func NewOnlineMeetingClientWithBaseURI

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

func (OnlineMeetingClient) CreateOnlineMeeting

CreateOnlineMeeting - Create onlineMeeting. Create an online meeting on behalf of a user.

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 onlineMeeting. Delete an onlineMeeting object.

func (OnlineMeetingClient) GetOnlineMeeting

GetOnlineMeeting - Get onlineMeetings from me. 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 onlineMeeting. Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions.

func (OnlineMeetingClient) ListOnlineMeetingsComplete

ListOnlineMeetingsComplete retrieves all the results into a single object

func (OnlineMeetingClient) ListOnlineMeetingsCompleteMatchingPredicate

func (c OnlineMeetingClient) ListOnlineMeetingsCompleteMatchingPredicate(ctx context.Context, 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 onlineMeeting. Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating.

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                     *[]beta.AttendeeNotificationInfo    `json:"attendees,omitempty"`
	RemindBeforeTimeInMinutesType *beta.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   *[]beta.AttendeeNotificationInfo    `json:"attendees,omitempty"`
	MessageType *beta.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