Class: Google::Apis::DisplayvideoV3::ListLineItemsResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLineItemsResponse

Returns a new instance of ListLineItemsResponse.



9070
9071
9072
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9070

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#line_itemsArray<Google::Apis::DisplayvideoV3::LineItem>

The list of line items. This list will be absent if empty. Corresponds to the JSON property lineItems



9061
9062
9063
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9061

def line_items
  @line_items
end

#next_page_tokenString

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

Returns:

  • (String)


9068
9069
9070
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9068

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9075
9076
9077
9078
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9075

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