Class: Google::Apis::MybusinesslodgingV1::Policies
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::Policies
- 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
Property rules that impact guests.
Instance Attribute Summary collapse
-
#all_inclusive_available ⇒ Boolean
(also: #all_inclusive_available?)
All inclusive available.
-
#all_inclusive_available_exception ⇒ String
All inclusive available exception.
-
#all_inclusive_only ⇒ Boolean
(also: #all_inclusive_only?)
All inclusive only.
-
#all_inclusive_only_exception ⇒ String
All inclusive only exception.
-
#checkin_time ⇒ Google::Apis::MybusinesslodgingV1::TimeOfDay
Represents a time of day.
-
#checkin_time_exception ⇒ String
Check-in time exception.
-
#checkout_time ⇒ Google::Apis::MybusinesslodgingV1::TimeOfDay
Represents a time of day.
-
#checkout_time_exception ⇒ String
Check-out time exception.
-
#kids_stay_free ⇒ Boolean
(also: #kids_stay_free?)
Kids stay free.
-
#kids_stay_free_exception ⇒ String
Kids stay free exception.
-
#max_child_age ⇒ Fixnum
Max child age.
-
#max_child_age_exception ⇒ String
Max child age exception.
-
#max_kids_stay_free_count ⇒ Fixnum
Max kids stay free count.
-
#max_kids_stay_free_count_exception ⇒ String
Max kids stay free count exception.
-
#payment_options ⇒ Google::Apis::MybusinesslodgingV1::PaymentOptions
Forms of payment accepted at the property.
-
#smoke_free_property ⇒ Boolean
(also: #smoke_free_property?)
Smoke free property.
-
#smoke_free_property_exception ⇒ String
Smoke free property exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Policies
constructor
A new instance of Policies.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Policies
Returns a new instance of Policies.
3301 3302 3303 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3301 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all_inclusive_available ⇒ Boolean Also known as: all_inclusive_available?
All inclusive available. The hotel offers a rate option that includes the cost
of the room, meals, activities, and other amenities that might otherwise be
charged separately.
Corresponds to the JSON property allInclusiveAvailable
3202 3203 3204 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3202 def all_inclusive_available @all_inclusive_available end |
#all_inclusive_available_exception ⇒ String
All inclusive available exception.
Corresponds to the JSON property allInclusiveAvailableException
3208 3209 3210 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3208 def all_inclusive_available_exception @all_inclusive_available_exception end |
#all_inclusive_only ⇒ Boolean Also known as: all_inclusive_only?
All inclusive only. The only rate option offered by the hotel is a rate that
includes the cost of the room, meals, activities and other amenities that
might otherwise be charged separately.
Corresponds to the JSON property allInclusiveOnly
3215 3216 3217 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3215 def all_inclusive_only @all_inclusive_only end |
#all_inclusive_only_exception ⇒ String
All inclusive only exception.
Corresponds to the JSON property allInclusiveOnlyException
3221 3222 3223 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3221 def all_inclusive_only_exception @all_inclusive_only_exception end |
#checkin_time ⇒ Google::Apis::MybusinesslodgingV1::TimeOfDay
Represents a time of day. The date and time zone are either not significant or
are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp
.
Corresponds to the JSON property checkinTime
3228 3229 3230 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3228 def checkin_time @checkin_time end |
#checkin_time_exception ⇒ String
Check-in time exception.
Corresponds to the JSON property checkinTimeException
3233 3234 3235 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3233 def checkin_time_exception @checkin_time_exception end |
#checkout_time ⇒ Google::Apis::MybusinesslodgingV1::TimeOfDay
Represents a time of day. The date and time zone are either not significant or
are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp
.
Corresponds to the JSON property checkoutTime
3240 3241 3242 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3240 def checkout_time @checkout_time end |
#checkout_time_exception ⇒ String
Check-out time exception.
Corresponds to the JSON property checkoutTimeException
3245 3246 3247 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3245 def checkout_time_exception @checkout_time_exception end |
#kids_stay_free ⇒ Boolean Also known as: kids_stay_free?
Kids stay free. The children of guests are allowed to stay in the room/suite
of a parent or adult without an additional fee. The policy may or may not
stipulate a limit of the child's age or the overall number of children allowed.
Corresponds to the JSON property kidsStayFree
3252 3253 3254 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3252 def kids_stay_free @kids_stay_free end |
#kids_stay_free_exception ⇒ String
Kids stay free exception.
Corresponds to the JSON property kidsStayFreeException
3258 3259 3260 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3258 def kids_stay_free_exception @kids_stay_free_exception end |
#max_child_age ⇒ Fixnum
Max child age. The hotel allows children up to a certain age to stay in the
room/suite of a parent or adult without an additional fee.
Corresponds to the JSON property maxChildAge
3264 3265 3266 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3264 def max_child_age @max_child_age end |
#max_child_age_exception ⇒ String
Max child age exception.
Corresponds to the JSON property maxChildAgeException
3269 3270 3271 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3269 def max_child_age_exception @max_child_age_exception end |
#max_kids_stay_free_count ⇒ Fixnum
Max kids stay free count. The hotel allows a specific, defined number of
children to stay in the room/suite of a parent or adult without an additional
fee.
Corresponds to the JSON property maxKidsStayFreeCount
3276 3277 3278 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3276 def max_kids_stay_free_count @max_kids_stay_free_count end |
#max_kids_stay_free_count_exception ⇒ String
Max kids stay free count exception.
Corresponds to the JSON property maxKidsStayFreeCountException
3281 3282 3283 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3281 def max_kids_stay_free_count_exception @max_kids_stay_free_count_exception end |
#payment_options ⇒ Google::Apis::MybusinesslodgingV1::PaymentOptions
Forms of payment accepted at the property.
Corresponds to the JSON property paymentOptions
3286 3287 3288 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3286 def @payment_options end |
#smoke_free_property ⇒ Boolean Also known as: smoke_free_property?
Smoke free property. Smoking is not allowed inside the building, on balconies,
or in outside spaces. Hotels that offer a designated area for guests to smoke
are not considered smoke-free properties.
Corresponds to the JSON property smokeFreeProperty
3293 3294 3295 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3293 def smoke_free_property @smoke_free_property end |
#smoke_free_property_exception ⇒ String
Smoke free property exception.
Corresponds to the JSON property smokeFreePropertyException
3299 3300 3301 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3299 def smoke_free_property_exception @smoke_free_property_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3306 def update!(**args) @all_inclusive_available = args[:all_inclusive_available] if args.key?(:all_inclusive_available) @all_inclusive_available_exception = args[:all_inclusive_available_exception] if args.key?(:all_inclusive_available_exception) @all_inclusive_only = args[:all_inclusive_only] if args.key?(:all_inclusive_only) @all_inclusive_only_exception = args[:all_inclusive_only_exception] if args.key?(:all_inclusive_only_exception) @checkin_time = args[:checkin_time] if args.key?(:checkin_time) @checkin_time_exception = args[:checkin_time_exception] if args.key?(:checkin_time_exception) @checkout_time = args[:checkout_time] if args.key?(:checkout_time) @checkout_time_exception = args[:checkout_time_exception] if args.key?(:checkout_time_exception) @kids_stay_free = args[:kids_stay_free] if args.key?(:kids_stay_free) @kids_stay_free_exception = args[:kids_stay_free_exception] if args.key?(:kids_stay_free_exception) @max_child_age = args[:max_child_age] if args.key?(:max_child_age) @max_child_age_exception = args[:max_child_age_exception] if args.key?(:max_child_age_exception) @max_kids_stay_free_count = args[:max_kids_stay_free_count] if args.key?(:max_kids_stay_free_count) @max_kids_stay_free_count_exception = args[:max_kids_stay_free_count_exception] if args.key?(:max_kids_stay_free_count_exception) @payment_options = args[:payment_options] if args.key?(:payment_options) @smoke_free_property = args[:smoke_free_property] if args.key?(:smoke_free_property) @smoke_free_property_exception = args[:smoke_free_property_exception] if args.key?(:smoke_free_property_exception) end |