Class: Google::Apis::HealthV4::CoreBodyTemperatureRollupValue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_avgFloat

Average core body temperature in Celsius. Corresponds to the JSON property temperatureCelsiusAvg

Returns:

  • (Float)


781
782
783
# File 'lib/google/apis/health_v4/classes.rb', line 781

def temperature_celsius_avg
  @temperature_celsius_avg
end

#temperature_celsius_maxFloat

Maximum core body temperature in Celsius. Corresponds to the JSON property temperatureCelsiusMax

Returns:

  • (Float)


786
787
788
# File 'lib/google/apis/health_v4/classes.rb', line 786

def temperature_celsius_max
  @temperature_celsius_max
end

#temperature_celsius_minFloat

Minimum core body temperature in Celsius. Corresponds to the JSON property temperatureCelsiusMin

Returns:

  • (Float)


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