Class: Google::Apis::MybusinesslodgingV1::Pets
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::Pets
- 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
Policies regarding guest-owned animals.
Instance Attribute Summary collapse
-
#cats_allowed ⇒ Boolean
(also: #cats_allowed?)
Cats allowed.
-
#cats_allowed_exception ⇒ String
Cats allowed exception.
-
#dogs_allowed ⇒ Boolean
(also: #dogs_allowed?)
Dogs allowed.
-
#dogs_allowed_exception ⇒ String
Dogs allowed exception.
-
#pets_allowed ⇒ Boolean
(also: #pets_allowed?)
Pets allowed.
-
#pets_allowed_exception ⇒ String
Pets allowed exception.
-
#pets_allowed_free ⇒ Boolean
(also: #pets_allowed_free?)
Pets allowed free.
-
#pets_allowed_free_exception ⇒ String
Pets allowed free exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pets
constructor
A new instance of Pets.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pets
Returns a new instance of Pets.
3098 3099 3100 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cats_allowed ⇒ Boolean Also known as: cats_allowed?
Cats allowed. Domesticated felines are permitted at the property and allowed
to stay in the guest room of their owner. May or may not require a fee.
Corresponds to the JSON property catsAllowed
3051 3052 3053 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3051 def cats_allowed @cats_allowed end |
#cats_allowed_exception ⇒ String
Cats allowed exception.
Corresponds to the JSON property catsAllowedException
3057 3058 3059 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3057 def cats_allowed_exception @cats_allowed_exception end |
#dogs_allowed ⇒ Boolean Also known as: dogs_allowed?
Dogs allowed. Domesticated canines are permitted at the property and allowed
to stay in the guest room of their owner. May or may not require a fee.
Corresponds to the JSON property dogsAllowed
3063 3064 3065 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3063 def dogs_allowed @dogs_allowed end |
#dogs_allowed_exception ⇒ String
Dogs allowed exception.
Corresponds to the JSON property dogsAllowedException
3069 3070 3071 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3069 def dogs_allowed_exception @dogs_allowed_exception end |
#pets_allowed ⇒ Boolean Also known as: pets_allowed?
Pets allowed. Household animals are allowed at the property and in the
specific guest room of their owner. May or may not include dogs, cats,
reptiles and/or fish. May or may not require a fee. Service animals are not
considered to be pets, so not governed by this policy.
Corresponds to the JSON property petsAllowed
3077 3078 3079 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3077 def pets_allowed @pets_allowed end |
#pets_allowed_exception ⇒ String
Pets allowed exception.
Corresponds to the JSON property petsAllowedException
3083 3084 3085 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3083 def pets_allowed_exception @pets_allowed_exception end |
#pets_allowed_free ⇒ Boolean Also known as: pets_allowed_free?
Pets allowed free. Household animals are allowed at the property and in the
specific guest room of their owner for free. May or may not include dogs, cats,
reptiles, and/or fish.
Corresponds to the JSON property petsAllowedFree
3090 3091 3092 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3090 def pets_allowed_free @pets_allowed_free end |
#pets_allowed_free_exception ⇒ String
Pets allowed free exception.
Corresponds to the JSON property petsAllowedFreeException
3096 3097 3098 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3096 def pets_allowed_free_exception @pets_allowed_free_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3103 def update!(**args) @cats_allowed = args[:cats_allowed] if args.key?(:cats_allowed) @cats_allowed_exception = args[:cats_allowed_exception] if args.key?(:cats_allowed_exception) @dogs_allowed = args[:dogs_allowed] if args.key?(:dogs_allowed) @dogs_allowed_exception = args[:dogs_allowed_exception] if args.key?(:dogs_allowed_exception) @pets_allowed = args[:pets_allowed] if args.key?(:pets_allowed) @pets_allowed_exception = args[:pets_allowed_exception] if args.key?(:pets_allowed_exception) @pets_allowed_free = args[:pets_allowed_free] if args.key?(:pets_allowed_free) @pets_allowed_free_exception = args[:pets_allowed_free_exception] if args.key?(:pets_allowed_free_exception) end |