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

Attributes

  • voluntaryNutritionFact (type: list(GoogleApi.Manufacturers.V1.Model.VoluntaryNutritionFact.t), default: nil) - Voluntary nutrition fact.
  • saturatedFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Saturated fat.
  • dietaryFiberDailyPercentage (type: float(), default: nil) - Dietary fiber daily percentage.
  • vitaminD (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Vitamin D.
  • totalSugarsDailyPercentage (type: float(), default: nil) - Total sugars daily percentage.
  • servingsPerContainer (type: String.t, default: nil) - Servings per container.
  • protein (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Protein.
  • monounsaturatedFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Monounsaturated fat.
  • sodiumDailyPercentage (type: float(), default: nil) - Sodium daily percentage.
  • polyunsaturatedFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Polyunsaturated fat.
  • polyols (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Polyols.
  • nutritionFactMeasure (type: String.t, default: nil) - Nutrition fact measure.
  • cholesterol (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Cholesterol.
  • transFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Trans fat.
  • addedSugars (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Added sugars.
  • calciumDailyPercentage (type: float(), default: nil) - Calcium daily percentage.
  • preparedSizeDescription (type: String.t, default: nil) - Prepared size description.
  • dietaryFiber (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Dietary fiber.
  • potassium (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Potassium.
  • saturatedFatDailyPercentage (type: float(), default: nil) - Saturated fat daily percentage.
  • sodium (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Sodium.
  • servingSizeMeasure (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Serving size measure.
  • totalCarbohydrate (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Total carbohydrate.
  • ironDailyPercentage (type: float(), default: nil) - Iron daily percentage.
  • folateMcgDfe (type: float(), default: nil) - Folate mcg DFE.
  • energyFromFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Energy from fat.
  • potassiumDailyPercentage (type: float(), default: nil) - Potassium daily percentage.
  • addedSugarsDailyPercentage (type: float(), default: nil) - Added sugars daily percentage.
  • folateDailyPercentage (type: float(), default: nil) - Folate daily percentage.
  • vitaminDDailyPercentage (type: float(), default: nil) - Vitamin D daily percentage.
  • totalCarbohydrateDailyPercentage (type: float(), default: nil) - Total carbohydrate daily percentage.
  • starch (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Starch.
  • transFatDailyPercentage (type: float(), default: nil) - Trans fat daily percentage.
  • calcium (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Calcium.
  • iron (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Iron.
  • servingSizeDescription (type: String.t, default: nil) - Food Serving Size. Serving size description.
  • proteinDailyPercentage (type: float(), default: nil) - Protein daily percentage.
  • energy (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Mandatory Nutrition Facts. Energy.
  • cholesterolDailyPercentage (type: float(), default: nil) - Cholesterol daily percentage.
  • folateFolicAcid (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Folate folic acid.
  • totalSugars (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Total sugars.
  • totalFatDailyPercentage (type: float(), default: nil) - Total fat daily percentage.
  • totalFat (type: GoogleApi.Manufacturers.V1.Model.FloatUnit.t, default: nil) - Total fat.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Manufacturers.V1.Model.Nutrition{
  addedSugars: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  addedSugarsDailyPercentage: float() | nil,
  calcium: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  calciumDailyPercentage: float() | nil,
  cholesterol: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  cholesterolDailyPercentage: float() | nil,
  dietaryFiber: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  dietaryFiberDailyPercentage: float() | nil,
  energy: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  energyFromFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  folateDailyPercentage: float() | nil,
  folateFolicAcid: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  folateMcgDfe: float() | nil,
  iron: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  ironDailyPercentage: float() | nil,
  monounsaturatedFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  nutritionFactMeasure: String.t() | nil,
  polyols: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  polyunsaturatedFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  potassium: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  potassiumDailyPercentage: float() | nil,
  preparedSizeDescription: String.t() | nil,
  protein: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  proteinDailyPercentage: float() | nil,
  saturatedFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  saturatedFatDailyPercentage: float() | nil,
  servingSizeDescription: String.t() | nil,
  servingSizeMeasure: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  servingsPerContainer: String.t() | nil,
  sodium: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  sodiumDailyPercentage: float() | nil,
  starch: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  totalCarbohydrate: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  totalCarbohydrateDailyPercentage: float() | nil,
  totalFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  totalFatDailyPercentage: float() | nil,
  totalSugars: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  totalSugarsDailyPercentage: float() | nil,
  transFat: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  transFatDailyPercentage: float() | nil,
  vitaminD: GoogleApi.Manufacturers.V1.Model.FloatUnit.t() | nil,
  vitaminDDailyPercentage: float() | nil,
  voluntaryNutritionFact:
    [GoogleApi.Manufacturers.V1.Model.VoluntaryNutritionFact.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.