Class: Google::Apis::MybusinesslodgingV1::Pets

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

Policies regarding guest-owned animals.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Pets

Returns a new instance of Pets.



3096
3097
3098
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3096

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

Instance Attribute Details

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

Returns:

  • (Boolean)


3049
3050
3051
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3049

def cats_allowed
  @cats_allowed
end

#cats_allowed_exceptionString

Cats allowed exception. Corresponds to the JSON property catsAllowedException

Returns:

  • (String)


3055
3056
3057
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3055

def cats_allowed_exception
  @cats_allowed_exception
end

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

Returns:

  • (Boolean)


3061
3062
3063
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3061

def dogs_allowed
  @dogs_allowed
end

#dogs_allowed_exceptionString

Dogs allowed exception. Corresponds to the JSON property dogsAllowedException

Returns:

  • (String)


3067
3068
3069
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3067

def dogs_allowed_exception
  @dogs_allowed_exception
end

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

Returns:

  • (Boolean)


3075
3076
3077
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3075

def pets_allowed
  @pets_allowed
end

#pets_allowed_exceptionString

Pets allowed exception. Corresponds to the JSON property petsAllowedException

Returns:

  • (String)


3081
3082
3083
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3081

def pets_allowed_exception
  @pets_allowed_exception
end

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

Returns:

  • (Boolean)


3088
3089
3090
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3088

def pets_allowed_free
  @pets_allowed_free
end

#pets_allowed_free_exceptionString

Pets allowed free exception. Corresponds to the JSON property petsAllowedFreeException

Returns:

  • (String)


3094
3095
3096
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3094

def pets_allowed_free_exception
  @pets_allowed_free_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3101

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