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



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

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


1533
1534
1535
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1533

def deal_ids
  @deal_ids
end

#proposal_revision_numberFixnum

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

Returns:

  • (Fixnum)


1538
1539
1540
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1538

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)


1543
1544
1545
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1543

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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