class Google::Apis::MybusinesslodgingV1::Pets

Policies regarding guest-owned animals.

Attributes

cats_allowed[RW]

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` @return [Boolean]

cats_allowed?[RW]

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` @return [Boolean]

cats_allowed_exception[RW]

Cats allowed exception. Corresponds to the JSON property `catsAllowedException` @return [String]

dogs_allowed[RW]

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` @return [Boolean]

dogs_allowed?[RW]

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` @return [Boolean]

dogs_allowed_exception[RW]

Dogs allowed exception. Corresponds to the JSON property `dogsAllowedException` @return [String]

pets_allowed[RW]

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` @return [Boolean]

pets_allowed?[RW]

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` @return [Boolean]

pets_allowed_exception[RW]

Pets allowed exception. Corresponds to the JSON property `petsAllowedException` @return [String]

pets_allowed_free[RW]

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` @return [Boolean]

pets_allowed_free?[RW]

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` @return [Boolean]

pets_allowed_free_exception[RW]

Pets allowed free exception. Corresponds to the JSON property `petsAllowedFreeException` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2907
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2912
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