Class: Google::Apis::DfareportingV2_1::ListOrdersResponse

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

Order List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListOrdersResponse

Returns a new instance of ListOrdersResponse



7112
7113
7114
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7112

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


7100
7101
7102
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7100

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)


7105
7106
7107
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7105

def next_page_token
  @next_page_token
end

#ordersArray<Google::Apis::DfareportingV2_1::Order>

Order collection. Corresponds to the JSON property orders



7110
7111
7112
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7110

def orders
  @orders
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7117
7118
7119
7120
7121
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7117

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