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.



2870
2871
2872
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2870

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)


2783
2784
2785
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2783

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)


2789
2790
2791
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2789

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)


2798
2799
2800
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2798

def free_parking
  @free_parking
end

#free_parking_exceptionString

Free parking exception. Corresponds to the JSON property freeParkingException

Returns:

  • (String)


2804
2805
2806
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2804

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)


2811
2812
2813
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2811

def free_self_parking
  @free_self_parking
end

#free_self_parking_exceptionString

Free self parking exception. Corresponds to the JSON property freeSelfParkingException

Returns:

  • (String)


2817
2818
2819
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2817

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)


2823
2824
2825
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2823

def free_valet_parking
  @free_valet_parking
end

#free_valet_parking_exceptionString

Free valet parking exception. Corresponds to the JSON property freeValetParkingException

Returns:

  • (String)


2829
2830
2831
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2829

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)


2837
2838
2839
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2837

def parking_available
  @parking_available
end

#parking_available_exceptionString

Parking available exception. Corresponds to the JSON property parkingAvailableException

Returns:

  • (String)


2843
2844
2845
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2843

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)


2850
2851
2852
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2850

def self_parking_available
  @self_parking_available
end

#self_parking_available_exceptionString

Self parking available exception. Corresponds to the JSON property selfParkingAvailableException

Returns:

  • (String)


2856
2857
2858
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2856

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)


2862
2863
2864
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2862

def valet_parking_available
  @valet_parking_available
end

#valet_parking_available_exceptionString

Valet parking available exception. Corresponds to the JSON property valetParkingAvailableException

Returns:

  • (String)


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

def valet_parking_available_exception
  @valet_parking_available_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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