Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AddNoteRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb

Overview

Request to add a note.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddNoteRequest

Returns a new instance of AddNoteRequest.



135
136
137
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 135

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

Instance Attribute Details

#noteGoogle::Apis::AuthorizedbuyersmarketplaceV1::Note

A text note attached to the proposal to facilitate the communication between buyers and sellers. Corresponds to the JSON property note



133
134
135
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 133

def note
  @note
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



140
141
142
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 140

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