setuserpreferredpresence

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSetUserPreferredPresencePostRequestBodyFromDiscriminatorValue

CreateSetUserPreferredPresencePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type SetUserPreferredPresencePostRequestBody

type SetUserPreferredPresencePostRequestBody struct {
	// contains filtered or unexported fields
}

SetUserPreferredPresencePostRequestBody provides operations to call the setUserPreferredPresence method.

func NewSetUserPreferredPresencePostRequestBody

func NewSetUserPreferredPresencePostRequestBody() *SetUserPreferredPresencePostRequestBody

NewSetUserPreferredPresencePostRequestBody instantiates a new setUserPreferredPresencePostRequestBody and sets the default values.

func (*SetUserPreferredPresencePostRequestBody) GetActivity

GetActivity gets the activity property value. The activity property

func (*SetUserPreferredPresencePostRequestBody) GetAdditionalData

func (m *SetUserPreferredPresencePostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SetUserPreferredPresencePostRequestBody) GetAvailability

func (m *SetUserPreferredPresencePostRequestBody) GetAvailability() *string

GetAvailability gets the availability property value. The availability property

func (*SetUserPreferredPresencePostRequestBody) GetExpirationDuration

GetExpirationDuration gets the expirationDuration property value. The expirationDuration property

func (*SetUserPreferredPresencePostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*SetUserPreferredPresencePostRequestBody) Serialize

Serialize serializes information the current object

func (*SetUserPreferredPresencePostRequestBody) SetActivity

func (m *SetUserPreferredPresencePostRequestBody) SetActivity(value *string)

SetActivity sets the activity property value. The activity property

func (*SetUserPreferredPresencePostRequestBody) SetAdditionalData

func (m *SetUserPreferredPresencePostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SetUserPreferredPresencePostRequestBody) SetAvailability

func (m *SetUserPreferredPresencePostRequestBody) SetAvailability(value *string)

SetAvailability sets the availability property value. The availability property

func (*SetUserPreferredPresencePostRequestBody) SetExpirationDuration

SetExpirationDuration sets the expirationDuration property value. The expirationDuration property

type SetUserPreferredPresencePostRequestBodyable

SetUserPreferredPresencePostRequestBodyable

type SetUserPreferredPresenceRequestBuilder

type SetUserPreferredPresenceRequestBuilder struct {
	// contains filtered or unexported fields
}

SetUserPreferredPresenceRequestBuilder provides operations to call the setUserPreferredPresence method.

func NewSetUserPreferredPresenceRequestBuilder

NewSetUserPreferredPresenceRequestBuilder instantiates a new SetUserPreferredPresenceRequestBuilder and sets the default values.

func NewSetUserPreferredPresenceRequestBuilderInternal

func NewSetUserPreferredPresenceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SetUserPreferredPresenceRequestBuilder

NewSetUserPreferredPresenceRequestBuilderInternal instantiates a new SetUserPreferredPresenceRequestBuilder and sets the default values.

func (*SetUserPreferredPresenceRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as `Offline`. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration.

func (*SetUserPreferredPresenceRequestBuilder) Post

Post set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as `Offline`. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration.

type SetUserPreferredPresenceRequestBuilderPostRequestConfiguration

type SetUserPreferredPresenceRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SetUserPreferredPresenceRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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