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

The states and notifications specific to a device.

Attributes

  • notifications (type: map(), default: nil) - Notifications metadata for devices. See the Device NOTIFICATIONS section of the individual trait reference guides.
  • states (type: map(), default: nil) - States of devices to update. See the Device STATES section of the individual trait reference guides.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HomeGraph.V1.Model.ReportStateAndNotificationDevice{
  notifications: map() | nil,
  states: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.