Class: Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse

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) ⇒ DeleteOrderDealsResponse

Returns a new instance of DeleteOrderDealsResponse.


1524
1525
1526
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1524

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

Instance Attribute Details

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

List of deals deleted (in the same proposal as passed in the request) Corresponds to the JSON property deals


1517
1518
1519
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1517

def deals
  @deals
end

#proposal_revision_numberString

The updated revision number for the proposal. Corresponds to the JSON property proposalRevisionNumber

Returns:

  • (String)

1522
1523
1524
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1522

def proposal_revision_number
  @proposal_revision_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1529
1530
1531
1532
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1529

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