Class: Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinesslodging_v1/classes.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb
Overview
Features and available amenities in the guest unit.
Instance Attribute Summary collapse
-
#bungalow_or_villa ⇒ Boolean
(also: #bungalow_or_villa?)
Bungalow or villa.
-
#bungalow_or_villa_exception ⇒ String
Bungalow or villa exception.
-
#connecting_unit_available ⇒ Boolean
(also: #connecting_unit_available?)
Connecting unit available.
-
#connecting_unit_available_exception ⇒ String
Connecting unit available exception.
-
#executive_floor ⇒ Boolean
(also: #executive_floor?)
Executive floor.
-
#executive_floor_exception ⇒ String
Executive floor exception.
-
#max_adult_occupants_count ⇒ Fixnum
Max adult occupants count.
-
#max_adult_occupants_count_exception ⇒ String
Max adult occupants count exception.
-
#max_child_occupants_count ⇒ Fixnum
Max child occupants count.
-
#max_child_occupants_count_exception ⇒ String
Max child occupants count exception.
-
#max_occupants_count ⇒ Fixnum
Max occupants count.
-
#max_occupants_count_exception ⇒ String
Max occupants count exception.
-
#private_home ⇒ Boolean
(also: #private_home?)
Private home.
-
#private_home_exception ⇒ String
Private home exception.
-
#suite ⇒ Boolean
(also: #suite?)
Suite.
-
#suite_exception ⇒ String
Suite exception.
-
#tier ⇒ String
Tier.
-
#tier_exception ⇒ String
Tier exception.
-
#total_living_areas ⇒ Google::Apis::MybusinesslodgingV1::LivingArea
An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit.
-
#views ⇒ Google::Apis::MybusinesslodgingV1::ViewsFromUnit
Views available from the guest unit itself.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestUnitFeatures
constructor
A new instance of GuestUnitFeatures.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestUnitFeatures
Returns a new instance of GuestUnitFeatures.
1006 1007 1008 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bungalow_or_villa ⇒ Boolean Also known as: bungalow_or_villa?
Bungalow or villa. An independent structure that is part of a hotel or resort
that is rented to one party for a vacation stay. The hotel or resort may be
completely comprised of bungalows or villas, or they may be one of several
guestroom options. Guests in the bungalows or villas most often have the same,
if not more, amenities and services offered to guests in other guestroom types.
Corresponds to the JSON property bungalowOrVilla
886 887 888 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 886 def bungalow_or_villa @bungalow_or_villa end |
#bungalow_or_villa_exception ⇒ String
Bungalow or villa exception.
Corresponds to the JSON property bungalowOrVillaException
892 893 894 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 892 def bungalow_or_villa_exception @bungalow_or_villa_exception end |
#connecting_unit_available ⇒ Boolean Also known as: connecting_unit_available?
Connecting unit available. A guestroom type that features access to an
adjacent guestroom for the purpose of booking both rooms. Most often used by
families who need more than one room to accommodate the number of people in
their group.
Corresponds to the JSON property connectingUnitAvailable
900 901 902 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 900 def connecting_unit_available @connecting_unit_available end |
#connecting_unit_available_exception ⇒ String
Connecting unit available exception.
Corresponds to the JSON property connectingUnitAvailableException
906 907 908 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 906 def connecting_unit_available_exception @connecting_unit_available_exception end |
#executive_floor ⇒ Boolean Also known as: executive_floor?
Executive floor. A floor of the hotel where the guestrooms are only bookable
by members of the hotel's frequent guest membership program. Benefits of this
room class include access to a designated lounge which may or may not feature
free breakfast, cocktails or other perks specific to members of the program.
Corresponds to the JSON property executiveFloor
914 915 916 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 914 def executive_floor @executive_floor end |
#executive_floor_exception ⇒ String
Executive floor exception.
Corresponds to the JSON property executiveFloorException
920 921 922 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 920 def executive_floor_exception @executive_floor_exception end |
#max_adult_occupants_count ⇒ Fixnum
Max adult occupants count. The total number of adult guests allowed to stay
overnight in the guestroom.
Corresponds to the JSON property maxAdultOccupantsCount
926 927 928 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 926 def max_adult_occupants_count @max_adult_occupants_count end |
#max_adult_occupants_count_exception ⇒ String
Max adult occupants count exception.
Corresponds to the JSON property maxAdultOccupantsCountException
931 932 933 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 931 def max_adult_occupants_count_exception @max_adult_occupants_count_exception end |
#max_child_occupants_count ⇒ Fixnum
Max child occupants count. The total number of children allowed to stay
overnight in the room.
Corresponds to the JSON property maxChildOccupantsCount
937 938 939 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 937 def max_child_occupants_count @max_child_occupants_count end |
#max_child_occupants_count_exception ⇒ String
Max child occupants count exception.
Corresponds to the JSON property maxChildOccupantsCountException
942 943 944 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 942 def max_child_occupants_count_exception @max_child_occupants_count_exception end |
#max_occupants_count ⇒ Fixnum
Max occupants count. The total number of guests allowed to stay overnight in
the guestroom.
Corresponds to the JSON property maxOccupantsCount
948 949 950 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 948 def max_occupants_count @max_occupants_count end |
#max_occupants_count_exception ⇒ String
Max occupants count exception.
Corresponds to the JSON property maxOccupantsCountException
953 954 955 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 953 def max_occupants_count_exception @max_occupants_count_exception end |
#private_home ⇒ Boolean Also known as: private_home?
Private home. A privately owned home (house, townhouse, apartment, cabin,
bungalow etc) that may or not serve as the owner's residence, but is rented
out in its entirety or by the room(s) to paying guest(s) for vacation stays.
Not for lease-based, long-term residency.
Corresponds to the JSON property privateHome
961 962 963 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 961 def private_home @private_home end |
#private_home_exception ⇒ String
Private home exception.
Corresponds to the JSON property privateHomeException
967 968 969 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 967 def private_home_exception @private_home_exception end |
#suite ⇒ Boolean Also known as: suite?
Suite. A guestroom category that implies both a bedroom area and a separate
living area. There may or may not be full walls and doors separating the two
areas, but regardless, they are very distinct. Does not mean a couch or chair
in a bedroom.
Corresponds to the JSON property suite
975 976 977 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 975 def suite @suite end |
#suite_exception ⇒ String
Suite exception.
Corresponds to the JSON property suiteException
981 982 983 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 981 def suite_exception @suite_exception end |
#tier ⇒ String
Tier. Classification of the unit based on available features/amenities. A non-
standard tier is only permitted if at least one other unit type falls under
the standard tier.
Corresponds to the JSON property tier
988 989 990 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 988 def tier @tier end |
#tier_exception ⇒ String
Tier exception.
Corresponds to the JSON property tierException
993 994 995 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 993 def tier_exception @tier_exception end |
#total_living_areas ⇒ Google::Apis::MybusinesslodgingV1::LivingArea
An individual room, such as kitchen, bathroom, bedroom, within a bookable
guest unit.
Corresponds to the JSON property totalLivingAreas
999 1000 1001 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 999 def total_living_areas @total_living_areas end |
#views ⇒ Google::Apis::MybusinesslodgingV1::ViewsFromUnit
Views available from the guest unit itself.
Corresponds to the JSON property views
1004 1005 1006 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1004 def views @views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1011 def update!(**args) @bungalow_or_villa = args[:bungalow_or_villa] if args.key?(:bungalow_or_villa) @bungalow_or_villa_exception = args[:bungalow_or_villa_exception] if args.key?(:bungalow_or_villa_exception) @connecting_unit_available = args[:connecting_unit_available] if args.key?(:connecting_unit_available) @connecting_unit_available_exception = args[:connecting_unit_available_exception] if args.key?(:connecting_unit_available_exception) @executive_floor = args[:executive_floor] if args.key?(:executive_floor) @executive_floor_exception = args[:executive_floor_exception] if args.key?(:executive_floor_exception) @max_adult_occupants_count = args[:max_adult_occupants_count] if args.key?(:max_adult_occupants_count) @max_adult_occupants_count_exception = args[:max_adult_occupants_count_exception] if args.key?(:max_adult_occupants_count_exception) @max_child_occupants_count = args[:max_child_occupants_count] if args.key?(:max_child_occupants_count) @max_child_occupants_count_exception = args[:max_child_occupants_count_exception] if args.key?(:max_child_occupants_count_exception) @max_occupants_count = args[:max_occupants_count] if args.key?(:max_occupants_count) @max_occupants_count_exception = args[:max_occupants_count_exception] if args.key?(:max_occupants_count_exception) @private_home = args[:private_home] if args.key?(:private_home) @private_home_exception = args[:private_home_exception] if args.key?(:private_home_exception) @suite = args[:suite] if args.key?(:suite) @suite_exception = args[:suite_exception] if args.key?(:suite_exception) @tier = args[:tier] if args.key?(:tier) @tier_exception = args[:tier_exception] if args.key?(:tier_exception) @total_living_areas = args[:total_living_areas] if args.key?(:total_living_areas) @views = args[:views] if args.key?(:views) end |