Package com.smartsheet.api.models
Class AlternateEmail
- java.lang.Object
-
- com.smartsheet.api.models.AlternateEmail
-
public class AlternateEmail extends java.lang.Object
The AlternateEmail object, retruned by endpoints like the Get Alternate Email endpoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlternateEmail.AddAlternateEmailBuilder
A convenience class for making aAlternateEmail
object with the appropriate fields for adding to aUser
.
-
Constructor Summary
Constructors Constructor Description AlternateEmail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getConfirmed()
Get flag indicating whether the alternate email address is confirmed.java.lang.String
getEmail()
Get the user's alternate email address.java.lang.Long
getId()
Get the alternate email id.AlternateEmail
setEmail(java.lang.String email)
Set the user's alternate email address.
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Get the alternate email id.- Returns:
- the alternate email id
-
getEmail
public java.lang.String getEmail()
Get the user's alternate email address.- Returns:
- String containing the alternate email address
-
setEmail
public AlternateEmail setEmail(java.lang.String email)
Set the user's alternate email address.- Parameters:
email
- the email
-
getConfirmed
public java.lang.Boolean getConfirmed()
Get flag indicating whether the alternate email address is confirmed.- Returns:
- true if the alternate email address has been confirmed
-
-