GoogleApi.Content.V21.Model.Weight (google_api_content v0.58.1) View Source

Attributes

  • unit (type: String.t, default: nil) - Required. The weight unit. Acceptable values are: - "kg" - "lb"
  • value (type: String.t, default: nil) - Required. The weight represented as a number.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.