Class: Google::Apis::MybusinesslodgingV1::Transportation

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

Vehicles or vehicular services facilitated or owned by the property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Transportation

Returns a new instance of Transportation.



4169
4170
4171
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4169

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

Instance Attribute Details

#airport_shuttleBoolean Also known as: airport_shuttle?

Airport shuttle. The hotel provides guests with a chauffeured van or bus to and from the airport. Can be free or for a fee. Guests may share the vehicle with other guests unknown to them. Applies if the hotel has a third-party shuttle service (office/desk etc.) within the hotel. As long as hotel provides this service, it doesn't matter if it's directly with them or a third party they work with. Does not apply if guest has to coordinate with an entity outside/other than the hotel. Corresponds to the JSON property airportShuttle

Returns:

  • (Boolean)


4084
4085
4086
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4084

def airport_shuttle
  @airport_shuttle
end

#airport_shuttle_exceptionString

Airport shuttle exception. Corresponds to the JSON property airportShuttleException

Returns:

  • (String)


4090
4091
4092
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4090

def airport_shuttle_exception
  @airport_shuttle_exception
end

#car_rental_on_propertyBoolean Also known as: car_rental_on_property?

Car rental on property. A branch of a rental car company with a processing desk in the hotel. Available cars for rent may be awaiting at the hotel or in a nearby lot. Corresponds to the JSON property carRentalOnProperty

Returns:

  • (Boolean)


4097
4098
4099
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4097

def car_rental_on_property
  @car_rental_on_property
end

#car_rental_on_property_exceptionString

Car rental on property exception. Corresponds to the JSON property carRentalOnPropertyException

Returns:

  • (String)


4103
4104
4105
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4103

def car_rental_on_property_exception
  @car_rental_on_property_exception
end

#free_airport_shuttleBoolean Also known as: free_airport_shuttle?

Free airport shuttle. Airport shuttle is free to guests. Must be free to all guests without any conditions. Corresponds to the JSON property freeAirportShuttle

Returns:

  • (Boolean)


4109
4110
4111
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4109

def free_airport_shuttle
  @free_airport_shuttle
end

#free_airport_shuttle_exceptionString

Free airport shuttle exception. Corresponds to the JSON property freeAirportShuttleException

Returns:

  • (String)


4115
4116
4117
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4115

def free_airport_shuttle_exception
  @free_airport_shuttle_exception
end

#free_private_car_serviceBoolean Also known as: free_private_car_service?

Free private car service. Private chauffeured car service is free to guests. Corresponds to the JSON property freePrivateCarService

Returns:

  • (Boolean)


4120
4121
4122
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4120

def free_private_car_service
  @free_private_car_service
end

#free_private_car_service_exceptionString

Free private car service exception. Corresponds to the JSON property freePrivateCarServiceException

Returns:

  • (String)


4126
4127
4128
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4126

def free_private_car_service_exception
  @free_private_car_service_exception
end

#local_shuttleBoolean Also known as: local_shuttle?

Local shuttle. A car, van or bus provided by the hotel to transport guests to destinations within a specified range of distance around the hotel. Usually shopping and/or convention centers, downtown districts, or beaches. Can be free or for a fee. Corresponds to the JSON property localShuttle

Returns:

  • (Boolean)


4134
4135
4136
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4134

def local_shuttle
  @local_shuttle
end

#local_shuttle_exceptionString

Local shuttle exception. Corresponds to the JSON property localShuttleException

Returns:

  • (String)


4140
4141
4142
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4140

def local_shuttle_exception
  @local_shuttle_exception
end

#private_car_serviceBoolean Also known as: private_car_service?

Private car service. Hotel provides a private chauffeured car to transport guests to destinations. Passengers in the car are either alone or are known to one another and have requested the car together. Service can be free or for a fee and travel distance is usually limited to a specific range. Not a taxi. Corresponds to the JSON property privateCarService

Returns:

  • (Boolean)


4148
4149
4150
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4148

def private_car_service
  @private_car_service
end

#private_car_service_exceptionString

Private car service exception. Corresponds to the JSON property privateCarServiceException

Returns:

  • (String)


4154
4155
4156
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4154

def private_car_service_exception
  @private_car_service_exception
end

#transferBoolean Also known as: transfer?

Transfer. Hotel provides a shuttle service or car service to take guests to and from the nearest airport or train station. Can be free or for a fee. Guests may share the vehicle with other guests unknown to them. Corresponds to the JSON property transfer

Returns:

  • (Boolean)


4161
4162
4163
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4161

def transfer
  @transfer
end

#transfer_exceptionString

Transfer exception. Corresponds to the JSON property transferException

Returns:

  • (String)


4167
4168
4169
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4167

def transfer_exception
  @transfer_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 4174

def update!(**args)
  @airport_shuttle = args[:airport_shuttle] if args.key?(:airport_shuttle)
  @airport_shuttle_exception = args[:airport_shuttle_exception] if args.key?(:airport_shuttle_exception)
  @car_rental_on_property = args[:car_rental_on_property] if args.key?(:car_rental_on_property)
  @car_rental_on_property_exception = args[:car_rental_on_property_exception] if args.key?(:car_rental_on_property_exception)
  @free_airport_shuttle = args[:free_airport_shuttle] if args.key?(:free_airport_shuttle)
  @free_airport_shuttle_exception = args[:free_airport_shuttle_exception] if args.key?(:free_airport_shuttle_exception)
  @free_private_car_service = args[:free_private_car_service] if args.key?(:free_private_car_service)
  @free_private_car_service_exception = args[:free_private_car_service_exception] if args.key?(:free_private_car_service_exception)
  @local_shuttle = args[:local_shuttle] if args.key?(:local_shuttle)
  @local_shuttle_exception = args[:local_shuttle_exception] if args.key?(:local_shuttle_exception)
  @private_car_service = args[:private_car_service] if args.key?(:private_car_service)
  @private_car_service_exception = args[:private_car_service_exception] if args.key?(:private_car_service_exception)
  @transfer = args[:transfer] if args.key?(:transfer)
  @transfer_exception = args[:transfer_exception] if args.key?(:transfer_exception)
end