Class: Google::Apis::DfareportingV2_1::ListInventoryItemsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Inventory item List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListInventoryItemsResponse

Returns a new instance of ListInventoryItemsResponse.



6016
6017
6018
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6016

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

Instance Attribute Details

#inventory_itemsArray<Google::Apis::DfareportingV2_1::InventoryItem>

Inventory item collection Corresponds to the JSON property inventoryItems



6003
6004
6005
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6003

def inventory_items
  @inventory_items
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#inventoryItemsListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


6009
6010
6011
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6009

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


6014
6015
6016
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6014

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6021
6022
6023
6024
6025
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6021

def update!(**args)
  @inventory_items = args[:inventory_items] unless args[:inventory_items].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
end