Class: Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsRequest

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

Returns a new instance of DeleteOrderDealsRequest.



1498
1499
1500
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1498

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

Instance Attribute Details

#deal_idsArray<String>

List of deals to delete for a given proposal Corresponds to the JSON property dealIds

Returns:

  • (Array<String>)


1486
1487
1488
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1486

def deal_ids
  @deal_ids
end

#proposal_revision_numberString

The last known proposal revision number. Corresponds to the JSON property proposalRevisionNumber

Returns:

  • (String)


1491
1492
1493
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1491

def proposal_revision_number
  @proposal_revision_number
end

#update_actionString

Indicates an optional action to take on the proposal Corresponds to the JSON property updateAction

Returns:

  • (String)


1496
1497
1498
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1496

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1503
1504
1505
1506
1507
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1503

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