Class: Google::Apis::HealthV4::CoreBodyTemperatureRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::CoreBodyTemperatureRollupValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb
Overview
Represents the result of the rollup of the core body temperature data type.
Instance Attribute Summary collapse
-
#temperature_celsius_avg ⇒ Float
Average core body temperature in Celsius.
-
#temperature_celsius_max ⇒ Float
Maximum core body temperature in Celsius.
-
#temperature_celsius_min ⇒ Float
Minimum core body temperature in Celsius.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CoreBodyTemperatureRollupValue
constructor
A new instance of CoreBodyTemperatureRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CoreBodyTemperatureRollupValue
Returns a new instance of CoreBodyTemperatureRollupValue.
793 794 795 |
# File 'lib/google/apis/health_v4/classes.rb', line 793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#temperature_celsius_avg ⇒ Float
Average core body temperature in Celsius.
Corresponds to the JSON property temperatureCelsiusAvg
781 782 783 |
# File 'lib/google/apis/health_v4/classes.rb', line 781 def temperature_celsius_avg @temperature_celsius_avg end |
#temperature_celsius_max ⇒ Float
Maximum core body temperature in Celsius.
Corresponds to the JSON property temperatureCelsiusMax
786 787 788 |
# File 'lib/google/apis/health_v4/classes.rb', line 786 def temperature_celsius_max @temperature_celsius_max end |
#temperature_celsius_min ⇒ Float
Minimum core body temperature in Celsius.
Corresponds to the JSON property temperatureCelsiusMin
791 792 793 |
# File 'lib/google/apis/health_v4/classes.rb', line 791 def temperature_celsius_min @temperature_celsius_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
798 799 800 801 802 |
# File 'lib/google/apis/health_v4/classes.rb', line 798 def update!(**args) @temperature_celsius_avg = args[:temperature_celsius_avg] if args.key?(:temperature_celsius_avg) @temperature_celsius_max = args[:temperature_celsius_max] if args.key?(:temperature_celsius_max) @temperature_celsius_min = args[:temperature_celsius_min] if args.key?(:temperature_celsius_min) end |