Package com.smartsheet.api.models
Class AlternateEmail
- java.lang.Object
-
- com.smartsheet.api.models.AlternateEmail
-
public class AlternateEmail extends java.lang.ObjectThe AlternateEmail object, retruned by endpoints like the Get Alternate Email endpoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlternateEmail.AddAlternateEmailBuilderA convenience class for making aAlternateEmailobject 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.BooleangetConfirmed()Get flag indicating whether the alternate email address is confirmed.java.lang.StringgetEmail()Get the user's alternate email address.java.lang.LonggetId()Get the alternate email id.AlternateEmailsetEmail(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
-
-