class Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart

Attributes

day_of_week[RW]

Corresponds to the JSON property `dayOfWeek` @return [String]

end_hour[RW]

Corresponds to the JSON property `endHour` @return [Fixnum]

end_minute[RW]

Corresponds to the JSON property `endMinute` @return [Fixnum]

start_hour[RW]

Corresponds to the JSON property `startHour` @return [Fixnum]

start_minute[RW]

Corresponds to the JSON property `startMinute` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 3682
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 3687
def update!(**args)
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
  @end_hour = args[:end_hour] if args.key?(:end_hour)
  @end_minute = args[:end_minute] if args.key?(:end_minute)
  @start_hour = args[:start_hour] if args.key?(:start_hour)
  @start_minute = args[:start_minute] if args.key?(:start_minute)
end