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.



4145
4146
4147
# File 'lib/google/apis/health_v4/classes.rb', line 4145

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)


4143
4144
4145
# File 'lib/google/apis/health_v4/classes.rb', line 4143

def stroke_count_sum
  @stroke_count_sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4150
4151
4152
# File 'lib/google/apis/health_v4/classes.rb', line 4150

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