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



1785
1786
1787
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1785

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



1778
1779
1780
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1778

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)


1783
1784
1785
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1783

def order_revision_number
  @order_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1790
1791
1792
1793
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1790

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