Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::NoteStore::SyncState

 This structure encapsulates the information about the state of the
 user's account for the purpose of "state based" synchronization.

 <dt>currentTime</dt>
   <dd>
   The server's current date and time.
   </dd>

 <dt>fullSyncBefore</dt>
   <dd>
   The cutoff date and time for client caches to be
   updated via incremental synchronization.  Any clients that were last
   synched with the server before this date/time must do a full resync of all
   objects.  This cutoff point will change over time as archival data is
   deleted or special circumstances on the service require resynchronization.
   </dd>

 <dt>updateCount</dt>
   <dd>
   Indicates the total number of transactions that have
   been committed within the account.  This reflects (for example) the
   number of discrete additions or modifications that have been made to
   the data in this account (tags, notes, resources, etc.).
   This number is the "high water mark" for Update Sequence Numbers (USN)
   within the account.
   </dd>

 <dt>uploaded</dt>
   <dd>
   The total number of bytes that have been uploaded to
   this account in the current monthly period.  This can be compared against
   Accounting.uploadLimit (from the UserStore) to determine how close the user
   is to their monthly upload limit.
   </dd>
 </dl>

Constants

CURRENTTIME
FULLSYNCBEFORE
UPDATECOUNT
UPLOADED
FIELDS

Public Instance Methods

struct_fields() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/note_store_types.rb, line 65
65:               def struct_fields; FIELDS; end
validate() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/note_store_types.rb, line 67
67:               def validate
68:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentTime is unset!') unless @currentTime
69:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field fullSyncBefore is unset!') unless @fullSyncBefore
70:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field updateCount is unset!') unless @updateCount
71:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.