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

Shared notebooks represent a relationship between a notebook and a single share invitation recipient. <dl> <dt>id</dt> <dd>the primary identifier of the share</dd>

<dt>userId</dt> <dd>the user id of the owner of the notebook</dd>

<dt>notebookGuid</dt> <dd>the GUID of the associated notebook shared.</dd>

<dt>email</dt> <dd>the email address of the recipient - used by the notebook owner to identify who they shared with.</dd>

<dt>notebookModifiable</dt> <dd>a flag indicating the share is read/write -otherwise it‘s read only</dd>

<dt>requireLogin</dt> <dd>indicates that a user must login to access the share</dd>

<dt>serviceCreated</dt> <dd>the date the owner first created the share with the specific email

  address</dd>

<dt>username</dt> <dd>the username of the user who can access this share.

  Once it's assigned it cannot be changed.</dd>

</dl>

Methods

Included Modules

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

Constants

ID = 1
USERID = 2
NOTEBOOKGUID = 3
EMAIL = 4
NOTEBOOKMODIFIABLE = 5
REQUIRELOGIN = 6
SERVICECREATED = 7
SHAREKEY = 8
USERNAME = 9
FIELDS = { ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true}, USERID => {:type => ::Thrift::Types::I32, :name => 'userId', :optional => true}, NOTEBOOKGUID => {:type => ::Thrift::Types::STRING, :name => 'notebookGuid', :optional => true}, EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true}, NOTEBOOKMODIFIABLE => {:type => ::Thrift::Types::BOOL, :name => 'notebookModifiable', :optional => true}, REQUIRELOGIN => {:type => ::Thrift::Types::BOOL, :name => 'requireLogin', :optional => true}, SERVICECREATED => {:type => ::Thrift::Types::I64, :name => 'serviceCreated', :optional => true}, SHAREKEY => {:type => ::Thrift::Types::STRING, :name => 'shareKey', :optional => true}, USERNAME => {:type => ::Thrift::Types::STRING, :name => 'username', :optional => true}

Public Instance methods

[Source]

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

[Source]

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

[Validate]