Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::Type::Resource

Every media file that is embedded or attached to a note is represented through a Resource entry.

guid

  <dd>The unique identifier of this resource.  Will be set whenever
  a resource is retrieved from the service, but may be null when a client
  is creating a resource.
  <br/>
  Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
  <br/>
  Regex:  EDAM_GUID_REGEX
  </dd>

noteGuid

  <dd>The unique identifier of the Note that holds this
  Resource. Will be set whenever the resource is retrieved from the service,
  but may be null when a client is creating a resource.
  <br/>
  Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
  <br/>
  Regex:  EDAM_GUID_REGEX
  </dd>

data

  <dd>The contents of the resource.
  Maximum length:  The data.body is limited to EDAM_RESOURCE_SIZE_MAX_FREE
  for free accounts and EDAM_RESOURCE_SIZE_MAX_PREMIUM for premium accounts.
  </dd>

mime

  <dd>The MIME type for the embedded resource.  E.g. "image/gif"
  <br/>
  Length:  EDAM_MIME_LEN_MIN - EDAM_MIME_LEN_MAX
  <br/>
  Regex:  EDAM_MIME_REGEX
  </dd>

width

  <dd>If set, this contains the display width of this resource, in
  pixels.
  </dd>

height

  <dd>If set, this contains the display height of this resource,
  in pixels.
  </dd>

duration

  <dd>DEPRECATED: ignored.
  </dd>

active

  <dd>DEPRECATED: ignored.
  </dd>

recognition

  <dd>If set, this will hold the encoded data that provides
  information on search and recognition within this resource.
  </dd>

attributes

  <dd>A list of the attributes for this resource.
  </dd>

updateSequenceNum

  <dd>A number identifying the last transaction to
  modify the state of this object. The USN values are sequential within an
  account, and can be used to compare the order of modifications within the
  service.
  </dd>

alternateData

  <dd>Some Resources may be assigned an alternate data format by the service
  which may be more appropriate for indexing or rendering than the original
  data provided by the user.  In these cases, the alternate data form will
  be available via this Data element.  If a Resource has no alternate form,
  this field will be unset.</dd>

Constants

GUID
NOTEGUID
DATA
MIME
WIDTH
HEIGHT
DURATION
ACTIVE
RECOGNITION
ATTRIBUTES
UPDATESEQUENCENUM
ALTERNATEDATA
FIELDS

Public Instance Methods

struct_fields() click to toggle source
     # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 842
842:               def struct_fields; FIELDS; end
validate() click to toggle source
     # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 844
844:               def validate
845:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.