Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay
- 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
The days of the week on which an itinerary's travel can start.
Instance Attribute Summary collapse
-
#friday ⇒ Boolean
(also: #friday?)
The travel can start on Friday.
-
#monday ⇒ Boolean
(also: #monday?)
The travel can start on Monday.
-
#saturday ⇒ Boolean
(also: #saturday?)
The travel can start on Saturday.
-
#sunday ⇒ Boolean
(also: #sunday?)
The travel can start on Sunday.
-
#thursday ⇒ Boolean
(also: #thursday?)
The travel can start on Thursday.
-
#tuesday ⇒ Boolean
(also: #tuesday?)
The travel can start on Tuesday.
-
#wednesday ⇒ Boolean
(also: #wednesday?)
The travel can start on Wednesday.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay
constructor
A new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay
Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.
16747 16748 16749 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16747 def initialize(**args) update!(**args) end |
Instance Attribute Details
#friday ⇒ Boolean Also known as: friday?
The travel can start on Friday.
Corresponds to the JSON property friday
16708 16709 16710 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16708 def friday @friday end |
#monday ⇒ Boolean Also known as: monday?
The travel can start on Monday.
Corresponds to the JSON property monday
16714 16715 16716 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16714 def monday @monday end |
#saturday ⇒ Boolean Also known as: saturday?
The travel can start on Saturday.
Corresponds to the JSON property saturday
16720 16721 16722 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16720 def saturday @saturday end |
#sunday ⇒ Boolean Also known as: sunday?
The travel can start on Sunday.
Corresponds to the JSON property sunday
16726 16727 16728 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16726 def sunday @sunday end |
#thursday ⇒ Boolean Also known as: thursday?
The travel can start on Thursday.
Corresponds to the JSON property thursday
16732 16733 16734 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16732 def thursday @thursday end |
#tuesday ⇒ Boolean Also known as: tuesday?
The travel can start on Tuesday.
Corresponds to the JSON property tuesday
16738 16739 16740 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16738 def tuesday @tuesday end |
#wednesday ⇒ Boolean Also known as: wednesday?
The travel can start on Wednesday.
Corresponds to the JSON property wednesday
16744 16745 16746 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16744 def wednesday @wednesday end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16752 16753 16754 16755 16756 16757 16758 16759 16760 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16752 def update!(**args) @friday = args[:friday] if args.key?(:friday) @monday = args[:monday] if args.key?(:monday) @saturday = args[:saturday] if args.key?(:saturday) @sunday = args[:sunday] if args.key?(:sunday) @thursday = args[:thursday] if args.key?(:thursday) @tuesday = args[:tuesday] if args.key?(:tuesday) @wednesday = args[:wednesday] if args.key?(:wednesday) end |