Class: Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
 generated/google/apis/adexchangebuyer_v1_4/representations.rb,
 generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #day_of_week  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property dayOfWeek.
- 
  
    
      #end_hour  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property endHour.
- 
  
    
      #end_minute  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property endMinute.
- 
  
    
      #start_hour  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property startHour.
- 
  
    
      #start_minute  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property startMinute.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TargetingValueDayPartTargetingDayPart 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TargetingValueDayPartTargetingDayPart. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetingValueDayPartTargetingDayPart
Returns a new instance of TargetingValueDayPartTargetingDayPart
| 3570 3571 3572 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3570 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#day_of_week ⇒ String
Corresponds to the JSON property dayOfWeek
| 3548 3549 3550 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3548 def day_of_week @day_of_week end | 
#end_hour ⇒ Fixnum
Corresponds to the JSON property endHour
| 3553 3554 3555 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3553 def end_hour @end_hour end | 
#end_minute ⇒ Fixnum
Corresponds to the JSON property endMinute
| 3558 3559 3560 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3558 def end_minute @end_minute end | 
#start_hour ⇒ Fixnum
Corresponds to the JSON property startHour
| 3563 3564 3565 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3563 def start_hour @start_hour end | 
#start_minute ⇒ Fixnum
Corresponds to the JSON property startMinute
| 3568 3569 3570 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3568 def start_minute @start_minute end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3575 3576 3577 3578 3579 3580 3581 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3575 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 |