class Evernote::EDAM::NoteStore::NoteMetadata

This structure is used in the set of results returned by the findNotesMetadata function. It represents the high-level information about a single Note, without some of the larger deep structure. This allows for the information about a list of Notes to be returned relatively quickly with less marshalling and data transfer to remote clients. Most fields in this structure are identical to the corresponding field in the Note structure, with the exception of:

<dl> <dt>largestResourceMime</dt>

<dd>If set, then this will contain the MIME type of the largest Resource
(in bytes) within the Note.  This may be useful, for example, to choose
an appropriate icon or thumbnail to represent the Note.
</dd>

<dt>largestResourceSize</dt>

<dd>If set, this will contain the size of the largest Resource file, in
bytes, within the Note.  This may be useful, for example, to decide whether
to ask the server for a thumbnail to represent the Note.
</dd>

</dl>

Constants

ATTRIBUTES
CONTENTLENGTH
CREATED
DELETED
FIELDS
GUID
LARGESTRESOURCEMIME
LARGESTRESOURCESIZE
NOTEBOOKGUID
TAGGUIDS
TITLE
UPDATED
UPDATESEQUENCENUM

Public Instance Methods

struct_fields() click to toggle source
# File lib/Evernote/EDAM/note_store_types.rb, line 579
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/Evernote/EDAM/note_store_types.rb, line 581
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field guid is unset!') unless @guid
end