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

Payload containing device information.

Attributes

  • agentUserId (type: String.t, default: nil) - Third-party user ID
  • devices (type: list(GoogleApi.HomeGraph.V1.Model.Device.t), default: nil) - Devices associated with the third-party user.

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.SyncResponsePayload{
  agentUserId: String.t(),
  devices: [GoogleApi.HomeGraph.V1.Model.Device.t()]
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.