setpresence

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SetPresenceRequestBody

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

func NewSetPresenceRequestBody

func NewSetPresenceRequestBody() *SetPresenceRequestBody

Instantiates a new setPresenceRequestBody and sets the default values.

func (*SetPresenceRequestBody) GetActivity

func (m *SetPresenceRequestBody) GetActivity() *string

Gets the activity property value.

func (*SetPresenceRequestBody) GetAdditionalData

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

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 (*SetPresenceRequestBody) GetAvailability

func (m *SetPresenceRequestBody) GetAvailability() *string

Gets the availability property value.

func (*SetPresenceRequestBody) GetExpirationDuration

func (m *SetPresenceRequestBody) GetExpirationDuration() *string

Gets the expirationDuration property value.

func (*SetPresenceRequestBody) GetFieldDeserializers

The deserialization information for the current model

func (*SetPresenceRequestBody) GetSessionId

func (m *SetPresenceRequestBody) GetSessionId() *string

Gets the sessionId property value.

func (*SetPresenceRequestBody) IsNil

func (m *SetPresenceRequestBody) IsNil() bool

func (*SetPresenceRequestBody) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*SetPresenceRequestBody) SetActivity

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

Sets the activity property value. Parameters:

  • value : Value to set for the activity property.

func (*SetPresenceRequestBody) SetAdditionalData

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

Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:

  • value : Value to set for the AdditionalData property.

func (*SetPresenceRequestBody) SetAvailability

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

Sets the availability property value. Parameters:

  • value : Value to set for the availability property.

func (*SetPresenceRequestBody) SetExpirationDuration

func (m *SetPresenceRequestBody) SetExpirationDuration(value *string)

Sets the expirationDuration property value. Parameters:

  • value : Value to set for the expirationDuration property.

func (*SetPresenceRequestBody) SetSessionId

func (m *SetPresenceRequestBody) SetSessionId(value *string)

Sets the sessionId property value. Parameters:

  • value : Value to set for the sessionId property.

type SetPresenceRequestBuilder

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

Builds and executes requests for operations under \users\{user-id}\presence\microsoft.graph.setPresence

func NewSetPresenceRequestBuilder

Instantiates a new SetPresenceRequestBuilder and sets the default values. Parameters:

  • rawUrl : The raw URL to use for the request builder.
  • requestAdapter : The request adapter to use to execute the requests.

func NewSetPresenceRequestBuilderInternal

func NewSetPresenceRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *SetPresenceRequestBuilder

Instantiates a new SetPresenceRequestBuilder and sets the default values. Parameters:

  • pathParameters : Path parameters for the request
  • requestAdapter : The request adapter to use to execute the requests.

func (*SetPresenceRequestBuilder) CreatePostRequestInformation

Invoke action setPresence Parameters:

  • options : Options for the request

func (*SetPresenceRequestBuilder) Post

Invoke action setPresence Parameters:

  • options : Options for the request

type SetPresenceRequestBuilderPostOptions

type SetPresenceRequestBuilderPostOptions struct {
	//
	Body *SetPresenceRequestBody
	// Request headers
	H map[string]string
	// Request options
	O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
	// Response handler to use in place of the default response handling provided by the core service
	ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}

Options for Post

Jump to

Keyboard shortcuts

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