Show / Hide Table of Contents

Class TraitData

Contains the trait payload for a single trait.

Inheritance
object
TraitData
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 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>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX