Nutrition

constructor(name: String? = null, startTime: Instant, endTime: Instant, solidUnit: KHUnit.Mass = KHUnit.Mass.Gram, energyUnit: KHUnit.Energy = KHUnit.Energy.KiloCalorie, mealType: KHMealType, biotin: Double? = null, caffeine: Double? = null, calcium: Double? = null, chloride: Double? = null, cholesterol: Double? = null, chromium: Double? = null, copper: Double? = null, dietaryFiber: Double? = null, energy: Double? = null, folicAcid: Double? = null, iodine: Double? = null, iron: Double? = null, magnesium: Double? = null, manganese: Double? = null, molybdenum: Double? = null, monounsaturatedFat: Double? = null, niacin: Double? = null, pantothenicAcid: Double? = null, phosphorus: Double? = null, polyunsaturatedFat: Double? = null, potassium: Double? = null, protein: Double? = null, riboflavin: Double? = null, saturatedFat: Double? = null, selenium: Double? = null, sodium: Double? = null, sugar: Double? = null, thiamin: Double? = null, totalCarbohydrate: Double? = null, totalFat: Double? = null, vitaminA: Double? = null, vitaminB12: Double? = null, vitaminB6: Double? = null, vitaminC: Double? = null, vitaminD: Double? = null, vitaminE: Double? = null, vitaminK: Double? = null, zinc: Double? = null)

Parameters

name

Name for food or drink, provided by the user.

startTime

The start instant of the interval over which the value this record was captured

endTime

The end instant of the interval over which the value this record was captured

biotin

Biotin in KHUnit.Mass unit (Valid range: 0-100 grams)

caffeine

Caffeine in KHUnit.Mass unit (Valid range: 0-100 grams)

calcium

Calcium in KHUnit.Mass unit (Valid range: 0-100 grams)

chloride

Chloride in KHUnit.Mass unit (Valid range: 0-100 grams)

cholesterol

Cholesterol in KHUnit.Mass unit (Valid range: 0-100 grams)

chromium

Chromium in KHUnit.Mass unit (Valid range: 0-100 grams)

copper

Copper in KHUnit.Mass unit (Valid range: 0-100 grams)

dietaryFiber

Dietary fiber in KHUnit.Mass unit (Valid range: 0-100000 grams)

energy

Energy in KHUnit.Energy unit (Valid range: 0-100000 kcal)

folicAcid

Folic acid in KHUnit.Mass unit (Valid range: 0-100 grams)

iodine

Iodine in KHUnit.Mass unit (Valid range: 0-100 grams)

iron

Iron in KHUnit.Mass unit (Valid range: 0-100 grams)

magnesium

Magnesium in KHUnit.Mass unit (Valid range: 0-100 grams)

manganese

Manganese in KHUnit.Mass unit (Valid range: 0-100 grams)

molybdenum

Molybdenum in KHUnit.Mass unit (Valid range: 0-100 grams)

monounsaturatedFat

Monounsaturated fat in KHUnit.Mass unit (Valid range: 0-100000 grams)

niacin

Niacin in KHUnit.Mass unit (Valid range: 0-100 grams)

pantothenicAcid

Pantothenic acid in KHUnit.Mass unit (Valid range: 0-100 grams)

phosphorus

Phosphorus in KHUnit.Mass unit (Valid range: 0-100 grams)

polyunsaturatedFat

Polyunsaturated fat in KHUnit.Mass unit (Valid range: 0-100000 grams)

potassium

Potassium in KHUnit.Mass unit (Valid range: 0-100 grams)

protein

Protein in KHUnit.Mass unit (Valid range: 0-100000 grams)

riboflavin

Riboflavin in KHUnit.Mass unit (Valid range: 0-100 grams)

saturatedFat

Saturated fat in KHUnit.Mass unit (Valid range: 0-100000 grams)

selenium

Selenium in KHUnit.Mass unit (Valid range: 0-100 grams)

sodium

Sodium in KHUnit.Mass unit (Valid range: 0-100 grams)

sugar

Sugar in KHUnit.Mass unit (Valid range: 0-100000 grams)

thiamin

Thiamin in KHUnit.Mass unit (Valid range: 0-100 grams)

totalCarbohydrate

Total carbohydrate in KHUnit.Mass unit (Valid range: 0-100000 grams)

totalFat

Total fat in KHUnit.Mass unit (Valid range: 0-100000 grams)

vitaminA

Vitamin A in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminB12

Vitamin B12 in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminB6

Vitamin B6 in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminC

Vitamin C in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminD

Vitamin D in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminE

Vitamin E in KHUnit.Mass unit (Valid range: 0-100 grams)

vitaminK

Vitamin K in KHUnit.Mass unit (Valid range: 0-100 grams)

zinc

Zinc in KHUnit.Mass unit (Valid range: 0-100 grams)