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 class
RowEmail.AddRowEmailBuilder
A 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.Boolean
getCcMe()
Gets the carbon copy me flag.java.util.List<java.lang.Long>
getColumnIds()
Gets the IDs of the columns to be included.java.lang.Boolean
getIncludeAttachments()
Gets the flag that indicates if attachments should be included in the email.java.lang.Boolean
getIncludeDiscussions()
Gets the flag that indicates if discussions should be included in the email.java.lang.String
getLayout()
Gets a string containing the layout.java.lang.String
getMessage()
Gets the message.java.util.List<Recipient>
getSendTo()
Gets the list of recipients to send tojava.lang.String
getSubject()
Gets the subject.RowEmail
setCcMe(java.lang.Boolean ccMe)
Sets the carbon copy me flag.RowEmail
setColumnIds(java.util.List<java.lang.Long> columnIds)
Sets the IDs of the columns to be included.RowEmail
setIncludeAttachments(java.lang.Boolean includeAttachments)
Sets the flag that indicates if attachments should be included in the email.RowEmail
setIncludeDiscussions(java.lang.Boolean includeDiscussions)
Sets the flag that indicates if discussions should be included in the email.RowEmail
setLayout(java.lang.String layout)
Sets the layout stringRowEmail
setMessage(java.lang.String message)
Sets the message.RowEmail
setSendTo(java.util.List<Recipient> sendTo)
Sets the list of recipients to send toRowEmail
setSubject(java.lang.String subject)
Sets the subject.
-
-
-
Method Detail
-
getSendTo
public java.util.List<Recipient> getSendTo()
Description copied from class:Email
Gets the list of recipients to send to
-
setSendTo
public RowEmail setSendTo(java.util.List<Recipient> sendTo)
Description copied from class:Email
Sets the list of recipients to send to
-
getSubject
public java.lang.String getSubject()
Description copied from class:Email
Gets the subject.- Overrides:
getSubject
in classEmail
- Returns:
- the subject
-
setSubject
public RowEmail setSubject(java.lang.String subject)
Description copied from class:Email
Sets the subject.- Overrides:
setSubject
in classEmail
- Parameters:
subject
- the new subject
-
getMessage
public java.lang.String getMessage()
Description copied from class:Email
Gets the message.- Overrides:
getMessage
in classEmail
- Returns:
- the message
-
setMessage
public RowEmail setMessage(java.lang.String message)
Description copied from class:Email
Sets the message.- Overrides:
setMessage
in classEmail
- Parameters:
message
- the new message
-
getCcMe
public java.lang.Boolean getCcMe()
Description copied from class:Email
Gets the carbon copy me flag.
-
setCcMe
public RowEmail setCcMe(java.lang.Boolean ccMe)
Description copied from class:Email
Sets 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
-
-