Class: Google::Apis::AdexchangesellerV1_1::PreferredDeals
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangesellerV1_1::PreferredDeals
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v1_1/classes.rb,
generated/google/apis/adexchangeseller_v1_1/representations.rb,
generated/google/apis/adexchangeseller_v1_1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AdexchangesellerV1_1::PreferredDeal>
The preferred deals returned in this list response.
-
#kind ⇒ String
Kind of list this is, in this case adexchangeseller#preferredDeals.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreferredDeals
constructor
A new instance of PreferredDeals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PreferredDeals
Returns a new instance of PreferredDeals
528 529 530 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdexchangesellerV1_1::PreferredDeal>
The preferred deals returned in this list response.
Corresponds to the JSON property items
521 522 523 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 521 def items @items end |
#kind ⇒ String
Kind of list this is, in this case adexchangeseller#preferredDeals.
Corresponds to the JSON property kind
526 527 528 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 526 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
533 534 535 536 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 533 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |