Class: Google::Apis::HealthV4::SwimLengthsDataRollupValue

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 swim lengths data type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SwimLengthsDataRollupValue

Returns a new instance of SwimLengthsDataRollupValue.



4135
4136
4137
# File 'lib/google/apis/health_v4/classes.rb', line 4135

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

Instance Attribute Details

#stroke_count_sumFixnum

Total number of swim strokes in the interval. Corresponds to the JSON property strokeCountSum

Returns:

  • (Fixnum)


4133
4134
4135
# File 'lib/google/apis/health_v4/classes.rb', line 4133

def stroke_count_sum
  @stroke_count_sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4140
4141
4142
# File 'lib/google/apis/health_v4/classes.rb', line 4140

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