public class AutomationAction extends Object
| Constructor and Description |
|---|
AutomationAction() |
| Modifier and Type | Method and Description |
|---|---|
AutomationActionFrequency |
getFrequency()
Gets the automation action frequency
|
Boolean |
getIncludeAllColumns()
Gets the flag indicating if all columns in the sheet should be included with the email
|
Boolean |
getIncludeAttachments()
Gets the flag indicating if attachments should be included with the email
|
List<Long> |
getIncludedColumnIds()
Gets the list of included columns
|
Boolean |
getIncludeDiscussions()
Gets the flag indicating if discussions should be included with the email
|
String |
getMessage()
Gets the email body
|
Boolean |
getNotifyAllSharedUsers()
Gets the flag indicating if notification should be sent to all shared users
|
List<Long> |
getRecipientColumnIds()
Gets a list of columns from which to collect email recipients
|
List<Recipient> |
getRecipients()
Gets the list of Recipients
|
String |
getSubject()
Gets the email subject line
|
AutomationActionType |
getType()
Gets the automation action type
|
AutomationAction |
setFrequency(AutomationActionFrequency frequency)
Sets the automation action frequency
|
AutomationAction |
setIncludeAllColumns(Boolean includeAllColumns)
Sets the flag indicating if all columns in the sheet should be included with the email
|
AutomationAction |
setIncludeAttachments(Boolean includeAttachments)
Sets the flag indicating if attachments should be included with the email
|
AutomationAction |
setIncludedColumnIds(List<Long> includedColumnIds)
Sets the list of included columns
|
AutomationAction |
setIncludeDiscussions(Boolean includeDiscussions)
Sets the flag indicating if discussions should be included with the email
|
AutomationAction |
setMessage(String message)
Sets the email body
|
AutomationAction |
setNotifyAllSharedUsers(Boolean notifyAllSharedUsers)
Sets the flag indicating if notification should be sent to all shared users
|
AutomationAction |
setRecipientColumnIds(List<Long> recipientColumnIds)
Sets a list of columns from which to collect email recipients
|
AutomationAction |
setRecipients(List<Recipient> recipients)
Sets the list of Recipients
|
AutomationAction |
setSubject(String subject)
Sets the email subject line
|
AutomationAction |
setType(AutomationActionType type)
Sets the automation action type
|
public AutomationActionFrequency getFrequency()
public AutomationAction setFrequency(AutomationActionFrequency frequency)
frequency - the automation action frequencypublic Boolean getIncludeAllColumns()
public AutomationAction setIncludeAllColumns(Boolean includeAllColumns)
includeAllColumns - includeAllColumns flagpublic Boolean getIncludeAttachments()
public AutomationAction setIncludeAttachments(Boolean includeAttachments)
includeAttachments - the includeAttachments flagpublic Boolean getIncludeDiscussions()
public AutomationAction setIncludeDiscussions(Boolean includeDiscussions)
includeDiscussions - the includeDiscussions flagpublic List<Long> getIncludedColumnIds()
public AutomationAction setIncludedColumnIds(List<Long> includedColumnIds)
includedColumnIds - the list of included columnspublic String getMessage()
public AutomationAction setMessage(String message)
message - the email bodypublic Boolean getNotifyAllSharedUsers()
public AutomationAction setNotifyAllSharedUsers(Boolean notifyAllSharedUsers)
notifyAllSharedUsers - the notifyAllSharedUsers flagpublic List<Long> getRecipientColumnIds()
public AutomationAction setRecipientColumnIds(List<Long> recipientColumnIds)
recipientColumnIds - the list of column IDspublic List<Recipient> getRecipients()
public AutomationAction setRecipients(List<Recipient> recipients)
recipients - the list of Recipientspublic String getSubject()
public AutomationAction setSubject(String subject)
subject - the email subject linepublic AutomationActionType getType()
public AutomationAction setType(AutomationActionType type)
type - the action typeCopyright © 2014–2019 Smartsheet. All rights reserved.