google_api_home_graph v0.7.0 GoogleApi.HomeGraph.V1.Model.DeviceNames View Source

Identifiers used to describe the device.

Attributes

  • defaultNames (type: list(String.t), default: nil) - List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs, etc.
  • name (type: String.t, default: nil) - Primary name of the device, generally provided by the user.
  • nicknames (type: list(String.t), default: nil) - Additional names provided by the user for the device.

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.DeviceNames{
  defaultNames: [String.t()],
  name: String.t(),
  nicknames: [String.t()]
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.