com.evernote.edam.type
Class SharedNotebookRecipientSettings

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

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

Settings meant for the recipient of a shared notebook, such as for indicating which types of notifications the recipient wishes for reminders, etc. The reminderNotifyEmail and reminderNotifyInApp fields have a 3-state read value but a 2-state write value. On read, it is possible to observe "unset", true, or false. The initial state is "unset". When you choose to set a value, you may set it to either true or false, but you cannot unset the value. Once one of these members has a true/false value, it will always have a true/false value.

reminderNotifyEmail
Indicates that the user wishes to receive daily e-mail notifications for reminders associated with the shared notebook. This may be true only for business notebooks that belong to the business of which the user is a member. You may only set this value on a notebook in your business.
reminderNotifyInApp
Indicates that the user wishes to receive notifications for reminders by applications that support providing such notifications. The exact nature of the notification is defined by the individual applications.

See Also:
Serialized Form

Constructor Summary
SharedNotebookRecipientSettings()
           
SharedNotebookRecipientSettings(SharedNotebookRecipientSettings other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(SharedNotebookRecipientSettings other)
           
 SharedNotebookRecipientSettings deepCopy()
          Creates a deep copy of the object.
 boolean equals(java.lang.Object that)
           
 boolean equals(SharedNotebookRecipientSettings that)
           
 int hashCode()
           
 boolean isReminderNotifyEmail()
           
 boolean isReminderNotifyInApp()
           
 boolean isSetReminderNotifyEmail()
          Returns true if field reminderNotifyEmail is set (has been asigned a value) and false otherwise
 boolean isSetReminderNotifyInApp()
          Returns true if field reminderNotifyInApp 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 setReminderNotifyEmail(boolean reminderNotifyEmail)
           
 void setReminderNotifyEmailIsSet(boolean value)
           
 void setReminderNotifyInApp(boolean reminderNotifyInApp)
           
 void setReminderNotifyInAppIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetReminderNotifyEmail()
           
 void unsetReminderNotifyInApp()
           
 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

SharedNotebookRecipientSettings

public SharedNotebookRecipientSettings()

SharedNotebookRecipientSettings

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

Method Detail

deepCopy

public SharedNotebookRecipientSettings 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<SharedNotebookRecipientSettings>

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<SharedNotebookRecipientSettings>

isReminderNotifyEmail

public boolean isReminderNotifyEmail()

setReminderNotifyEmail

public void setReminderNotifyEmail(boolean reminderNotifyEmail)

unsetReminderNotifyEmail

public void unsetReminderNotifyEmail()

isSetReminderNotifyEmail

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


setReminderNotifyEmailIsSet

public void setReminderNotifyEmailIsSet(boolean value)

isReminderNotifyInApp

public boolean isReminderNotifyInApp()

setReminderNotifyInApp

public void setReminderNotifyInApp(boolean reminderNotifyInApp)

unsetReminderNotifyInApp

public void unsetReminderNotifyInApp()

isSetReminderNotifyInApp

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


setReminderNotifyInAppIsSet

public void setReminderNotifyInAppIsSet(boolean value)

equals

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

equals

public boolean equals(SharedNotebookRecipientSettings that)

hashCode

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

compareTo

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

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<SharedNotebookRecipientSettings>
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<SharedNotebookRecipientSettings>
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