GoogleApi.HomeGraph.V1.Model.NonLocalTrait (google_api_home_graph v0.9.0) View Source

LINT.IfChange go/shed-per-trait-routing. Making it object to allow for extendible design, where we can add attributes in future.

Attributes

  • trait (type: String.t, default: nil) - Trait name, e.g., "action.devices.traits.MediaInitiation". See device traits.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.HomeGraph.V1.Model.NonLocalTrait{trait: String.t()}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.