Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo

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 a check-in date range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo

Returns a new instance of GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.



5384
5385
5386
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5384

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

Instance Attribute Details

#end_dateString

End date in the YYYY-MM-DD format. Corresponds to the JSON property endDate

Returns:

  • (String)


5377
5378
5379
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5377

def end_date
  @end_date
end

#start_dateString

Start date in the YYYY-MM-DD format. Corresponds to the JSON property startDate

Returns:

  • (String)


5382
5383
5384
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5382

def start_date
  @start_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5389
5390
5391
5392
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5389

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