View Source GoogleApi.Manufacturers.V1.Model.FloatUnit (google_api_manufacturers v0.21.0)

Combination of float amount and unit.

Attributes

  • amount (type: float(), default: nil) - amount.
  • unit (type: String.t, default: nil) - unit.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Manufacturers.V1.Model.FloatUnit{
  amount: float() | nil,
  unit: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.