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



1558
1559
1560
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1558

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


1546
1547
1548
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1546

def deal_ids
  @deal_ids
end

#proposal_revision_numberFixnum

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

Returns:

  • (Fixnum)


1551
1552
1553
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1551

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)


1556
1557
1558
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1556

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1563
1564
1565
1566
1567
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1563

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