class Evernote::EDAM::NoteStore::NoteList
A small structure for returning a list of notes out of a larger set.
<dl>
<dt>startIndex</dt> <dd> The starting index within the overall set of notes. This is also the number of notes that are "before" this list in the set. </dd> <dt>totalNotes</dt> <dd> The number of notes in the larger set. This can be used to calculate how many notes are "after" this note in the set. (I.e. remaining = totalNotes - (startIndex + notes.length) ) </dd> <dt>notes</dt> <dd> The list of notes from this range. The Notes will include all metadata (attributes, resources, etc.), but will not include the ENML content of the note or the binary contents of any resources. </dd> <dt>stoppedWords</dt> <dd> If the NoteList was produced using a text based search query that included words that are not indexed or searched by the service, this will include a list of those ignored words. </dd> <dt>searchedWords</dt> <dd> If the NoteList was produced using a text based search query that included viable search words or quoted expressions, this will include a list of those words. Any stopped words will not be included in this list. </dd> </dl>
Constants
- FIELDS
- NOTES
- SEARCHEDWORDS
- STARTINDEX
- STOPPEDWORDS
- TOTALNOTES
Public Instance Methods
struct_fields()
click to toggle source
# File build/evernote-mode-6YHuyP/evernote-mode-0.41/ruby/Evernote/EDAM/note_store_types.rb, line 343 def struct_fields; FIELDS; end
validate()
click to toggle source
# File build/evernote-mode-6YHuyP/evernote-mode-0.41/ruby/Evernote/EDAM/note_store_types.rb, line 345 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field startIndex is unset!') unless @startIndex raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalNotes is unset!') unless @totalNotes raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field notes is unset!') unless @notes end