Class: Google::Apis::Adexchangebuyer2V2beta1::DealPauseStatus
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::DealPauseStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true.
Instance Attribute Summary collapse
-
#buyer_pause_reason ⇒ String
The buyer's reason for pausing, if the buyer paused the deal.
-
#first_paused_by ⇒ String
The role of the person who first paused this deal.
-
#has_buyer_paused ⇒ Boolean
(also: #has_buyer_paused?)
True, if the buyer has paused the deal unilaterally.
-
#has_seller_paused ⇒ Boolean
(also: #has_seller_paused?)
True, if the seller has paused the deal unilaterally.
-
#seller_pause_reason ⇒ String
The seller's reason for pausing, if the seller paused the deal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealPauseStatus
constructor
A new instance of DealPauseStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DealPauseStatus
Returns a new instance of DealPauseStatus
1381 1382 1383 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buyer_pause_reason ⇒ String
The buyer's reason for pausing, if the buyer paused the deal.
Corresponds to the JSON property buyerPauseReason
1357 1358 1359 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1357 def buyer_pause_reason @buyer_pause_reason end |
#first_paused_by ⇒ String
The role of the person who first paused this deal.
Corresponds to the JSON property firstPausedBy
1362 1363 1364 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1362 def first_paused_by @first_paused_by end |
#has_buyer_paused ⇒ Boolean Also known as: has_buyer_paused?
True, if the buyer has paused the deal unilaterally.
Corresponds to the JSON property hasBuyerPaused
1367 1368 1369 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1367 def has_buyer_paused @has_buyer_paused end |
#has_seller_paused ⇒ Boolean Also known as: has_seller_paused?
True, if the seller has paused the deal unilaterally.
Corresponds to the JSON property hasSellerPaused
1373 1374 1375 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1373 def has_seller_paused @has_seller_paused end |
#seller_pause_reason ⇒ String
The seller's reason for pausing, if the seller paused the deal.
Corresponds to the JSON property sellerPauseReason
1379 1380 1381 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1379 def seller_pause_reason @seller_pause_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1386 1387 1388 1389 1390 1391 1392 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1386 def update!(**args) @buyer_pause_reason = args[:buyer_pause_reason] if args.key?(:buyer_pause_reason) @first_paused_by = args[:first_paused_by] if args.key?(:first_paused_by) @has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused) @has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused) @seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason) end |