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



1772
1773
1774
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1772

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



1765
1766
1767
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1765

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)


1770
1771
1772
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1770

def order_revision_number
  @order_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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