Class: Google::Apis::DisplayvideoV3::LineItemFlight
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::LineItemFlight
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Settings that control the active duration of a line item.
Instance Attribute Summary collapse
-
#date_range ⇒ Google::Apis::DisplayvideoV3::DateRange
A date range.
-
#flight_date_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LineItemFlight
constructor
A new instance of LineItemFlight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LineItemFlight
Returns a new instance of LineItemFlight.
8452 8453 8454 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_range ⇒ Google::Apis::DisplayvideoV3::DateRange
A date range.
Corresponds to the JSON property dateRange
8445 8446 8447 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8445 def date_range @date_range end |
#flight_date_type ⇒ String
Required. The type of the line item's flight dates.
Corresponds to the JSON property flightDateType
8450 8451 8452 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8450 def flight_date_type @flight_date_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8457 8458 8459 8460 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8457 def update!(**args) @date_range = args[:date_range] if args.key?(:date_range) @flight_date_type = args[:flight_date_type] if args.key?(:flight_date_type) end |