class Evernote::EDAM::UserStore::BootstrapSettings

This structure describes a collection of bootstrap settings.

<dl>

<dt>serviceHost:</dt>
  <dd>
  The hostname and optional port for composing Evernote web service URLs.
  This URL can be used to access the UserStore and related services,
  but must not be used to compose the NoteStore URL. Client applications
  must handle serviceHost values that include only the hostname
  (e.g. www.evernote.com) or both the hostname and port (e.g. www.evernote.com:8080).
  If no port is specified, or if port 443 is specified, client applications must
  use the scheme "https" when composing URLs. Otherwise, a client must use the
  scheme "http".
</dd>
<dt>marketingUrl:</dt>
  <dd>
  The URL stem for the Evernote corporate marketing website, e.g. http://www.evernote.com.
  This stem can be used to compose website URLs. For example, the URL of the Evernote
  Trunk is composed by appending "/about/trunk/" to the value of marketingUrl.
  </dd>
<dt>supportUrl:</dt>
  <dd>
  The full URL for the Evernote customer support website, e.g. https://support.evernote.com.
  </dd>
<dt>accountEmailDomain:</dt>
  <dd>
  The domain used for an Evernote user's incoming email address, which allows notes to
  be emailed into an account. E.g. m.evernote.com.
  </dd>
<dt>enableFacebookSharing:</dt>
  <dd>
  Whether the client application should enable sharing of notes on Facebook.
  </dd>
<dt>enableGiftSubscriptions:</dt>
  <dd>
  Whether the client application should enable gift subscriptions.
  </dd>
<dt>enableSupportTickets:</dt>
  <dd>
  Whether the client application should enable in-client creation of support tickets.
  </dd>
<dt>enableSharedNotebooks:</dt>
  <dd>
  Whether the client application should enable shared notebooks.
  </dd>
<dt>enableSingleNoteSharing:</dt>
  <dd>
  Whether the client application should enable single note sharing.
  </dd>
<dt>enableSponsoredAccounts:</dt>
  <dd>
  Whether the client application should enable sponsored accounts.
  </dd>
<dt>enableTwitterSharing:</dt>
  <dd>
  Whether the client application should enable sharing of notes on Twitter.
  </dd>
</dl>

Constants

ACCOUNTEMAILDOMAIN
ENABLEFACEBOOKSHARING
ENABLEGIFTSUBSCRIPTIONS
ENABLELINKEDINSHARING
ENABLEPUBLICNOTEBOOKS
ENABLESHAREDNOTEBOOKS
ENABLESINGLENOTESHARING
ENABLESPONSOREDACCOUNTS
ENABLESUPPORTTICKETS
ENABLETWITTERSHARING
FIELDS
MARKETINGURL
SERVICEHOST
SUPPORTURL

Public Instance Methods

struct_fields() click to toggle source
# File lib/Evernote/EDAM/user_store_types.rb, line 271
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/Evernote/EDAM/user_store_types.rb, line 273
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field serviceHost is unset!') unless @serviceHost
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field marketingUrl is unset!') unless @marketingUrl
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field supportUrl is unset!') unless @supportUrl
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field accountEmailDomain is unset!') unless @accountEmailDomain
end