Class: Evernote::EDAM::NoteStore::RelatedQuery

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

Overview

A description of the thing for which we are searching for related entities. You must choose exactly one field.

<dl> <dt>noteGuid</dt> <dd>The GUID of an existing note in your account for which related

entities will be found.</dd>

<dt>plainText</dt> <dd>A string of plain text for which to find related entities.

You should provide a text block with a number of characters between
EDAM_RELATED_PLAINTEXT_LEN_MIN and EDAM_RELATED_PLAINTEXT_LEN_MAX.
</dd>

</dl>

Constant Summary collapse

NOTEGUID =
1
PLAINTEXT =
2
FIELDS =
{
  NOTEGUID => {:type => ::Thrift::Types::STRING, :name => 'noteGuid', :optional => true},
  PLAINTEXT => {:type => ::Thrift::Types::STRING, :name => 'plainText', :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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end