class Google::Apis::MybusinesslodgingV1::Property

General factual information about the property's physical structure and important dates.

Attributes

built_year[RW]

Built year. The year that construction of the property was completed. Corresponds to the JSON property `builtYear` @return [Fixnum]

built_year_exception[RW]

Built year exception. Corresponds to the JSON property `builtYearException` @return [String]

floors_count[RW]

Floors count. The number of stories the building has from the ground floor to the top floor that are accessible to guests. Corresponds to the JSON property `floorsCount` @return [Fixnum]

floors_count_exception[RW]

Floors count exception. Corresponds to the JSON property `floorsCountException` @return [String]

last_renovated_year[RW]

Last renovated year. The year when the most recent renovation of the property was completed. Renovation may include all or any combination of the following: the units, the public spaces, the exterior, or the interior. Corresponds to the JSON property `lastRenovatedYear` @return [Fixnum]

last_renovated_year_exception[RW]

Last renovated year exception. Corresponds to the JSON property `lastRenovatedYearException` @return [String]

rooms_count[RW]

Rooms count. The total number of rooms and suites bookable by guests for an overnight stay. Does not include event space, public spaces, conference rooms, fitness rooms, business centers, spa, salon, restaurants/bars, or shops. Corresponds to the JSON property `roomsCount` @return [Fixnum]

rooms_count_exception[RW]

Rooms count exception. Corresponds to the JSON property `roomsCountException` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 3404
def update!(**args)
  @built_year = args[:built_year] if args.key?(:built_year)
  @built_year_exception = args[:built_year_exception] if args.key?(:built_year_exception)
  @floors_count = args[:floors_count] if args.key?(:floors_count)
  @floors_count_exception = args[:floors_count_exception] if args.key?(:floors_count_exception)
  @last_renovated_year = args[:last_renovated_year] if args.key?(:last_renovated_year)
  @last_renovated_year_exception = args[:last_renovated_year_exception] if args.key?(:last_renovated_year_exception)
  @rooms_count = args[:rooms_count] if args.key?(:rooms_count)
  @rooms_count_exception = args[:rooms_count_exception] if args.key?(:rooms_count_exception)
end