Show / Hide Table of Contents

Class JsonTraitEvent

Represents a dynamic JSON event payload that conforms to json_trait_schema.md.

Inheritance
object
JsonTraitEvent
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class JsonTraitEvent : IDirectResponseSchema

Properties

Data

Optional. Holds the event payload fields, which conform to the event's registered JSON Schema.

Declaration
[JsonProperty("data")]
public virtual IDictionary<string, object> Data { get; set; }
Property Value
Type Description
IDictionary<string, object>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Required. Identifies the event as ., where `` is the PascalCase key in the schema's x-capability-info.events, for example capability.matter.standard.DoorLock.LockOperation or capability.generic.acme.Warranty.ClaimUpdated.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX