Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCheckInDayInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Criterion for day of the week the booking is for.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCheckInDayInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelCheckInDayInfo.



5404
5405
5406
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5404

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

Instance Attribute Details

#day_of_weekString

The day of the week. Corresponds to the JSON property dayOfWeek

Returns:

  • (String)


5402
5403
5404
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5402

def day_of_week
  @day_of_week
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5409
5410
5411
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5409

def update!(**args)
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
end