Class: Evernote::EDAM::NoteStore::NoteCollectionCounts
- Inherits:
-
Object
- Object
- Evernote::EDAM::NoteStore::NoteCollectionCounts
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/Evernote/EDAM/note_store_types.rb
Overview
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>
Constant Summary collapse
- 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} }
Constants included from Thrift::Struct_Union
Thrift::Struct_Union::CONTAINER_TYPES
Instance Method Summary collapse
Methods included from Thrift::Struct
#<=>, #==, #differences, #eql?, field_accessor, #fields_with_default_values, generate_accessors, #hash, #initialize, #inspect, qmark_isset_method, #read, #write
Methods included from Thrift::Struct_Union
#each_field, #field_info, #inspect_collection, #inspect_field, #is_container?, #name_to_id, #read_field, #sorted_field_ids, #write_container, #write_data
Instance Method Details
#struct_fields ⇒ Object
752 |
# File 'lib/Evernote/EDAM/note_store_types.rb', line 752 def struct_fields; FIELDS; end |
#validate ⇒ Object
754 755 |
# File 'lib/Evernote/EDAM/note_store_types.rb', line 754 def validate end |