Class: Google::Apis::HealthV4::FloorsRollupValue

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 floors.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_sumFixnum

Sum of the floors count. Corresponds to the JSON property countSum

Returns:

  • (Fixnum)


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