Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay

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

The days of the week on which an itinerary's travel can start.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.



16621
16622
16623
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16621

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

Instance Attribute Details

#fridayBoolean Also known as: friday?

The travel can start on Friday. Corresponds to the JSON property friday

Returns:

  • (Boolean)


16582
16583
16584
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16582

def friday
  @friday
end

#mondayBoolean Also known as: monday?

The travel can start on Monday. Corresponds to the JSON property monday

Returns:

  • (Boolean)


16588
16589
16590
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16588

def monday
  @monday
end

#saturdayBoolean Also known as: saturday?

The travel can start on Saturday. Corresponds to the JSON property saturday

Returns:

  • (Boolean)


16594
16595
16596
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16594

def saturday
  @saturday
end

#sundayBoolean Also known as: sunday?

The travel can start on Sunday. Corresponds to the JSON property sunday

Returns:

  • (Boolean)


16600
16601
16602
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16600

def sunday
  @sunday
end

#thursdayBoolean Also known as: thursday?

The travel can start on Thursday. Corresponds to the JSON property thursday

Returns:

  • (Boolean)


16606
16607
16608
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16606

def thursday
  @thursday
end

#tuesdayBoolean Also known as: tuesday?

The travel can start on Tuesday. Corresponds to the JSON property tuesday

Returns:

  • (Boolean)


16612
16613
16614
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16612

def tuesday
  @tuesday
end

#wednesdayBoolean Also known as: wednesday?

The travel can start on Wednesday. Corresponds to the JSON property wednesday

Returns:

  • (Boolean)


16618
16619
16620
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16618

def wednesday
  @wednesday
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16626
16627
16628
16629
16630
16631
16632
16633
16634
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16626

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