Package com.smartsheet.api.models
Class RowEmail
- java.lang.Object
-
- com.smartsheet.api.models.Email
-
- com.smartsheet.api.models.RowEmail
-
- Direct Known Subclasses:
MultiRowEmail
public class RowEmail extends Email
Represents RowEmail object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRowEmail.AddRowEmailBuilderA convenience class to help create a RowEmail object with the appropriate fields.
-
Constructor Summary
Constructors Constructor Description RowEmail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetCcMe()Gets the carbon copy me flag.java.util.List<java.lang.Long>getColumnIds()Gets the IDs of the columns to be included.java.lang.BooleangetIncludeAttachments()Gets the flag that indicates if attachments should be included in the email.java.lang.BooleangetIncludeDiscussions()Gets the flag that indicates if discussions should be included in the email.java.lang.StringgetLayout()Gets a string containing the layout.java.lang.StringgetMessage()Gets the message.java.util.List<Recipient>getSendTo()Gets the list of recipients to send tojava.lang.StringgetSubject()Gets the subject.RowEmailsetCcMe(java.lang.Boolean ccMe)Sets the carbon copy me flag.RowEmailsetColumnIds(java.util.List<java.lang.Long> columnIds)Sets the IDs of the columns to be included.RowEmailsetIncludeAttachments(java.lang.Boolean includeAttachments)Sets the flag that indicates if attachments should be included in the email.RowEmailsetIncludeDiscussions(java.lang.Boolean includeDiscussions)Sets the flag that indicates if discussions should be included in the email.RowEmailsetLayout(java.lang.String layout)Sets the layout stringRowEmailsetMessage(java.lang.String message)Sets the message.RowEmailsetSendTo(java.util.List<Recipient> sendTo)Sets the list of recipients to send toRowEmailsetSubject(java.lang.String subject)Sets the subject.
-
-
-
Method Detail
-
getSendTo
public java.util.List<Recipient> getSendTo()
Description copied from class:EmailGets the list of recipients to send to
-
setSendTo
public RowEmail setSendTo(java.util.List<Recipient> sendTo)
Description copied from class:EmailSets the list of recipients to send to
-
getSubject
public java.lang.String getSubject()
Description copied from class:EmailGets the subject.- Overrides:
getSubjectin classEmail- Returns:
- the subject
-
setSubject
public RowEmail setSubject(java.lang.String subject)
Description copied from class:EmailSets the subject.- Overrides:
setSubjectin classEmail- Parameters:
subject- the new subject
-
getMessage
public java.lang.String getMessage()
Description copied from class:EmailGets the message.- Overrides:
getMessagein classEmail- Returns:
- the message
-
setMessage
public RowEmail setMessage(java.lang.String message)
Description copied from class:EmailSets the message.- Overrides:
setMessagein classEmail- Parameters:
message- the new message
-
getCcMe
public java.lang.Boolean getCcMe()
Description copied from class:EmailGets the carbon copy me flag.
-
setCcMe
public RowEmail setCcMe(java.lang.Boolean ccMe)
Description copied from class:EmailSets the carbon copy me flag.
-
getColumnIds
public java.util.List<java.lang.Long> getColumnIds()
Gets the IDs of the columns to be included.- Returns:
- the colmn ids
-
setColumnIds
public RowEmail setColumnIds(java.util.List<java.lang.Long> columnIds)
Sets the IDs of the columns to be included.- Parameters:
columnIds- the column ids
-
getIncludeAttachments
public java.lang.Boolean getIncludeAttachments()
Gets the flag that indicates if attachments should be included in the email.- Returns:
- the include attachments
-
setIncludeAttachments
public RowEmail setIncludeAttachments(java.lang.Boolean includeAttachments)
Sets the flag that indicates if attachments should be included in the email.- Parameters:
includeAttachments- the new include attachments
-
getIncludeDiscussions
public java.lang.Boolean getIncludeDiscussions()
Gets the flag that indicates if discussions should be included in the email.- Returns:
- the include discussions
-
setIncludeDiscussions
public RowEmail setIncludeDiscussions(java.lang.Boolean includeDiscussions)
Sets the flag that indicates if discussions should be included in the email.- Parameters:
includeDiscussions- the new include discussions
-
getLayout
public java.lang.String getLayout()
Gets a string containing the layout. Defaults to HORIZONTAL if multiple rows are being setn, and to VERTICAL when a single row is being sent.- Returns:
- layout
-
setLayout
public RowEmail setLayout(java.lang.String layout)
Sets the layout string- Parameters:
layout- string containing HORIZONTAL or VERTICAL strings
-
-