Show / Hide Table of Contents

Class NutritionLogRollupValue.Types.EnergyQuantityRollup

Rollup for the energy quantity.

Inheritance
object
NutritionLogRollupValue.Types.EnergyQuantityRollup
Implements
IMessage<NutritionLogRollupValue.Types.EnergyQuantityRollup>
IEquatable<NutritionLogRollupValue.Types.EnergyQuantityRollup>
IDeepCloneable<NutritionLogRollupValue.Types.EnergyQuantityRollup>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class NutritionLogRollupValue.Types.EnergyQuantityRollup : IMessage<NutritionLogRollupValue.Types.EnergyQuantityRollup>, IEquatable<NutritionLogRollupValue.Types.EnergyQuantityRollup>, IDeepCloneable<NutritionLogRollupValue.Types.EnergyQuantityRollup>, IBufferMessage, IMessage

Constructors

EnergyQuantityRollup()

Declaration
public EnergyQuantityRollup()

EnergyQuantityRollup(EnergyQuantityRollup)

Declaration
public EnergyQuantityRollup(NutritionLogRollupValue.Types.EnergyQuantityRollup other)
Parameters
Type Name Description
NutritionLogRollupValue.Types.EnergyQuantityRollup other

Properties

HasKcalSum

Gets whether the "kcal_sum" field is set

Declaration
public bool HasKcalSum { get; }
Property Value
Type Description
bool

KcalSum

Required. The sum of the energy in kilocalories.

Declaration
public double KcalSum { get; set; }
Property Value
Type Description
double

UserProvidedUnitLast

Optional. The user provided unit on the last element.

Declaration
public EnergyUnit UserProvidedUnitLast { get; set; }
Property Value
Type Description
EnergyUnit
In this article
Back to top Generated by DocFX