Class: Google::Apis::MybusinesslodgingV1::Housekeeping
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::Housekeeping
- 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
Conveniences provided in guest units to facilitate an easier, more comfortable stay.
Instance Attribute Summary collapse
-
#daily_housekeeping ⇒ Boolean
(also: #daily_housekeeping?)
Daily housekeeping.
-
#daily_housekeeping_exception ⇒ String
Daily housekeeping exception.
-
#housekeeping_available ⇒ Boolean
(also: #housekeeping_available?)
Housekeeping available.
-
#housekeeping_available_exception ⇒ String
Housekeeping available exception.
-
#turndown_service ⇒ Boolean
(also: #turndown_service?)
Turndown service.
-
#turndown_service_exception ⇒ String
Turndown service exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Housekeeping
constructor
A new instance of Housekeeping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Housekeeping
Returns a new instance of Housekeeping.
1152 1153 1154 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#daily_housekeeping ⇒ Boolean Also known as: daily_housekeeping?
Daily housekeeping. Guest units are cleaned by hotel staff daily during guest'
s stay.
Corresponds to the JSON property dailyHousekeeping
1119 1120 1121 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1119 def daily_housekeeping @daily_housekeeping end |
#daily_housekeeping_exception ⇒ String
Daily housekeeping exception.
Corresponds to the JSON property dailyHousekeepingException
1125 1126 1127 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1125 def daily_housekeeping_exception @daily_housekeeping_exception end |
#housekeeping_available ⇒ Boolean Also known as: housekeeping_available?
Housekeeping available. Guest units are cleaned by hotel staff during guest's
stay. Schedule may vary from daily, weekly, or specific days of the week.
Corresponds to the JSON property housekeepingAvailable
1131 1132 1133 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1131 def housekeeping_available @housekeeping_available end |
#housekeeping_available_exception ⇒ String
Housekeeping available exception.
Corresponds to the JSON property housekeepingAvailableException
1137 1138 1139 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1137 def housekeeping_available_exception @housekeeping_available_exception end |
#turndown_service ⇒ Boolean Also known as: turndown_service?
Turndown service. Hotel staff enters guest units to prepare the bed for sleep
use. May or may not include some light housekeeping. May or may not include an
evening snack or candy. Also known as evening service.
Corresponds to the JSON property turndownService
1144 1145 1146 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1144 def turndown_service @turndown_service end |
#turndown_service_exception ⇒ String
Turndown service exception.
Corresponds to the JSON property turndownServiceException
1150 1151 1152 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1150 def turndown_service_exception @turndown_service_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1157 1158 1159 1160 1161 1162 1163 1164 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1157 def update!(**args) @daily_housekeeping = args[:daily_housekeeping] if args.key?(:daily_housekeeping) @daily_housekeeping_exception = args[:daily_housekeeping_exception] if args.key?(:daily_housekeeping_exception) @housekeeping_available = args[:housekeeping_available] if args.key?(:housekeeping_available) @housekeeping_available_exception = args[:housekeeping_available_exception] if args.key?(:housekeeping_available_exception) @turndown_service = args[:turndown_service] if args.key?(:turndown_service) @turndown_service_exception = args[:turndown_service_exception] if args.key?(:turndown_service_exception) end |