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.
16687 16688 16689 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16687 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
16648 16649 16650 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16648 def friday @friday end |
#monday ⇒ Boolean Also known as: monday?
The travel can start on Monday.
Corresponds to the JSON property monday
16654 16655 16656 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16654 def monday @monday end |
#saturday ⇒ Boolean Also known as: saturday?
The travel can start on Saturday.
Corresponds to the JSON property saturday
16660 16661 16662 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16660 def saturday @saturday end |
#sunday ⇒ Boolean Also known as: sunday?
The travel can start on Sunday.
Corresponds to the JSON property sunday
16666 16667 16668 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16666 def sunday @sunday end |
#thursday ⇒ Boolean Also known as: thursday?
The travel can start on Thursday.
Corresponds to the JSON property thursday
16672 16673 16674 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16672 def thursday @thursday end |
#tuesday ⇒ Boolean Also known as: tuesday?
The travel can start on Tuesday.
Corresponds to the JSON property tuesday
16678 16679 16680 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16678 def tuesday @tuesday end |
#wednesday ⇒ Boolean Also known as: wednesday?
The travel can start on Wednesday.
Corresponds to the JSON property wednesday
16684 16685 16686 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16684 def wednesday @wednesday end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16692 16693 16694 16695 16696 16697 16698 16699 16700 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16692 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 |