Class: Google::Apis::HealthV4::FloorsRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::FloorsRollupValue
- 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 floors.
Instance Attribute Summary collapse
-
#count_sum ⇒ Fixnum
Sum of the floors count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FloorsRollupValue
constructor
A new instance of FloorsRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FloorsRollupValue
Returns a new instance of FloorsRollupValue.
1824 1825 1826 |
# File 'lib/google/apis/health_v4/classes.rb', line 1824 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count_sum ⇒ Fixnum
Sum of the floors count.
Corresponds to the JSON property countSum
1822 1823 1824 |
# File 'lib/google/apis/health_v4/classes.rb', line 1822 def count_sum @count_sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1829 1830 1831 |
# File 'lib/google/apis/health_v4/classes.rb', line 1829 def update!(**args) @count_sum = args[:count_sum] if args.key?(:count_sum) end |