Class: Google::Apis::DisplayvideoV2::ListInsertionOrdersResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListInsertionOrdersResponse

Returns a new instance of ListInsertionOrdersResponse.



8042
8043
8044
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8042

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

Instance Attribute Details

#insertion_ordersArray<Google::Apis::DisplayvideoV2::InsertionOrder>

The list of insertion orders. This list will be absent if empty. Corresponds to the JSON property insertionOrders



8033
8034
8035
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8033

def insertion_orders
  @insertion_orders
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 ListInsertionOrders method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8040
8041
8042
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8040

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8047
8048
8049
8050
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8047

def update!(**args)
  @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end