Class Component
Component of a provider device.
Implements
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class Component : IDirectResponseSchema
Properties
ChildComponents
Optional. Child components.
Declaration
[JsonProperty("childComponents")]
public virtual IList<Component> ChildComponents { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Component> |
DeviceTypes
Required. List of Device types associated with this component. Supported device types are defined in cs//depot/google3/home/homeservicelayer/uddm/types/uddm_device_types.proto and the type string is the enum name, for example: ON_OFF_LIGHT => "ON_OFF_LIGHT".
Declaration
[JsonProperty("deviceTypes")]
public virtual IList<string> DeviceTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Required. ID of the component from the device provider.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TraitData
Required. List of trait data associated with the component.
Declaration
[JsonProperty("traitData")]
public virtual IList<TraitData> TraitData { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<TraitData> |