class Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus

Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.

Attributes

buyer_pause_reason[RW]

Corresponds to the JSON property `buyerPauseReason` @return [String]

first_paused_by[RW]

If the deal is paused, records which party paused the deal first. Corresponds to the JSON property `firstPausedBy` @return [String]

has_buyer_paused[RW]

Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]

has_buyer_paused?[RW]

Corresponds to the JSON property `hasBuyerPaused` @return [Boolean]

has_seller_paused[RW]

Corresponds to the JSON property `hasSellerPaused` @return [Boolean]

has_seller_paused?[RW]

Corresponds to the JSON property `hasSellerPaused` @return [Boolean]

seller_pause_reason[RW]

Corresponds to the JSON property `sellerPauseReason` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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