GoogleApi.Content.V21.Model.Distance (google_api_content v0.73.0)

View Source

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.