Class JsonTraitEvent
Represents a dynamic JSON event payload that conforms to json_trait_schema.md.
Implements
Inherited Members
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 |