Class: Google::Apis::AdexchangebuyerV1_4::AddOrderNotesRequest

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) ⇒ AddOrderNotesRequest

Returns a new instance of AddOrderNotesRequest



245
246
247
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 245

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

Instance Attribute Details

#notesArray<Google::Apis::AdexchangebuyerV1_4::MarketplaceNote>

The list of notes to add. Corresponds to the JSON property notes



243
244
245
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 243

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



250
251
252
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 250

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