class Google::Apis::Adexchangebuyer2V2beta1::DealPauseStatus

Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true.

Attributes

buyer_pause_reason[RW]

The buyer's reason for pausing, if the buyer paused the deal. Corresponds to the JSON property `buyerPauseReason` @return [String]

first_paused_by[RW]

The role of the person who first paused this deal. Corresponds to the JSON property `firstPausedBy` @return [String]

has_buyer_paused[RW]

True, if the buyer has paused the deal unilaterally. Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]

has_buyer_paused?[RW]

True, if the buyer has paused the deal unilaterally. Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]

has_seller_paused[RW]

True, if the seller has paused the deal unilaterally. Corresponds to the JSON property `hasSellerPaused` @return [Boolean]

has_seller_paused?[RW]

True, if the seller has paused the deal unilaterally. Corresponds to the JSON property `hasSellerPaused` @return [Boolean]

seller_pause_reason[RW]

The seller's reason for pausing, if the seller paused the deal. Corresponds to the JSON property `sellerPauseReason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1374
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1379
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