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



1175
1176
1177
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1175

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

Instance Attribute Details

#arc_statusString

ARC approval status. Corresponds to the JSON property arcStatus

Returns:

  • (String)


1163
1164
1165
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1163

def arc_status
  @arc_status
end

#deal_idFixnum

External deal ID. Corresponds to the JSON property dealId

Returns:

  • (Fixnum)


1168
1169
1170
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1168

def deal_id
  @deal_id
end

#web_property_idFixnum

Publisher ID. Corresponds to the JSON property webPropertyId

Returns:

  • (Fixnum)


1173
1174
1175
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1173

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1180
1181
1182
1183
1184
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1180

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