Package com.smartsheet.api.models
Class Email
- java.lang.Object
-
- com.smartsheet.api.models.Email
-
- Direct Known Subclasses:
RowEmail,SheetEmail
public abstract class Email extends java.lang.ObjectRepresents an Email object.
-
-
Constructor Summary
Constructors Constructor Description Email()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetCcMe()Gets the carbon copy me flag.java.lang.StringgetMessage()Gets the message.java.util.List<Recipient>getSendTo()Gets the list of recipients to send tojava.lang.StringgetSubject()Gets the subject.EmailsetCcMe(java.lang.Boolean ccMe)Sets the carbon copy me flag.EmailsetMessage(java.lang.String message)Sets the message.EmailsetSendTo(java.util.List<Recipient> sendTo)Sets the list of recipients to send toEmailsetSubject(java.lang.String subject)Sets the subject.
-
-
-
Method Detail
-
getSendTo
public java.util.List<Recipient> getSendTo()
Gets the list of recipients to send to- Returns:
- the list of recipients
-
setSendTo
public Email setSendTo(java.util.List<Recipient> sendTo)
Sets the list of recipients to send to- Parameters:
sendTo- list of recipients
-
getSubject
public java.lang.String getSubject()
Gets the subject.- Returns:
- the subject
-
setSubject
public Email setSubject(java.lang.String subject)
Sets the subject.- Parameters:
subject- the new subject
-
getMessage
public java.lang.String getMessage()
Gets the message.- Returns:
- the message
-
setMessage
public Email setMessage(java.lang.String message)
Sets the message.- Parameters:
message- the new message
-
getCcMe
public java.lang.Boolean getCcMe()
Gets the carbon copy me flag.- Returns:
- the cc me
-
setCcMe
public Email setCcMe(java.lang.Boolean ccMe)
Sets the carbon copy me flag.- Parameters:
ccMe- the new cc me
-
-