Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::Type::Data

 In several places, EDAM exchanges blocks of bytes of data for a component
 which may be relatively large.  For example:  the contents of a clipped
 HTML note, the bytes of an embedded image, or the recognition XML for
 a large image.  This structure is used in the protocol to represent
 any of those large blocks of data when they are transmitted or when
 they are only referenced their metadata.

 <dt>bodyHash</dt>
   <dd>This field carries a one-way hash of the contents of the
   data body, in binary form.  The hash function is MD5<br/>
   Length:  EDAM_HASH_LEN (exactly)
   </dd>

 <dt>size</dt>
   <dd>The length, in bytes, of the data body.
   </dd>

 <dt>body</dt>
   <dd>This field is set to contain the binary contents of the data
   whenever the resource is being transferred.  If only metadata is
   being exchanged, this field will be empty.  For example, a client could
   notify the service about the change to an attribute for a resource
   without transmitting the binary resource contents.
   </dd>
 </dl>

Constants

BODYHASH
SIZE
BODY
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 89
89:               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 91
91:               def validate
92:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.