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.



1993
1994
1995
# File 'lib/google/apis/health_v4/classes.rb', line 1993

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)


1986
1987
1988
# File 'lib/google/apis/health_v4/classes.rb', line 1986

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)


1991
1992
1993
# File 'lib/google/apis/health_v4/classes.rb', line 1991

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



1998
1999
2000
2001
# File 'lib/google/apis/health_v4/classes.rb', line 1998

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