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.



16747
16748
16749
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16747

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)


16708
16709
16710
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16708

def friday
  @friday
end

#mondayBoolean Also known as: monday?

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

Returns:

  • (Boolean)


16714
16715
16716
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16714

def monday
  @monday
end

#saturdayBoolean Also known as: saturday?

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

Returns:

  • (Boolean)


16720
16721
16722
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16720

def saturday
  @saturday
end

#sundayBoolean Also known as: sunday?

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

Returns:

  • (Boolean)


16726
16727
16728
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16726

def sunday
  @sunday
end

#thursdayBoolean Also known as: thursday?

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

Returns:

  • (Boolean)


16732
16733
16734
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16732

def thursday
  @thursday
end

#tuesdayBoolean Also known as: tuesday?

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

Returns:

  • (Boolean)


16738
16739
16740
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16738

def tuesday
  @tuesday
end

#wednesdayBoolean Also known as: wednesday?

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

Returns:

  • (Boolean)


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