Class NutritionLogRollupValue.Types.WeightQuantityRollup
Rollup for the weight.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class NutritionLogRollupValue.Types.WeightQuantityRollup : IMessage<NutritionLogRollupValue.Types.WeightQuantityRollup>, IEquatable<NutritionLogRollupValue.Types.WeightQuantityRollup>, IDeepCloneable<NutritionLogRollupValue.Types.WeightQuantityRollup>, IBufferMessage, IMessage
Constructors
WeightQuantityRollup()
Declaration
public WeightQuantityRollup()
WeightQuantityRollup(WeightQuantityRollup)
Declaration
public WeightQuantityRollup(NutritionLogRollupValue.Types.WeightQuantityRollup other)
Parameters
| Type | Name | Description |
|---|---|---|
| NutritionLogRollupValue.Types.WeightQuantityRollup | other |
Properties
GramsSum
Required. The sum of the weight in grams.
Declaration
public double GramsSum { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HasGramsSum
Gets whether the "grams_sum" field is set
Declaration
public bool HasGramsSum { get; }
Property Value
| Type | Description |
|---|---|
| bool |
UserProvidedUnitLast
Optional. The user provided unit on the last element.
Declaration
public WeightUnit UserProvidedUnitLast { get; set; }
Property Value
| Type | Description |
|---|---|
| WeightUnit |