Documentation ¶
Index ¶
- type ClearPresencePresenceOperationOptions
- type ClearPresencePresenceOperationResponse
- type ClearPresencePresenceRequest
- type ClearPresenceUserPreferredPresenceOperationOptions
- type ClearPresenceUserPreferredPresenceOperationResponse
- type DeletePresenceOperationOptions
- type DeletePresenceOperationResponse
- type GetPresenceOperationOptions
- type GetPresenceOperationResponse
- type PresenceClient
- func (c PresenceClient) ClearPresencePresence(ctx context.Context, input ClearPresencePresenceRequest, ...) (result ClearPresencePresenceOperationResponse, err error)
- func (c PresenceClient) ClearPresenceUserPreferredPresence(ctx context.Context, ...) (result ClearPresenceUserPreferredPresenceOperationResponse, err error)
- func (c PresenceClient) DeletePresence(ctx context.Context, options DeletePresenceOperationOptions) (result DeletePresenceOperationResponse, err error)
- func (c PresenceClient) GetPresence(ctx context.Context, options GetPresenceOperationOptions) (result GetPresenceOperationResponse, err error)
- func (c PresenceClient) SetPresencePresence(ctx context.Context, input SetPresencePresenceRequest, ...) (result SetPresencePresenceOperationResponse, err error)
- func (c PresenceClient) SetPresenceStatusMessage(ctx context.Context, input SetPresenceStatusMessageRequest, ...) (result SetPresenceStatusMessageOperationResponse, err error)
- func (c PresenceClient) SetPresenceUserPreferredPresence(ctx context.Context, input SetPresenceUserPreferredPresenceRequest, ...) (result SetPresenceUserPreferredPresenceOperationResponse, err error)
- func (c PresenceClient) UpdatePresence(ctx context.Context, input beta.Presence, ...) (result UpdatePresenceOperationResponse, err error)
- type SetPresencePresenceOperationOptions
- type SetPresencePresenceOperationResponse
- type SetPresencePresenceRequest
- type SetPresenceStatusMessageOperationOptions
- type SetPresenceStatusMessageOperationResponse
- type SetPresenceStatusMessageRequest
- type SetPresenceUserPreferredPresenceOperationOptions
- type SetPresenceUserPreferredPresenceOperationResponse
- type SetPresenceUserPreferredPresenceRequest
- type UpdatePresenceOperationOptions
- type UpdatePresenceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClearPresencePresenceOperationOptions ¶
type ClearPresencePresenceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultClearPresencePresenceOperationOptions ¶
func DefaultClearPresencePresenceOperationOptions() ClearPresencePresenceOperationOptions
func (ClearPresencePresenceOperationOptions) ToHeaders ¶
func (o ClearPresencePresenceOperationOptions) ToHeaders() *client.Headers
func (ClearPresencePresenceOperationOptions) ToOData ¶
func (o ClearPresencePresenceOperationOptions) ToOData() *odata.Query
func (ClearPresencePresenceOperationOptions) ToQuery ¶
func (o ClearPresencePresenceOperationOptions) ToQuery() *client.QueryParams
type ClearPresenceUserPreferredPresenceOperationOptions ¶
type ClearPresenceUserPreferredPresenceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultClearPresenceUserPreferredPresenceOperationOptions ¶
func DefaultClearPresenceUserPreferredPresenceOperationOptions() ClearPresenceUserPreferredPresenceOperationOptions
func (ClearPresenceUserPreferredPresenceOperationOptions) ToHeaders ¶
func (o ClearPresenceUserPreferredPresenceOperationOptions) ToHeaders() *client.Headers
func (ClearPresenceUserPreferredPresenceOperationOptions) ToOData ¶
func (o ClearPresenceUserPreferredPresenceOperationOptions) ToOData() *odata.Query
func (ClearPresenceUserPreferredPresenceOperationOptions) ToQuery ¶
func (o ClearPresenceUserPreferredPresenceOperationOptions) ToQuery() *client.QueryParams
type DeletePresenceOperationOptions ¶
type DeletePresenceOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeletePresenceOperationOptions ¶
func DefaultDeletePresenceOperationOptions() DeletePresenceOperationOptions
func (DeletePresenceOperationOptions) ToHeaders ¶
func (o DeletePresenceOperationOptions) ToHeaders() *client.Headers
func (DeletePresenceOperationOptions) ToOData ¶
func (o DeletePresenceOperationOptions) ToOData() *odata.Query
func (DeletePresenceOperationOptions) ToQuery ¶
func (o DeletePresenceOperationOptions) ToQuery() *client.QueryParams
type GetPresenceOperationOptions ¶
type GetPresenceOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetPresenceOperationOptions ¶
func DefaultGetPresenceOperationOptions() GetPresenceOperationOptions
func (GetPresenceOperationOptions) ToHeaders ¶
func (o GetPresenceOperationOptions) ToHeaders() *client.Headers
func (GetPresenceOperationOptions) ToOData ¶
func (o GetPresenceOperationOptions) ToOData() *odata.Query
func (GetPresenceOperationOptions) ToQuery ¶
func (o GetPresenceOperationOptions) ToQuery() *client.QueryParams
type PresenceClient ¶
func NewPresenceClientWithBaseURI ¶
func NewPresenceClientWithBaseURI(sdkApi sdkEnv.Api) (*PresenceClient, error)
func (PresenceClient) ClearPresencePresence ¶
func (c PresenceClient) ClearPresencePresence(ctx context.Context, input ClearPresencePresenceRequest, options ClearPresencePresenceOperationOptions) (result ClearPresencePresenceOperationResponse, err error)
ClearPresencePresence - Invoke action clearPresence. Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration.
func (PresenceClient) ClearPresenceUserPreferredPresence ¶
func (c PresenceClient) ClearPresenceUserPreferredPresence(ctx context.Context, options ClearPresenceUserPreferredPresenceOperationOptions) (result ClearPresenceUserPreferredPresenceOperationResponse, err error)
ClearPresenceUserPreferredPresence - Invoke action clearUserPreferredPresence. Clear the preferred availability and activity status for a user.
func (PresenceClient) DeletePresence ¶
func (c PresenceClient) DeletePresence(ctx context.Context, options DeletePresenceOperationOptions) (result DeletePresenceOperationResponse, err error)
DeletePresence - Delete navigation property presence for me
func (PresenceClient) GetPresence ¶
func (c PresenceClient) GetPresence(ctx context.Context, options GetPresenceOperationOptions) (result GetPresenceOperationResponse, err error)
GetPresence - Get presence. Get a user's presence information.
func (PresenceClient) SetPresencePresence ¶
func (c PresenceClient) SetPresencePresence(ctx context.Context, input SetPresencePresenceRequest, options SetPresencePresenceOperationOptions) (result SetPresencePresenceOperationResponse, err error)
SetPresencePresence - Invoke action setPresence. Set the availability and activity status in a presence session of an application for a user.
func (PresenceClient) SetPresenceStatusMessage ¶
func (c PresenceClient) SetPresenceStatusMessage(ctx context.Context, input SetPresenceStatusMessageRequest, options SetPresenceStatusMessageOperationOptions) (result SetPresenceStatusMessageOperationResponse, err error)
SetPresenceStatusMessage - Invoke action setStatusMessage. Set a presence status message for a user. An optional expiration date and time can be supplied.
func (PresenceClient) SetPresenceUserPreferredPresence ¶
func (c PresenceClient) SetPresenceUserPreferredPresence(ctx context.Context, input SetPresenceUserPreferredPresenceRequest, options SetPresenceUserPreferredPresenceOperationOptions) (result SetPresenceUserPreferredPresenceOperationResponse, err error)
SetPresenceUserPreferredPresence - Invoke action setUserPreferredPresence. Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration.
func (PresenceClient) UpdatePresence ¶
func (c PresenceClient) UpdatePresence(ctx context.Context, input beta.Presence, options UpdatePresenceOperationOptions) (result UpdatePresenceOperationResponse, err error)
UpdatePresence - Update the navigation property presence in me
type SetPresencePresenceOperationOptions ¶
type SetPresencePresenceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetPresencePresenceOperationOptions ¶
func DefaultSetPresencePresenceOperationOptions() SetPresencePresenceOperationOptions
func (SetPresencePresenceOperationOptions) ToHeaders ¶
func (o SetPresencePresenceOperationOptions) ToHeaders() *client.Headers
func (SetPresencePresenceOperationOptions) ToOData ¶
func (o SetPresencePresenceOperationOptions) ToOData() *odata.Query
func (SetPresencePresenceOperationOptions) ToQuery ¶
func (o SetPresencePresenceOperationOptions) ToQuery() *client.QueryParams
type SetPresenceStatusMessageOperationOptions ¶
type SetPresenceStatusMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetPresenceStatusMessageOperationOptions ¶
func DefaultSetPresenceStatusMessageOperationOptions() SetPresenceStatusMessageOperationOptions
func (SetPresenceStatusMessageOperationOptions) ToHeaders ¶
func (o SetPresenceStatusMessageOperationOptions) ToHeaders() *client.Headers
func (SetPresenceStatusMessageOperationOptions) ToOData ¶
func (o SetPresenceStatusMessageOperationOptions) ToOData() *odata.Query
func (SetPresenceStatusMessageOperationOptions) ToQuery ¶
func (o SetPresenceStatusMessageOperationOptions) ToQuery() *client.QueryParams
type SetPresenceStatusMessageRequest ¶
type SetPresenceStatusMessageRequest struct {
StatusMessage *beta.PresenceStatusMessage `json:"statusMessage,omitempty"`
}
type SetPresenceUserPreferredPresenceOperationOptions ¶
type SetPresenceUserPreferredPresenceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetPresenceUserPreferredPresenceOperationOptions ¶
func DefaultSetPresenceUserPreferredPresenceOperationOptions() SetPresenceUserPreferredPresenceOperationOptions
func (SetPresenceUserPreferredPresenceOperationOptions) ToHeaders ¶
func (o SetPresenceUserPreferredPresenceOperationOptions) ToHeaders() *client.Headers
func (SetPresenceUserPreferredPresenceOperationOptions) ToOData ¶
func (o SetPresenceUserPreferredPresenceOperationOptions) ToOData() *odata.Query
func (SetPresenceUserPreferredPresenceOperationOptions) ToQuery ¶
func (o SetPresenceUserPreferredPresenceOperationOptions) ToQuery() *client.QueryParams
type UpdatePresenceOperationOptions ¶
type UpdatePresenceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdatePresenceOperationOptions ¶
func DefaultUpdatePresenceOperationOptions() UpdatePresenceOperationOptions
func (UpdatePresenceOperationOptions) ToHeaders ¶
func (o UpdatePresenceOperationOptions) ToHeaders() *client.Headers
func (UpdatePresenceOperationOptions) ToOData ¶
func (o UpdatePresenceOperationOptions) ToOData() *odata.Query
func (UpdatePresenceOperationOptions) ToQuery ¶
func (o UpdatePresenceOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_clearpresencepresence.go
- method_clearpresenceuserpreferredpresence.go
- method_deletepresence.go
- method_getpresence.go
- method_setpresencepresence.go
- method_setpresencestatusmessage.go
- method_setpresenceuserpreferredpresence.go
- method_updatepresence.go
- model_clearpresencepresencerequest.go
- model_setpresencepresencerequest.go
- model_setpresencestatusmessagerequest.go
- model_setpresenceuserpreferredpresencerequest.go
- version.go