ExStreamClient.Model.SharedLocation (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a SharedLocation

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.SharedLocation{
  created_by_device_id: String.t() | nil,
  end_at: (DateTime.t() | integer() | String.t()) | nil,
  latitude: float(),
  longitude: float()
}

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()