Documentation ¶
Index ¶
- type SetPresenceRequestBody
- func (m *SetPresenceRequestBody) GetActivity() *string
- func (m *SetPresenceRequestBody) GetAdditionalData() map[string]interface{}
- func (m *SetPresenceRequestBody) GetAvailability() *string
- func (m *SetPresenceRequestBody) GetExpirationDuration() *string
- func (m *SetPresenceRequestBody) GetFieldDeserializers() map[string]func(interface{}, ...) error
- func (m *SetPresenceRequestBody) GetSessionId() *string
- func (m *SetPresenceRequestBody) IsNil() bool
- func (m *SetPresenceRequestBody) Serialize(...) error
- func (m *SetPresenceRequestBody) SetActivity(value *string)
- func (m *SetPresenceRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *SetPresenceRequestBody) SetAvailability(value *string)
- func (m *SetPresenceRequestBody) SetExpirationDuration(value *string)
- func (m *SetPresenceRequestBody) SetSessionId(value *string)
- type SetPresenceRequestBuilder
- type SetPresenceRequestBuilderPostOptions
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 ¶
func (m *SetPresenceRequestBody) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error
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 ¶
func (m *SetPresenceRequestBody) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter) error
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 ¶
func NewSetPresenceRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *SetPresenceRequestBuilder
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 ¶
func (m *SetPresenceRequestBuilder) CreatePostRequestInformation(options *SetPresenceRequestBuilderPostOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
Invoke action setPresence Parameters:
- options : Options for the request
func (*SetPresenceRequestBuilder) Post ¶
func (m *SetPresenceRequestBuilder) Post(options *SetPresenceRequestBuilderPostOptions) error
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