google_api_mirror v0.6.0 GoogleApi.Mirror.V1.Model.Location View Source

A geographic location that can be associated with a timeline item.

Attributes

  • accuracy (type: float(), default: nil) - The accuracy of the location fix in meters.
  • address (type: String.t, default: nil) - The full address of the location.
  • displayName (type: String.t, default: nil) - The name to be displayed. This may be a business name or a user-defined place, such as "Home".
  • id (type: String.t, default: nil) - The ID of the location.
  • kind (type: String.t, default: mirror#location) - The type of resource. This is always mirror#location.
  • latitude (type: float(), default: nil) - The latitude, in degrees.
  • longitude (type: float(), default: nil) - The longitude, in degrees.
  • timestamp (type: DateTime.t, default: nil) - The time at which this location was captured, formatted according to RFC 3339.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Mirror.V1.Model.Location{
  accuracy: float(),
  address: String.t(),
  displayName: String.t(),
  id: String.t(),
  kind: String.t(),
  latitude: float(),
  longitude: float(),
  timestamp: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.