View Source GoogleApi.Dialogflow.V2.Model.GoogleTypeLatLng (google_api_dialogflow v0.88.3)

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

Attributes

  • latitude (type: float(), default: nil) - The latitude in degrees. It must be in the range [-90.0, +90.0].
  • longitude (type: float(), default: nil) - The longitude in degrees. It must be in the range [-180.0, +180.0].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleTypeLatLng{
  latitude: float() | nil,
  longitude: float() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.