Class: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DealStatus

Returns a new instance of DealStatus.



1124
1125
1126
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1124

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#arc_statusString

ARC approval status. Corresponds to the JSON property arcStatus

Returns:

  • (String)


1112
1113
1114
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1112

def arc_status
  @arc_status
end

#deal_idString

External deal ID. Corresponds to the JSON property dealId

Returns:

  • (String)


1117
1118
1119
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1117

def deal_id
  @deal_id
end

#web_property_idFixnum

Publisher ID. Corresponds to the JSON property webPropertyId

Returns:

  • (Fixnum)


1122
1123
1124
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1122

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1129
1130
1131
1132
1133
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1129

def update!(**args)
  @arc_status = args[:arc_status] if args.key?(:arc_status)
  @deal_id = args[:deal_id] if args.key?(:deal_id)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end