class Evernote::EDAM::Type::BusinessUserInfo

This structure is used to provide information about an Evernote Business membership, for members who are part of a business.

<dl> <dt>businessId</dt>

<dd>The ID of the Evernote Business account that the user is a member of.

<dt>businessName</dt>

<dd>The human-readable name of the Evernote Business account that the user
    is a member of.</dd>

<dt>role</dt>

<dd>The role of the user within the Evernote Business account that
    they are a member of.</dd>

<dt>email</dt>

<dd>An e-mail address that will be used by the service in the context of your
    Evernote Business activities.  For example, this e-mail address will be used
    when you e-mail a business note, when you update notes in the account of
    your business, etc.  The business e-mail cannot be used for identification
    purposes such as for logging into the service.
</dd>

</dl>

Constants

BUSINESSID
BUSINESSNAME
EMAIL
FIELDS
ROLE

Public Instance Methods

struct_fields() click to toggle source
# File lib/Evernote/EDAM/types_types.rb, line 581
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/Evernote/EDAM/types_types.rb, line 583
def validate
  unless @role.nil? || ::Evernote::EDAM::Type::BusinessUserRole::VALID_VALUES.include?(@role)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field role!')
  end
end