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.



8196
8197
8198
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8196

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



8187
8188
8189
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8187

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)


8194
8195
8196
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8194

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8201
8202
8203
8204
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8201

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