Class: Google::Apis::MybusinesslodgingV1::GuestUnitFeatures

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestUnitFeatures

Returns a new instance of GuestUnitFeatures.



1191
1192
1193
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1191

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bungalow_or_villaBoolean 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

Returns:

  • (Boolean)


1071
1072
1073
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1071

def bungalow_or_villa
  @bungalow_or_villa
end

#bungalow_or_villa_exceptionString

Bungalow or villa exception. Corresponds to the JSON property bungalowOrVillaException

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1077

def bungalow_or_villa_exception
  @bungalow_or_villa_exception
end

#connecting_unit_availableBoolean 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

Returns:

  • (Boolean)


1085
1086
1087
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1085

def connecting_unit_available
  @connecting_unit_available
end

#connecting_unit_available_exceptionString

Connecting unit available exception. Corresponds to the JSON property connectingUnitAvailableException

Returns:

  • (String)


1091
1092
1093
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1091

def connecting_unit_available_exception
  @connecting_unit_available_exception
end

#executive_floorBoolean 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

Returns:

  • (Boolean)


1099
1100
1101
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1099

def executive_floor
  @executive_floor
end

#executive_floor_exceptionString

Executive floor exception. Corresponds to the JSON property executiveFloorException

Returns:

  • (String)


1105
1106
1107
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1105

def executive_floor_exception
  @executive_floor_exception
end

#max_adult_occupants_countFixnum

Max adult occupants count. The total number of adult guests allowed to stay overnight in the guestroom. Corresponds to the JSON property maxAdultOccupantsCount

Returns:

  • (Fixnum)


1111
1112
1113
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1111

def max_adult_occupants_count
  @max_adult_occupants_count
end

#max_adult_occupants_count_exceptionString

Max adult occupants count exception. Corresponds to the JSON property maxAdultOccupantsCountException

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1116

def max_adult_occupants_count_exception
  @max_adult_occupants_count_exception
end

#max_child_occupants_countFixnum

Max child occupants count. The total number of children allowed to stay overnight in the room. Corresponds to the JSON property maxChildOccupantsCount

Returns:

  • (Fixnum)


1122
1123
1124
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1122

def max_child_occupants_count
  @max_child_occupants_count
end

#max_child_occupants_count_exceptionString

Max child occupants count exception. Corresponds to the JSON property maxChildOccupantsCountException

Returns:

  • (String)


1127
1128
1129
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1127

def max_child_occupants_count_exception
  @max_child_occupants_count_exception
end

#max_occupants_countFixnum

Max occupants count. The total number of guests allowed to stay overnight in the guestroom. Corresponds to the JSON property maxOccupantsCount

Returns:

  • (Fixnum)


1133
1134
1135
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1133

def max_occupants_count
  @max_occupants_count
end

#max_occupants_count_exceptionString

Max occupants count exception. Corresponds to the JSON property maxOccupantsCountException

Returns:

  • (String)


1138
1139
1140
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1138

def max_occupants_count_exception
  @max_occupants_count_exception
end

#private_homeBoolean 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

Returns:

  • (Boolean)


1146
1147
1148
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1146

def private_home
  @private_home
end

#private_home_exceptionString

Private home exception. Corresponds to the JSON property privateHomeException

Returns:

  • (String)


1152
1153
1154
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1152

def private_home_exception
  @private_home_exception
end

#suiteBoolean 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

Returns:

  • (Boolean)


1160
1161
1162
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1160

def suite
  @suite
end

#suite_exceptionString

Suite exception. Corresponds to the JSON property suiteException

Returns:

  • (String)


1166
1167
1168
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1166

def suite_exception
  @suite_exception
end

#tierString

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

Returns:

  • (String)


1173
1174
1175
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1173

def tier
  @tier
end

#tier_exceptionString

Tier exception. Corresponds to the JSON property tierException

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1178

def tier_exception
  @tier_exception
end

#total_living_areasGoogle::Apis::MybusinesslodgingV1::LivingArea

An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit. Corresponds to the JSON property totalLivingAreas



1184
1185
1186
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1184

def total_living_areas
  @total_living_areas
end

#viewsGoogle::Apis::MybusinesslodgingV1::ViewsFromUnit

Views available from the guest unit itself. Corresponds to the JSON property views



1189
1190
1191
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1189

def views
  @views
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1196

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