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.



2804
2805
2806
# File 'lib/google/apis/health_v4/classes.rb', line 2804

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)


2797
2798
2799
# File 'lib/google/apis/health_v4/classes.rb', line 2797

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)


2802
2803
2804
# File 'lib/google/apis/health_v4/classes.rb', line 2802

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



2809
2810
2811
2812
# File 'lib/google/apis/health_v4/classes.rb', line 2809

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