View Source GoogleApi.ContentWarehouse.V1.Model.GeostorePriceInfoFoodNutritionFactsNutritionFact (google_api_content_warehouse v0.3.0)

This message denotes nutrition information with an upper bound and lower bound range and can be represented by mass unit.

Attributes

  • lowerAmount (type: float(), default: nil) -
  • unit (type: String.t, default: nil) - Unit of the given nutrition information.
  • upperAmount (type: float(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GeostorePriceInfoFoodNutritionFactsNutritionFact{
    lowerAmount: float() | nil,
    unit: String.t() | nil,
    upperAmount: float() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.