Class: Google::Apis::HealthV4::HeartRateVariabilityPersonalRangeRollupValue

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 user's daily heart rate variability personal range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HeartRateVariabilityPersonalRangeRollupValue

Returns a new instance of HeartRateVariabilityPersonalRangeRollupValue.



2047
2048
2049
# File 'lib/google/apis/health_v4/classes.rb', line 2047

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#average_heart_rate_variability_milliseconds_maxFloat

The upper bound of the user's average heart rate variability personal range. Corresponds to the JSON property averageHeartRateVariabilityMillisecondsMax

Returns:

  • (Float)


2040
2041
2042
# File 'lib/google/apis/health_v4/classes.rb', line 2040

def average_heart_rate_variability_milliseconds_max
  @average_heart_rate_variability_milliseconds_max
end

#average_heart_rate_variability_milliseconds_minFloat

The lower bound of the user's average heart rate variability personal range. Corresponds to the JSON property averageHeartRateVariabilityMillisecondsMin

Returns:

  • (Float)


2045
2046
2047
# File 'lib/google/apis/health_v4/classes.rb', line 2045

def average_heart_rate_variability_milliseconds_min
  @average_heart_rate_variability_milliseconds_min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2052
2053
2054
2055
# File 'lib/google/apis/health_v4/classes.rb', line 2052

def update!(**args)
  @average_heart_rate_variability_milliseconds_max = args[:average_heart_rate_variability_milliseconds_max] if args.key?(:average_heart_rate_variability_milliseconds_max)
  @average_heart_rate_variability_milliseconds_min = args[:average_heart_rate_variability_milliseconds_min] if args.key?(:average_heart_rate_variability_milliseconds_min)
end