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.



2868
2869
2870
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2868

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)


2781
2782
2783
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2781

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)


2787
2788
2789
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2787

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)


2796
2797
2798
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2796

def free_parking
  @free_parking
end

#free_parking_exceptionString

Free parking exception. Corresponds to the JSON property freeParkingException

Returns:

  • (String)


2802
2803
2804
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2802

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)


2809
2810
2811
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2809

def free_self_parking
  @free_self_parking
end

#free_self_parking_exceptionString

Free self parking exception. Corresponds to the JSON property freeSelfParkingException

Returns:

  • (String)


2815
2816
2817
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2815

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)


2821
2822
2823
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2821

def free_valet_parking
  @free_valet_parking
end

#free_valet_parking_exceptionString

Free valet parking exception. Corresponds to the JSON property freeValetParkingException

Returns:

  • (String)


2827
2828
2829
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2827

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)


2835
2836
2837
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2835

def parking_available
  @parking_available
end

#parking_available_exceptionString

Parking available exception. Corresponds to the JSON property parkingAvailableException

Returns:

  • (String)


2841
2842
2843
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2841

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)


2848
2849
2850
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2848

def self_parking_available
  @self_parking_available
end

#self_parking_available_exceptionString

Self parking available exception. Corresponds to the JSON property selfParkingAvailableException

Returns:

  • (String)


2854
2855
2856
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2854

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)


2860
2861
2862
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2860

def valet_parking_available
  @valet_parking_available
end

#valet_parking_available_exceptionString

Valet parking available exception. Corresponds to the JSON property valetParkingAvailableException

Returns:

  • (String)


2866
2867
2868
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2866

def valet_parking_available_exception
  @valet_parking_available_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2873

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