Class: Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse
- 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>
List of deals added (in the same proposal as passed in the request) Corresponds to the JSON property
deals
. -
#proposal_revision_number ⇒ Fixnum
The updated revision number for the proposal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddOrderDealsResponse
constructor
A new instance of AddOrderDealsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddOrderDealsResponse
Returns a new instance of AddOrderDealsResponse
225 226 227 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>
List of deals added (in the same proposal as passed in the request)
Corresponds to the JSON property deals
218 219 220 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 218 def deals @deals end |
#proposal_revision_number ⇒ Fixnum
The updated revision number for the proposal.
Corresponds to the JSON property proposalRevisionNumber
223 224 225 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 223 def proposal_revision_number @proposal_revision_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
230 231 232 233 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 230 def update!(**args) @deals = args[:deals] if args.key?(:deals) @proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number) end |