Class: Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EditAllOrderDealsResponse

Returns a new instance of EditAllOrderDealsResponse



1753
1754
1755
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1753

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

Instance Attribute Details

#dealsArray<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>

List of all deals in the proposal after edit. Corresponds to the JSON property deals



1746
1747
1748
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1746

def deals
  @deals
end

#order_revision_numberFixnum

The latest revision number after the update has been applied. Corresponds to the JSON property orderRevisionNumber

Returns:

  • (Fixnum)


1751
1752
1753
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1751

def order_revision_number
  @order_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1758
1759
1760
1761
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1758

def update!(**args)
  @deals = args[:deals] if args.key?(:deals)
  @order_revision_number = args[:order_revision_number] if args.key?(:order_revision_number)
end