ExStreamClient.Model.DeviceResponse (ExStreamClient v0.1.7)

View Source

Schema representing a DeviceResponse

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.DeviceResponse{
  created_at: float(),
  disabled: boolean() | nil,
  disabled_reason: String.t() | nil,
  id: String.t(),
  push_provider: String.t(),
  push_provider_name: String.t() | nil,
  user_id: String.t(),
  voip: boolean() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()