Class: Google::Apis::MybusinesslodgingV1::Parking

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

Parking options at the property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Parking

Returns a new instance of Parking.



2679
2680
2681
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2679

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

Instance Attribute Details

#electric_car_charging_stationsBoolean Also known as: electric_car_charging_stations?

Electric car charging stations. Electric power stations, usually located outdoors, into which guests plug their electric cars to receive a charge. Corresponds to the JSON property electricCarChargingStations

Returns:

  • (Boolean)


2592
2593
2594
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2592

def electric_car_charging_stations
  @electric_car_charging_stations
end

#electric_car_charging_stations_exceptionString

Electric car charging stations exception. Corresponds to the JSON property electricCarChargingStationsException

Returns:

  • (String)


2598
2599
2600
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2598

def electric_car_charging_stations_exception
  @electric_car_charging_stations_exception
end

#free_parkingBoolean Also known as: free_parking?

Free parking. The hotel allows the cars of guests to be parked for free. Parking facility may be an outdoor lot or an indoor garage, but must be onsite. Nearby parking does not apply. Parking may be performed by the guest or by hotel staff. Free parking must be available to all guests (limited conditions does not apply). Corresponds to the JSON property freeParking

Returns:

  • (Boolean)


2607
2608
2609
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2607

def free_parking
  @free_parking
end

#free_parking_exceptionString

Free parking exception. Corresponds to the JSON property freeParkingException

Returns:

  • (String)


2613
2614
2615
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2613

def free_parking_exception
  @free_parking_exception
end

#free_self_parkingBoolean Also known as: free_self_parking?

Free self parking. Guests park their own cars for free. Parking facility may be an outdoor lot or an indoor garage, but must be onsite. Nearby parking does not apply. Corresponds to the JSON property freeSelfParking

Returns:

  • (Boolean)


2620
2621
2622
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2620

def free_self_parking
  @free_self_parking
end

#free_self_parking_exceptionString

Free self parking exception. Corresponds to the JSON property freeSelfParkingException

Returns:

  • (String)


2626
2627
2628
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2626

def free_self_parking_exception
  @free_self_parking_exception
end

#free_valet_parkingBoolean Also known as: free_valet_parking?

Free valet parking. Hotel staff member parks the cars of guests. Parking with this service is free. Corresponds to the JSON property freeValetParking

Returns:

  • (Boolean)


2632
2633
2634
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2632

def free_valet_parking
  @free_valet_parking
end

#free_valet_parking_exceptionString

Free valet parking exception. Corresponds to the JSON property freeValetParkingException

Returns:

  • (String)


2638
2639
2640
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2638

def free_valet_parking_exception
  @free_valet_parking_exception
end

#parking_availableBoolean Also known as: parking_available?

Parking available. The hotel allows the cars of guests to be parked. Can be free or for a fee. Parking facility may be an outdoor lot or an indoor garage, but must be onsite. Nearby parking does not apply. Parking may be performed by the guest or by hotel staff. Corresponds to the JSON property parkingAvailable

Returns:

  • (Boolean)


2646
2647
2648
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2646

def parking_available
  @parking_available
end

#parking_available_exceptionString

Parking available exception. Corresponds to the JSON property parkingAvailableException

Returns:

  • (String)


2652
2653
2654
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2652

def parking_available_exception
  @parking_available_exception
end

#self_parking_availableBoolean Also known as: self_parking_available?

Self parking available. Guests park their own cars. Parking facility may be an outdoor lot or an indoor garage, but must be onsite. Nearby parking does not apply. Can be free or for a fee. Corresponds to the JSON property selfParkingAvailable

Returns:

  • (Boolean)


2659
2660
2661
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2659

def self_parking_available
  @self_parking_available
end

#self_parking_available_exceptionString

Self parking available exception. Corresponds to the JSON property selfParkingAvailableException

Returns:

  • (String)


2665
2666
2667
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2665

def self_parking_available_exception
  @self_parking_available_exception
end

#valet_parking_availableBoolean Also known as: valet_parking_available?

Valet parking available. Hotel staff member parks the cars of guests. Parking with this service can be free or for a fee. Corresponds to the JSON property valetParkingAvailable

Returns:

  • (Boolean)


2671
2672
2673
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2671

def valet_parking_available
  @valet_parking_available
end

#valet_parking_available_exceptionString

Valet parking available exception. Corresponds to the JSON property valetParkingAvailableException

Returns:

  • (String)


2677
2678
2679
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2677

def valet_parking_available_exception
  @valet_parking_available_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2684

def update!(**args)
  @electric_car_charging_stations = args[:electric_car_charging_stations] if args.key?(:electric_car_charging_stations)
  @electric_car_charging_stations_exception = args[:electric_car_charging_stations_exception] if args.key?(:electric_car_charging_stations_exception)
  @free_parking = args[:free_parking] if args.key?(:free_parking)
  @free_parking_exception = args[:free_parking_exception] if args.key?(:free_parking_exception)
  @free_self_parking = args[:free_self_parking] if args.key?(:free_self_parking)
  @free_self_parking_exception = args[:free_self_parking_exception] if args.key?(:free_self_parking_exception)
  @free_valet_parking = args[:free_valet_parking] if args.key?(:free_valet_parking)
  @free_valet_parking_exception = args[:free_valet_parking_exception] if args.key?(:free_valet_parking_exception)
  @parking_available = args[:parking_available] if args.key?(:parking_available)
  @parking_available_exception = args[:parking_available_exception] if args.key?(:parking_available_exception)
  @self_parking_available = args[:self_parking_available] if args.key?(:self_parking_available)
  @self_parking_available_exception = args[:self_parking_available_exception] if args.key?(:self_parking_available_exception)
  @valet_parking_available = args[:valet_parking_available] if args.key?(:valet_parking_available)
  @valet_parking_available_exception = args[:valet_parking_available_exception] if args.key?(:valet_parking_available_exception)
end