View Source GoogleApi.Content.V21.Model.Distance (google_api_content v0.67.1)

Distance represented by an integer and unit.

Attributes

  • unit (type: String.t, default: nil) - The distance unit. Acceptable values are None, Miles, and Kilometers.
  • value (type: String.t, default: nil) - The distance represented as a number.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.Distance{
  unit: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.