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

Constructor Details

#initialize(**args) ⇒ EditAllOrderDealsResponse

Returns a new instance of EditAllOrderDealsResponse.



1824
1825
1826
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1824

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



1817
1818
1819
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1817

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)


1822
1823
1824
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1822

def order_revision_number
  @order_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1829
1830
1831
1832
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1829

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