Documentation
¶
Index ¶
- func CreateSetUserPreferredPresencePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type SetUserPreferredPresencePostRequestBody
- func (m *SetUserPreferredPresencePostRequestBody) GetActivity() *string
- func (m *SetUserPreferredPresencePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *SetUserPreferredPresencePostRequestBody) GetAvailability() *string
- func (m *SetUserPreferredPresencePostRequestBody) GetExpirationDuration() *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration
- func (m *SetUserPreferredPresencePostRequestBody) GetFieldDeserializers() ...
- func (m *SetUserPreferredPresencePostRequestBody) Serialize(...) error
- func (m *SetUserPreferredPresencePostRequestBody) SetActivity(value *string)
- func (m *SetUserPreferredPresencePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *SetUserPreferredPresencePostRequestBody) SetAvailability(value *string)
- func (m *SetUserPreferredPresencePostRequestBody) SetExpirationDuration(...)
- type SetUserPreferredPresencePostRequestBodyable
- type SetUserPreferredPresenceRequestBuilder
- type SetUserPreferredPresenceRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSetUserPreferredPresencePostRequestBodyFromDiscriminatorValue ¶
func CreateSetUserPreferredPresencePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func (m *SetUserPreferredPresencePostRequestBody) GetActivity() *string
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 ¶
func (m *SetUserPreferredPresencePostRequestBody) GetExpirationDuration() *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration
GetExpirationDuration gets the expirationDuration property value. The expirationDuration property
func (*SetUserPreferredPresencePostRequestBody) GetFieldDeserializers ¶
func (m *SetUserPreferredPresencePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*SetUserPreferredPresencePostRequestBody) Serialize ¶
func (m *SetUserPreferredPresencePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *SetUserPreferredPresencePostRequestBody) SetExpirationDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)
SetExpirationDuration sets the expirationDuration property value. The expirationDuration property
type SetUserPreferredPresencePostRequestBodyable ¶
type SetUserPreferredPresencePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActivity() *string GetAvailability() *string GetExpirationDuration() *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration SetActivity(value *string) SetAvailability(value *string) SetExpirationDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) }
SetUserPreferredPresencePostRequestBodyable
type SetUserPreferredPresenceRequestBuilder ¶
type SetUserPreferredPresenceRequestBuilder struct {
// contains filtered or unexported fields
}
SetUserPreferredPresenceRequestBuilder provides operations to call the setUserPreferredPresence method.
func NewSetUserPreferredPresenceRequestBuilder ¶
func NewSetUserPreferredPresenceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SetUserPreferredPresenceRequestBuilder
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 ¶
func (m *SetUserPreferredPresenceRequestBuilder) CreatePostRequestInformation(ctx context.Context, body SetUserPreferredPresencePostRequestBodyable, requestConfiguration *SetUserPreferredPresenceRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *SetUserPreferredPresenceRequestBuilder) Post(ctx context.Context, body SetUserPreferredPresencePostRequestBodyable, requestConfiguration *SetUserPreferredPresenceRequestBuilderPostRequestConfiguration) error
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.