Package com.smartsheet.api.models
Class Contact
- java.lang.Object
-
- com.smartsheet.api.models.IdentifiableModel<T>
-
- com.smartsheet.api.models.NamedModel<java.lang.String>
-
- com.smartsheet.api.models.Contact
-
- Direct Known Subclasses:
ContactObjectValue
public class Contact extends NamedModel<java.lang.String>
Represents the Contact object.
-
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEmail()
Gets the email for the contact.Contact
setEmail(java.lang.String email)
Sets the email for the contact-
Methods inherited from class com.smartsheet.api.models.NamedModel
getName, setName
-
Methods inherited from class com.smartsheet.api.models.IdentifiableModel
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
Gets the email for the contact.- Returns:
- the email
-
setEmail
public Contact setEmail(java.lang.String email)
Sets the email for the contact- Parameters:
email
- the email
-
-