Class Evernote::EDAM::Type::NoteAttributes
In: ruby/lib/Evernote/EDAM/types_types.rb
Parent: Object

The list of optional attributes that can be stored on a note. <dl> <dt>subjectDate</dt>

  <dd>time that the note refers to
  </dd>

<dt>latitude</dt>

  <dd>the latitude where the note was taken
  </dd>

<dt>longitude</dt>

  <dd>the longitude where the note was taken
  </dd>

<dt>altitude</dt>

  <dd>the altitude where the note was taken
  </dd>

<dt>author</dt>

  <dd>the author of the content of the note
  <br/>
  Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>source</dt>

  <dd>the method that the note was added to the account, if the
  note wasn't directly authored in an Evernote client.
  <br/>
  Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>sourceURL</dt>

  <dd>the original location where the resource was hosted
  <br/>
  Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>sourceApplication</dt>

  <dd>an identifying string for the application that
  created this note.  This string does not have a guaranteed syntax or
  structure -- it is intended for human inspection and tracking.
  <br/>
  Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

</dl>

Methods

Included Modules

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

Constants

SUBJECTDATE = 1
LATITUDE = 10
LONGITUDE = 11
ALTITUDE = 12
AUTHOR = 13
SOURCE = 14
SOURCEURL = 15
SOURCEAPPLICATION = 16
FIELDS = { SUBJECTDATE => {:type => ::Thrift::Types::I64, :name => 'subjectDate', :optional => true}, LATITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'latitude', :optional => true}, LONGITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'longitude', :optional => true}, ALTITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'altitude', :optional => true}, AUTHOR => {:type => ::Thrift::Types::STRING, :name => 'author', :optional => true}, SOURCE => {:type => ::Thrift::Types::STRING, :name => 'source', :optional => true}, SOURCEURL => {:type => ::Thrift::Types::STRING, :name => 'sourceURL', :optional => true}, SOURCEAPPLICATION => {:type => ::Thrift::Types::STRING, :name => 'sourceApplication', :optional => true}

Public Instance methods

[Source]

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

[Source]

     # File ruby/lib/Evernote/EDAM/types_types.rb, line 919
919:               def validate
920:               end

[Validate]