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.



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

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



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

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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