com.evernote.edam.userstore
Class BootstrapSettings

java.lang.Object
  extended by com.evernote.edam.userstore.BootstrapSettings
All Implemented Interfaces:
com.evernote.thrift.TBase<BootstrapSettings>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BootstrapSettings>

public class BootstrapSettings
extends java.lang.Object
implements com.evernote.thrift.TBase<BootstrapSettings>, java.io.Serializable, java.lang.Cloneable

This structure describes a collection of bootstrap settings.

serviceHost:
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".
marketingUrl:
The URL stem for the Evernote corporate marketing website, e.g. https://www.evernote.com. This stem can be used to compose website URLs. For example, the URL of the App Center is composed by appending "/about/appcenter/" to the value of marketingUrl.
supportUrl:
The full URL for the Evernote customer support website, e.g. https://support.evernote.com.
accountEmailDomain:
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.
enableFacebookSharing:
Whether the client application should enable sharing of notes on Facebook.
enableGiftSubscriptions:
Whether the client application should enable gift subscriptions.
enableSupportTickets:
Whether the client application should enable in-client creation of support tickets.
enableSharedNotebooks:
Whether the client application should enable shared notebooks.
enableSingleNoteSharing:
Whether the client application should enable single note sharing.
enableSponsoredAccounts:
Whether the client application should enable sponsored accounts.
enableTwitterSharing:
Whether the client application should enable sharing of notes on Twitter.

See Also:
Serialized Form

Constructor Summary
BootstrapSettings()
           
BootstrapSettings(BootstrapSettings other)
          Performs a deep copy on other.
BootstrapSettings(java.lang.String serviceHost, java.lang.String marketingUrl, java.lang.String supportUrl, java.lang.String accountEmailDomain)
           
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(BootstrapSettings other)
           
 BootstrapSettings deepCopy()
          Creates a deep copy of the object.
 boolean equals(BootstrapSettings that)
           
 boolean equals(java.lang.Object that)
           
 java.lang.String getAccountEmailDomain()
           
 java.lang.String getMarketingUrl()
           
 java.lang.String getServiceHost()
           
 java.lang.String getSupportUrl()
           
 int hashCode()
           
 boolean isEnableFacebookSharing()
           
 boolean isEnableGiftSubscriptions()
           
 boolean isEnableLinkedInSharing()
           
 boolean isEnablePublicNotebooks()
           
 boolean isEnableSharedNotebooks()
           
 boolean isEnableSingleNoteSharing()
           
 boolean isEnableSponsoredAccounts()
           
 boolean isEnableSupportTickets()
           
 boolean isEnableTwitterSharing()
           
 boolean isSetAccountEmailDomain()
          Returns true if field accountEmailDomain is set (has been asigned a value) and false otherwise
 boolean isSetEnableFacebookSharing()
          Returns true if field enableFacebookSharing is set (has been asigned a value) and false otherwise
 boolean isSetEnableGiftSubscriptions()
          Returns true if field enableGiftSubscriptions is set (has been asigned a value) and false otherwise
 boolean isSetEnableLinkedInSharing()
          Returns true if field enableLinkedInSharing is set (has been asigned a value) and false otherwise
 boolean isSetEnablePublicNotebooks()
          Returns true if field enablePublicNotebooks is set (has been asigned a value) and false otherwise
 boolean isSetEnableSharedNotebooks()
          Returns true if field enableSharedNotebooks is set (has been asigned a value) and false otherwise
 boolean isSetEnableSingleNoteSharing()
          Returns true if field enableSingleNoteSharing is set (has been asigned a value) and false otherwise
 boolean isSetEnableSponsoredAccounts()
          Returns true if field enableSponsoredAccounts is set (has been asigned a value) and false otherwise
 boolean isSetEnableSupportTickets()
          Returns true if field enableSupportTickets is set (has been asigned a value) and false otherwise
 boolean isSetEnableTwitterSharing()
          Returns true if field enableTwitterSharing is set (has been asigned a value) and false otherwise
 boolean isSetMarketingUrl()
          Returns true if field marketingUrl is set (has been asigned a value) and false otherwise
 boolean isSetServiceHost()
          Returns true if field serviceHost is set (has been asigned a value) and false otherwise
 boolean isSetSupportUrl()
          Returns true if field supportUrl is set (has been asigned a value) and false otherwise
 void read(com.evernote.thrift.protocol.TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setAccountEmailDomain(java.lang.String accountEmailDomain)
           
 void setAccountEmailDomainIsSet(boolean value)
           
 void setEnableFacebookSharing(boolean enableFacebookSharing)
           
 void setEnableFacebookSharingIsSet(boolean value)
           
 void setEnableGiftSubscriptions(boolean enableGiftSubscriptions)
           
 void setEnableGiftSubscriptionsIsSet(boolean value)
           
 void setEnableLinkedInSharing(boolean enableLinkedInSharing)
           
 void setEnableLinkedInSharingIsSet(boolean value)
           
 void setEnablePublicNotebooks(boolean enablePublicNotebooks)
           
 void setEnablePublicNotebooksIsSet(boolean value)
           
 void setEnableSharedNotebooks(boolean enableSharedNotebooks)
           
 void setEnableSharedNotebooksIsSet(boolean value)
           
 void setEnableSingleNoteSharing(boolean enableSingleNoteSharing)
           
 void setEnableSingleNoteSharingIsSet(boolean value)
           
 void setEnableSponsoredAccounts(boolean enableSponsoredAccounts)
           
 void setEnableSponsoredAccountsIsSet(boolean value)
           
 void setEnableSupportTickets(boolean enableSupportTickets)
           
 void setEnableSupportTicketsIsSet(boolean value)
           
 void setEnableTwitterSharing(boolean enableTwitterSharing)
           
 void setEnableTwitterSharingIsSet(boolean value)
           
 void setMarketingUrl(java.lang.String marketingUrl)
           
 void setMarketingUrlIsSet(boolean value)
           
 void setServiceHost(java.lang.String serviceHost)
           
 void setServiceHostIsSet(boolean value)
           
 void setSupportUrl(java.lang.String supportUrl)
           
 void setSupportUrlIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetAccountEmailDomain()
           
 void unsetEnableFacebookSharing()
           
 void unsetEnableGiftSubscriptions()
           
 void unsetEnableLinkedInSharing()
           
 void unsetEnablePublicNotebooks()
           
 void unsetEnableSharedNotebooks()
           
 void unsetEnableSingleNoteSharing()
           
 void unsetEnableSponsoredAccounts()
           
 void unsetEnableSupportTickets()
           
 void unsetEnableTwitterSharing()
           
 void unsetMarketingUrl()
           
 void unsetServiceHost()
           
 void unsetSupportUrl()
           
 void validate()
           
 void write(com.evernote.thrift.protocol.TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapSettings

public BootstrapSettings()

BootstrapSettings

public BootstrapSettings(java.lang.String serviceHost,
                         java.lang.String marketingUrl,
                         java.lang.String supportUrl,
                         java.lang.String accountEmailDomain)

BootstrapSettings

public BootstrapSettings(BootstrapSettings other)
Performs a deep copy on other.

Method Detail

deepCopy

public BootstrapSettings deepCopy()
Description copied from interface: com.evernote.thrift.TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface com.evernote.thrift.TBase<BootstrapSettings>

clear

public void clear()
Description copied from interface: com.evernote.thrift.TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface com.evernote.thrift.TBase<BootstrapSettings>

getServiceHost

public java.lang.String getServiceHost()

setServiceHost

public void setServiceHost(java.lang.String serviceHost)

unsetServiceHost

public void unsetServiceHost()

isSetServiceHost

public boolean isSetServiceHost()
Returns true if field serviceHost is set (has been asigned a value) and false otherwise


setServiceHostIsSet

public void setServiceHostIsSet(boolean value)

getMarketingUrl

public java.lang.String getMarketingUrl()

setMarketingUrl

public void setMarketingUrl(java.lang.String marketingUrl)

unsetMarketingUrl

public void unsetMarketingUrl()

isSetMarketingUrl

public boolean isSetMarketingUrl()
Returns true if field marketingUrl is set (has been asigned a value) and false otherwise


setMarketingUrlIsSet

public void setMarketingUrlIsSet(boolean value)

getSupportUrl

public java.lang.String getSupportUrl()

setSupportUrl

public void setSupportUrl(java.lang.String supportUrl)

unsetSupportUrl

public void unsetSupportUrl()

isSetSupportUrl

public boolean isSetSupportUrl()
Returns true if field supportUrl is set (has been asigned a value) and false otherwise


setSupportUrlIsSet

public void setSupportUrlIsSet(boolean value)

getAccountEmailDomain

public java.lang.String getAccountEmailDomain()

setAccountEmailDomain

public void setAccountEmailDomain(java.lang.String accountEmailDomain)

unsetAccountEmailDomain

public void unsetAccountEmailDomain()

isSetAccountEmailDomain

public boolean isSetAccountEmailDomain()
Returns true if field accountEmailDomain is set (has been asigned a value) and false otherwise


setAccountEmailDomainIsSet

public void setAccountEmailDomainIsSet(boolean value)

isEnableFacebookSharing

public boolean isEnableFacebookSharing()

setEnableFacebookSharing

public void setEnableFacebookSharing(boolean enableFacebookSharing)

unsetEnableFacebookSharing

public void unsetEnableFacebookSharing()

isSetEnableFacebookSharing

public boolean isSetEnableFacebookSharing()
Returns true if field enableFacebookSharing is set (has been asigned a value) and false otherwise


setEnableFacebookSharingIsSet

public void setEnableFacebookSharingIsSet(boolean value)

isEnableGiftSubscriptions

public boolean isEnableGiftSubscriptions()

setEnableGiftSubscriptions

public void setEnableGiftSubscriptions(boolean enableGiftSubscriptions)

unsetEnableGiftSubscriptions

public void unsetEnableGiftSubscriptions()

isSetEnableGiftSubscriptions

public boolean isSetEnableGiftSubscriptions()
Returns true if field enableGiftSubscriptions is set (has been asigned a value) and false otherwise


setEnableGiftSubscriptionsIsSet

public void setEnableGiftSubscriptionsIsSet(boolean value)

isEnableSupportTickets

public boolean isEnableSupportTickets()

setEnableSupportTickets

public void setEnableSupportTickets(boolean enableSupportTickets)

unsetEnableSupportTickets

public void unsetEnableSupportTickets()

isSetEnableSupportTickets

public boolean isSetEnableSupportTickets()
Returns true if field enableSupportTickets is set (has been asigned a value) and false otherwise


setEnableSupportTicketsIsSet

public void setEnableSupportTicketsIsSet(boolean value)

isEnableSharedNotebooks

public boolean isEnableSharedNotebooks()

setEnableSharedNotebooks

public void setEnableSharedNotebooks(boolean enableSharedNotebooks)

unsetEnableSharedNotebooks

public void unsetEnableSharedNotebooks()

isSetEnableSharedNotebooks

public boolean isSetEnableSharedNotebooks()
Returns true if field enableSharedNotebooks is set (has been asigned a value) and false otherwise


setEnableSharedNotebooksIsSet

public void setEnableSharedNotebooksIsSet(boolean value)

isEnableSingleNoteSharing

public boolean isEnableSingleNoteSharing()

setEnableSingleNoteSharing

public void setEnableSingleNoteSharing(boolean enableSingleNoteSharing)

unsetEnableSingleNoteSharing

public void unsetEnableSingleNoteSharing()

isSetEnableSingleNoteSharing

public boolean isSetEnableSingleNoteSharing()
Returns true if field enableSingleNoteSharing is set (has been asigned a value) and false otherwise


setEnableSingleNoteSharingIsSet

public void setEnableSingleNoteSharingIsSet(boolean value)

isEnableSponsoredAccounts

public boolean isEnableSponsoredAccounts()

setEnableSponsoredAccounts

public void setEnableSponsoredAccounts(boolean enableSponsoredAccounts)

unsetEnableSponsoredAccounts

public void unsetEnableSponsoredAccounts()

isSetEnableSponsoredAccounts

public boolean isSetEnableSponsoredAccounts()
Returns true if field enableSponsoredAccounts is set (has been asigned a value) and false otherwise


setEnableSponsoredAccountsIsSet

public void setEnableSponsoredAccountsIsSet(boolean value)

isEnableTwitterSharing

public boolean isEnableTwitterSharing()

setEnableTwitterSharing

public void setEnableTwitterSharing(boolean enableTwitterSharing)

unsetEnableTwitterSharing

public void unsetEnableTwitterSharing()

isSetEnableTwitterSharing

public boolean isSetEnableTwitterSharing()
Returns true if field enableTwitterSharing is set (has been asigned a value) and false otherwise


setEnableTwitterSharingIsSet

public void setEnableTwitterSharingIsSet(boolean value)

isEnableLinkedInSharing

public boolean isEnableLinkedInSharing()

setEnableLinkedInSharing

public void setEnableLinkedInSharing(boolean enableLinkedInSharing)

unsetEnableLinkedInSharing

public void unsetEnableLinkedInSharing()

isSetEnableLinkedInSharing

public boolean isSetEnableLinkedInSharing()
Returns true if field enableLinkedInSharing is set (has been asigned a value) and false otherwise


setEnableLinkedInSharingIsSet

public void setEnableLinkedInSharingIsSet(boolean value)

isEnablePublicNotebooks

public boolean isEnablePublicNotebooks()

setEnablePublicNotebooks

public void setEnablePublicNotebooks(boolean enablePublicNotebooks)

unsetEnablePublicNotebooks

public void unsetEnablePublicNotebooks()

isSetEnablePublicNotebooks

public boolean isSetEnablePublicNotebooks()
Returns true if field enablePublicNotebooks is set (has been asigned a value) and false otherwise


setEnablePublicNotebooksIsSet

public void setEnablePublicNotebooksIsSet(boolean value)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(BootstrapSettings that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(BootstrapSettings other)
Specified by:
compareTo in interface java.lang.Comparable<BootstrapSettings>

read

public void read(com.evernote.thrift.protocol.TProtocol iprot)
          throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface com.evernote.thrift.TBase<BootstrapSettings>
Parameters:
iprot - Input protocol
Throws:
com.evernote.thrift.TException

write

public void write(com.evernote.thrift.protocol.TProtocol oprot)
           throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Writes the object to the given protocol.

Specified by:
write in interface com.evernote.thrift.TBase<BootstrapSettings>
Parameters:
oprot - Output protocol
Throws:
com.evernote.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws com.evernote.thrift.TException
Throws:
com.evernote.thrift.TException