Parent

Class/Module Index [+]

Quicksearch

Evernote::EDAM::Type::Notebook

A unique container for a set of notes. <dl> <dt>guid</dt>

<dd>The unique identifier of this notebook.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>name</dt>

<dd>A sequence of characters representing the name of the
notebook.  May be changed by clients, but the account may not contain two
notebooks with names that are equal via a case-insensitive comparison.
Can't begin or end with a space.
<br/>
Length:  EDAM_NOTEBOOK_NAME_LEN_MIN - EDAM_NOTEBOOK_NAME_LEN_MAX
<br/>
Regex:  EDAM_NOTEBOOK_NAME_REGEX
</dd>

<dt>updateSequenceNum</dt>

<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>

<dt>defaultNotebook</dt>

<dd>If true, this notebook should be used for new notes
whenever the user has not (or cannot) specify a desired target notebook.
For example, if a note is submitted via SMTP email.
The service will maintain at most one defaultNotebook per account.
If a second notebook is created or updated with defaultNotebook set to
true, the service will automatically update the prior notebook's
defaultNotebook field to false.  If the default notebook is deleted
(i.e. "active" set to false), the "defaultNotebook" field will be
set to false by the service.  If the account has no default notebook
set, the service will use the most recent notebook as the default.
</dd>

<dt>serviceCreated</dt>

<dd>The time when this notebook was created on the
service. This will be set on the service during creation, and the service
will provide this value when it returns a Notebook to a client.
The service will ignore this value if it is sent by clients.
</dd>

<dt>serviceUpdated</dt>

<dd>The time when this notebook was last modified on the
service.  This will be set on the service during creation, and the service
will provide this value when it returns a Notebook to a client.
The service will ignore this value if it is sent by clients.
</dd>

<dt>publishing</dt>

<dd>If the Notebook has been opened for public access (i.e.
if 'published' is set to true), then this will point to the set of
publishing information for the Notebook (URI, description, etc.).  A
Notebook cannot be published without providing this information, but it
will persist for later use if publishing is ever disabled on the Notebook.
Clients that do not wish to change the publishing behavior of a Notebook
should not set this value when calling NoteStore.updateNotebook().
</dd>

<dt>published</dt>

<dd>If this is set to true, then the Notebook will be
accessible to the public via the 'publishing' specification, which must
also be set.  If this is set to false, the Notebook will not be available
to the public.
Clients that do not wish to change the publishing behavior of a Notebook
should not set this value when calling NoteStore.updateNotebook().
</dd>

<dt>stack</dt>

<dd>If this is set, then the notebook is visually contained within a stack
of notebooks with this name.  All notebooks in the same account with the
same 'stack' field are considered to be in the same stack.
Notebooks with no stack set are "top level" and not contained within a
stack.
</dd>

</dl>

Public Instance Methods

struct_fields() click to toggle source
# File usr/lib/ruby/vendor_ruby/Evernote/EDAM/types_types.rb, line 1265
def struct_fields; FIELDS; end
validate() click to toggle source
# File usr/lib/ruby/vendor_ruby/Evernote/EDAM/types_types.rb, line 1267
def validate
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.