Class SecondaryEmail
- java.lang.Object
- 
- com.dropbox.core.v2.secondaryemails.SecondaryEmail
 
- 
 public class SecondaryEmail extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSecondaryEmail.SerializerFor internal use only.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringemailprotected booleanisVerified
 - 
Constructor SummaryConstructors Constructor Description SecondaryEmail(java.lang.String email, boolean isVerified)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetEmail()Secondary email address.booleangetIsVerified()Whether or not the secondary email address is verified to be owned by a user.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
SecondaryEmailpublic SecondaryEmail(java.lang.String email, boolean isVerified)- Parameters:
- email- Secondary email address. Must have length of at most 255, match pattern "- ^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\\.[A-Za-z]{2,15}$", and not be- null.
- isVerified- Whether or not the secondary email address is verified to be owned by a user.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getEmailpublic java.lang.String getEmail() Secondary email address.- Returns:
- value for this field, never null.
 
 - 
getIsVerifiedpublic boolean getIsVerified() Whether or not the secondary email address is verified to be owned by a user.- Returns:
- value for this field.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-