Class SecondaryEmail
java.lang.Object
com.dropbox.core.v2.secondaryemails.SecondaryEmail
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
email
-
isVerified
protected final boolean isVerified
-
-
Constructor Details
-
SecondaryEmail
- 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 benull.isVerified- Whether or not the secondary email address is verified to be owned by a user.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getEmail
Secondary email address.- Returns:
- value for this field, never
null.
-
getIsVerified
public boolean getIsVerified()Whether or not the secondary email address is verified to be owned by a user.- Returns:
- value for this field.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-