View Source GoogleApi.HomeGraph.V1.Model.DeviceNames (google_api_home_graph v0.13.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HomeGraph.V1.Model.DeviceNames{
  defaultNames: [String.t()] | nil,
  name: String.t() | nil,
  nicknames: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.