public class BoxNotificationEmail extends BoxJSONObject
Constructor and Description |
---|
BoxNotificationEmail(String json)
Constructs a BoxNotificationEmail from a JSON string.
|
BoxNotificationEmail(String email,
boolean isConfirmed)
Constructs a BoxNotificationEmail object.
|
Modifier and Type | Method and Description |
---|---|
String |
getEmail()
Gets the email address to send notifications to.
|
boolean |
getIsConfirmed()
Gets if this email address has been confirmed.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public BoxNotificationEmail(String email, boolean isConfirmed)
email
- The email address to send the notifications to.isConfirmed
- Specifies if this email address has been confirmed.public BoxNotificationEmail(String json)
json
- the json encoded email alias.public boolean getIsConfirmed()