Class TraitData
Contains the trait payload for a single trait.
Implements
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class TraitData : IDirectResponseSchema
Properties
CommitTime
object representation of CommitTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CommitTimeDateTimeOffset instead.")]
public virtual object CommitTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CommitTimeDateTimeOffset
DateTimeOffset representation of CommitTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CommitTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CommitTimeRaw
Other metadata for the trait. The time the client update was committed in the server.
Declaration
[JsonProperty("commitTime")]
public virtual string CommitTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Trait
The Provider Home API trait payload.
Declaration
[JsonProperty("trait")]
public virtual IDictionary<string, object> Trait { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |