class Google::Apis::AdexchangebuyerV1_4::MarketplaceNote
A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.
Attributes
The role of the person (buyer/seller) creating the note. (readonly) Corresponds to the JSON property `creatorRole` @return [String]
Notes can optionally be associated with a deal. (readonly, except on create) Corresponds to the JSON property `dealId` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ adexchangebuyer#marketplaceNote”. Corresponds to the JSON property `kind` @return [String]
The actual note to attach. (readonly, except on create) Corresponds to the JSON property `note` @return [String]
The unique id for the note. (readonly) Corresponds to the JSON property `noteId` @return [String]
The proposalId that a note is attached to. (readonly) Corresponds to the JSON property `proposalId` @return [String]
If the note is associated with a proposal revision number, then store that here. (readonly, except on create) Corresponds to the JSON property `proposalRevisionNumber` @return [Fixnum]
The timestamp (ms since epoch) that this note was created. (readonly) Corresponds to the JSON property `timestampMs` @return [Fixnum]
Public Class Methods
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2230 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 2235 def update!(**args) @creator_role = args[:creator_role] if args.key?(:creator_role) @deal_id = args[:deal_id] if args.key?(:deal_id) @kind = args[:kind] if args.key?(:kind) @note = args[:note] if args.key?(:note) @note_id = args[:note_id] if args.key?(:note_id) @proposal_id = args[:proposal_id] if args.key?(:proposal_id) @proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number) @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) end