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.



5464
5465
5466
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5464

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)


5462
5463
5464
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5462

def day_of_week
  @day_of_week
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5469
5470
5471
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5469

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