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.



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

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)


2766
2767
2768
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2766

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)


2772
2773
2774
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2772

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)


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

def free_parking
  @free_parking
end

#free_parking_exceptionString

Free parking exception. Corresponds to the JSON property freeParkingException

Returns:

  • (String)


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

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)


2794
2795
2796
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2794

def free_self_parking
  @free_self_parking
end

#free_self_parking_exceptionString

Free self parking exception. Corresponds to the JSON property freeSelfParkingException

Returns:

  • (String)


2800
2801
2802
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2800

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)


2806
2807
2808
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2806

def free_valet_parking
  @free_valet_parking
end

#free_valet_parking_exceptionString

Free valet parking exception. Corresponds to the JSON property freeValetParkingException

Returns:

  • (String)


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

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)


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

def parking_available
  @parking_available
end

#parking_available_exceptionString

Parking available exception. Corresponds to the JSON property parkingAvailableException

Returns:

  • (String)


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

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)


2833
2834
2835
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2833

def self_parking_available
  @self_parking_available
end

#self_parking_available_exceptionString

Self parking available exception. Corresponds to the JSON property selfParkingAvailableException

Returns:

  • (String)


2839
2840
2841
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2839

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)


2845
2846
2847
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2845

def valet_parking_available
  @valet_parking_available
end

#valet_parking_available_exceptionString

Valet parking available exception. Corresponds to the JSON property valetParkingAvailableException

Returns:

  • (String)


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

def valet_parking_available_exception
  @valet_parking_available_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2858

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