google_api_content v0.29.0 GoogleApi.Content.V21.Model.Weight 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.