class Google::Apis::MybusinesslodgingV1::Property
General factual information about the property's physical structure and important dates.
Attributes
Built year. The year that construction of the property was completed. Corresponds to the JSON property `builtYear` @return [Fixnum]
Built year exception. Corresponds to the JSON property `builtYearException` @return [String]
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. Corresponds to the JSON property `floorsCountException` @return [String]
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. Corresponds to the JSON property `lastRenovatedYearException` @return [String]
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. Corresponds to the JSON property `roomsCountException` @return [String]
Public Class Methods
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 3399 def initialize(**args) update!(**args) end
Public Instance Methods
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