Class: Google::Apis::HealthV4::SwimLengthsDataRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::SwimLengthsDataRollupValue
- 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 swim lengths data type.
Instance Attribute Summary collapse
-
#stroke_count_sum ⇒ Fixnum
Total number of swim strokes in the interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SwimLengthsDataRollupValue
constructor
A new instance of SwimLengthsDataRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SwimLengthsDataRollupValue
Returns a new instance of SwimLengthsDataRollupValue.
4074 4075 4076 |
# File 'lib/google/apis/health_v4/classes.rb', line 4074 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stroke_count_sum ⇒ Fixnum
Total number of swim strokes in the interval.
Corresponds to the JSON property strokeCountSum
4072 4073 4074 |
# File 'lib/google/apis/health_v4/classes.rb', line 4072 def stroke_count_sum @stroke_count_sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4079 4080 4081 |
# File 'lib/google/apis/health_v4/classes.rb', line 4079 def update!(**args) @stroke_count_sum = args[:stroke_count_sum] if args.key?(:stroke_count_sum) end |