class Google::Apis::PlusV1::Person::AgeRange

The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.

Attributes

max[RW]

The age range's upper bound, if any. Possible values include, but are not limited to, the following:

  • “17” - for age 17

  • “20” - for age 20

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

min[RW]

The age range's lower bound, if any. Possible values include, but are not limited to, the following:

  • “21” - for age 21

  • “18” - for age 18

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_v1/classes.rb, line 1627
def update!(**args)
  @max = args[:max] if args.key?(:max)
  @min = args[:min] if args.key?(:min)
end