Object
This represents the information about a single user account.
<dt>id</dt> <dd>The unique numeric identifier for the account, which will not change for the lifetime of the account. </dd> <dt>username</dt> <dd>The name that the user provides to log in to their account. In the future, this may be empty for some accounts if their login process is indirect (e.g. via social networks, etc.). May only contain a-z, 0-9, or '-', and may not start or end with the '-' <br/> Length: EDAM_USER_USERNAME_LEN_MIN - EDAM_USER_USERNAME_LEN_MAX <br/> Regex: EDAM_USER_USERNAME_REGEX </dd> <dt>email</dt> <dd>The email address registered for the user. Must comply with RFC 2821 and RFC 2822.<br/> Length: EDAM_EMAIL_LEN_MIN - EDAM_EMAIL_LEN_MAX <br/> Regex: EDAM_EMAIL_REGEX </dd> <dt>name</dt> <dd>The printable name of the user, which may be a combination of given and family names. This is used instead of separate "first" and "last" names due to variations in international name format/order. May not start or end with a whitespace character. May contain any character but carriage return or newline (Unicode classes Zl and Zp). <br/> Length: EDAM_USER_NAME_LEN_MIN - EDAM_USER_NAME_LEN_MAX <br/> Regex: EDAM_USER_NAME_REGEX </dd> <dt>timezone</dt> <dd>The zone ID for the user's default location. If present, this may be used to localize the display of any timestamp for which no other timezone is available - for example, an note that arrives via a micro-browser may not contain enough information to display its local time, so this default timezone may be assigned to the note. The format must be encoded as a standard zone ID such as "America/Los_Angeles" or "GMT+08:00" <br/> Length: EDAM_TIMEZONE_LEN_MIN - EDAM_TIMEZONE_LEN_MAX <br/> Regex: EDAM_TIMEZONE_REGEX </dd> <dt>privilege</dt> <dd>The level of access permitted for the user. </dd> <dt>created</dt> <dd>The date and time when this user account was created in the service. </dd> <dt>updated</dt> <dd>The date and time when this user account was last modified in the service. </dd> <dt>deleted</dt> <dd>If the account has been deleted from the system (e.g. as the result of a legal request by the user), the date and time of the deletion will be represented here. If not, this value will not be set. </dd> <dt>active</dt> <dd>If the user account is available for login and synchronization, this flag will be set to true. </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. </dd> <dt>attributes</dt> <dd>If present, this will contain a list of the attributes for this user account. </dd> <dt>accounting</dt> <dd>Bookkeeping information for the user's subscription. </dd> </dl>
# File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 559 559: def struct_fields; FIELDS; end
# File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 561 561: def validate 562: unless @privilege.nil? || Evernote::EDAM::Type::PrivilegeLevel::VALID_VALUES.include?(@privilege) 563: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privilege!') 564: end 565: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.