Class Evernote::EDAM::NoteStore::NoteCollectionCounts
In: ruby/lib/Evernote/EDAM/note_store_types.rb
Parent: Object
 A data structure representing the number of notes for each notebook
 and tag with a non-zero set of applicable notes.

<dl>

 <dt>notebookCounts</dt>
   <dd>
   A mapping from the Notebook GUID to the number of
   notes (from some selection) that are in the corresponding notebook.
   </dd>

 <dt>tagCounts</dt>
   <dd>
   A mapping from the Tag GUID to the number of notes (from some
   selection) that have the corresponding tag.
   </dd>

 <dt>trashCount</dt>
   <dd>
   If this is set, then this is the number of notes that are in the trash.
   If this is not set, then the number of notes in the trash hasn't been
   reported.  (I.e. if there are no notes in the trash, this will be set
   to 0.)
   </dd>
 </dl>

Methods

Included Modules

::Thrift::Struct ::Thrift::Struct_Union

Constants

NOTEBOOKCOUNTS = 1
TAGCOUNTS = 2
TRASHCOUNT = 3
FIELDS = { NOTEBOOKCOUNTS => {:type => ::Thrift::Types::MAP, :name => 'notebookCounts', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}, :optional => true}, TAGCOUNTS => {:type => ::Thrift::Types::MAP, :name => 'tagCounts', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}, :optional => true}, TRASHCOUNT => {:type => ::Thrift::Types::I32, :name => 'trashCount', :optional => true}

Public Instance methods

[Source]

     # File ruby/lib/Evernote/EDAM/note_store_types.rb, line 390
390:               def struct_fields; FIELDS; end

[Source]

     # File ruby/lib/Evernote/EDAM/note_store_types.rb, line 392
392:               def validate
393:               end

[Validate]