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.


1725
1726
1727
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1725

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


1718
1719
1720
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1718

def deals
  @deals
end

#order_revision_numberString

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

Returns:

  • (String)

1723
1724
1725
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1723

def order_revision_number
  @order_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1730
1731
1732
1733
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1730

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