Class: Google::Apis::DfareportingV3_3::OrdersListResponse

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

Overview

Order List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrdersListResponse

Returns a new instance of OrdersListResponse.



7906
7907
7908
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7906

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)


7894
7895
7896
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7894

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)


7899
7900
7901
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7899

def next_page_token
  @next_page_token
end

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

Order collection. Corresponds to the JSON property orders



7904
7905
7906
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7904

def orders
  @orders
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7911
7912
7913
7914
7915
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7911

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