Class: Evernote::EDAM::NoteStore::NotesMetadataResultSpec

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/Evernote/EDAM/note_store_types.rb

Overview

the subset of fields that should be included in each NoteMetadata element that is returned in the NotesMetadataList. Each field on this structure is a boolean flag that indicates whether the corresponding field should be included in the NoteMetadata structure when it is returned. For example, if the ‘includeTitle’ field is set on this structure when calling findNotesMetadata, then each NoteMetadata in the list should have its ‘title’ field set. If one of the fields in this spec is not set, then it will be treated as ‘false’ by the server, so the default behavior is to include nothing in replies (but the mandatory GUID)

Constant Summary collapse

INCLUDETITLE =
2
INCLUDECONTENTLENGTH =
5
INCLUDECREATED =
6
INCLUDEUPDATED =
7
INCLUDEDELETED =
8
INCLUDEUPDATESEQUENCENUM =
10
INCLUDENOTEBOOKGUID =
11
INCLUDETAGGUIDS =
12
INCLUDEATTRIBUTES =
14
INCLUDELARGESTRESOURCEMIME =
20
INCLUDELARGESTRESOURCESIZE =
21
FIELDS =
{
  INCLUDETITLE => {:type => ::Thrift::Types::BOOL, :name => 'includeTitle', :optional => true},
  INCLUDECONTENTLENGTH => {:type => ::Thrift::Types::BOOL, :name => 'includeContentLength', :optional => true},
  INCLUDECREATED => {:type => ::Thrift::Types::BOOL, :name => 'includeCreated', :optional => true},
  INCLUDEUPDATED => {:type => ::Thrift::Types::BOOL, :name => 'includeUpdated', :optional => true},
  INCLUDEDELETED => {:type => ::Thrift::Types::BOOL, :name => 'includeDeleted', :optional => true},
  INCLUDEUPDATESEQUENCENUM => {:type => ::Thrift::Types::BOOL, :name => 'includeUpdateSequenceNum', :optional => true},
  INCLUDENOTEBOOKGUID => {:type => ::Thrift::Types::BOOL, :name => 'includeNotebookGuid', :optional => true},
  INCLUDETAGGUIDS => {:type => ::Thrift::Types::BOOL, :name => 'includeTagGuids', :optional => true},
  INCLUDEATTRIBUTES => {:type => ::Thrift::Types::BOOL, :name => 'includeAttributes', :optional => true},
  INCLUDELARGESTRESOURCEMIME => {:type => ::Thrift::Types::BOOL, :name => 'includeLargestResourceMime', :optional => true},
  INCLUDELARGESTRESOURCESIZE => {:type => ::Thrift::Types::BOOL, :name => 'includeLargestResourceSize', :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_fieldsObject



708
# File 'lib/Evernote/EDAM/note_store_types.rb', line 708

def struct_fields; FIELDS; end

#validateObject



710
711
# File 'lib/Evernote/EDAM/note_store_types.rb', line 710

def validate
end