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



1526
1527
1528
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1526

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


1514
1515
1516
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1514

def deal_ids
  @deal_ids
end

#proposal_revision_numberFixnum

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

Returns:

  • (Fixnum)


1519
1520
1521
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1519

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)


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

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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