Class: Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest
- 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
-
#deals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>
The list of deals to add Corresponds to the JSON property
deals
. -
#proposal_revision_number ⇒ Fixnum
The last known proposal revision number.
-
#update_action ⇒ String
Indicates an optional action to take on the proposal Corresponds to the JSON property
updateAction
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddOrderDealsRequest
constructor
A new instance of AddOrderDealsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddOrderDealsRequest
Returns a new instance of AddOrderDealsRequest
199 200 201 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>
The list of deals to add
Corresponds to the JSON property deals
187 188 189 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 187 def deals @deals end |
#proposal_revision_number ⇒ Fixnum
The last known proposal revision number.
Corresponds to the JSON property proposalRevisionNumber
192 193 194 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 192 def proposal_revision_number @proposal_revision_number end |
#update_action ⇒ String
Indicates an optional action to take on the proposal
Corresponds to the JSON property updateAction
197 198 199 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 197 def update_action @update_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
204 205 206 207 208 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 204 def update!(**args) @deals = args[:deals] if args.key?(:deals) @proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number) @update_action = args[:update_action] if args.key?(:update_action) end |