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.



2407
2408
2409
# File 'lib/google/apis/health_v4/classes.rb', line 2407

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

Instance Attribute Details

#count_sumFixnum

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

Returns:

  • (Fixnum)


2405
2406
2407
# File 'lib/google/apis/health_v4/classes.rb', line 2405

def count_sum
  @count_sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2412
2413
2414
# File 'lib/google/apis/health_v4/classes.rb', line 2412

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