Class: Google::Apis::DisplayvideoV2::ListLineItemsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ListLineItemsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Instance Attribute Summary collapse
-
#line_items ⇒ Array<Google::Apis::DisplayvideoV2::LineItem>
The list of line items.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLineItemsResponse
constructor
A new instance of ListLineItemsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListLineItemsResponse
Returns a new instance of ListLineItemsResponse.
8333 8334 8335 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8333 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_items ⇒ Array<Google::Apis::DisplayvideoV2::LineItem>
The list of line items. This list will be absent if empty.
Corresponds to the JSON property lineItems
8324 8325 8326 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8324 def line_items @line_items end |
#next_page_token ⇒ String
A token to retrieve the next page of results. Pass this value in the
page_token field in the subsequent call to ListLineItems
method to retrieve
the next page of results.
Corresponds to the JSON property nextPageToken
8331 8332 8333 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8331 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8338 8339 8340 8341 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8338 def update!(**args) @line_items = args[:line_items] if args.key?(:line_items) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |