Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::UserStore::PublicUserInfo

 This structure is used to provide publicly-available user information
 about a particular account.

 <dt>userId:</dt>
   <dd>
   The unique numeric user identifier for the user account.
   </dd>
 <dt>shardId:</dt>
   <dd>
   The name of the virtual server that manages the state of
   this user. This value is used internally to determine which system should
   service requests about this user's data.  It is also used to construct
   the appropriate URL to make requests from the NoteStore.
   </dd>
 <dt>privilege:</dt>
   <dd>
   The privilege level of the account, to determine whether
   this is a Premium or Free account.
   </dd>
 </dl>

Constants

USERID
SHARDID
PRIVILEGE
USERNAME
FIELDS

Public Instance Methods

struct_fields() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/user_store_types.rb, line 48
48:               def struct_fields; FIELDS; end
validate() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/user_store_types.rb, line 50
50:               def validate
51:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field userId is unset!') unless @userId
52:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field shardId is unset!') unless @shardId
53:                 unless @privilege.nil? || Evernote::EDAM::Type::PrivilegeLevel::VALID_VALUES.include?(@privilege)
54:                   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privilege!')
55:                 end
56:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.