class Google::Apis::FitnessV1::BucketByTimePeriod

Attributes

time_zone_id[RW]

org.joda.timezone.DateTimeZone Corresponds to the JSON property `timeZoneId` @return [String]

type[RW]

Corresponds to the JSON property `type` @return [String]

value[RW]

Corresponds to the JSON property `value` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/fitness_v1/classes.rb, line 343
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/fitness_v1/classes.rb, line 348
def update!(**args)
  @time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end