Package com.smartsheet.api.models
Class AutomationAction
- java.lang.Object
-
- com.smartsheet.api.models.AutomationAction
-
public class AutomationAction extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AutomationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomationActionFrequency
getFrequency()
Gets the automation action frequencyjava.lang.Boolean
getIncludeAllColumns()
Gets the flag indicating if all columns in the sheet should be included with the emailjava.lang.Boolean
getIncludeAttachments()
Gets the flag indicating if attachments should be included with the emailjava.util.List<java.lang.Long>
getIncludedColumnIds()
Gets the list of included columnsjava.lang.Boolean
getIncludeDiscussions()
Gets the flag indicating if discussions should be included with the emailjava.lang.String
getMessage()
Gets the email bodyjava.lang.Boolean
getNotifyAllSharedUsers()
Gets the flag indicating if notification should be sent to all shared usersjava.util.List<java.lang.Long>
getRecipientColumnIds()
Gets a list of columns from which to collect email recipientsjava.util.List<Recipient>
getRecipients()
Gets the list of Recipientsjava.lang.String
getSubject()
Gets the email subject lineAutomationActionType
getType()
Gets the automation action typeAutomationAction
setFrequency(AutomationActionFrequency frequency)
Sets the automation action frequencyAutomationAction
setIncludeAllColumns(java.lang.Boolean includeAllColumns)
Sets the flag indicating if all columns in the sheet should be included with the emailAutomationAction
setIncludeAttachments(java.lang.Boolean includeAttachments)
Sets the flag indicating if attachments should be included with the emailAutomationAction
setIncludedColumnIds(java.util.List<java.lang.Long> includedColumnIds)
Sets the list of included columnsAutomationAction
setIncludeDiscussions(java.lang.Boolean includeDiscussions)
Sets the flag indicating if discussions should be included with the emailAutomationAction
setMessage(java.lang.String message)
Sets the email bodyAutomationAction
setNotifyAllSharedUsers(java.lang.Boolean notifyAllSharedUsers)
Sets the flag indicating if notification should be sent to all shared usersAutomationAction
setRecipientColumnIds(java.util.List<java.lang.Long> recipientColumnIds)
Sets a list of columns from which to collect email recipientsAutomationAction
setRecipients(java.util.List<Recipient> recipients)
Sets the list of RecipientsAutomationAction
setSubject(java.lang.String subject)
Sets the email subject lineAutomationAction
setType(AutomationActionType type)
Sets the automation action type
-
-
-
Method Detail
-
getFrequency
public AutomationActionFrequency getFrequency()
Gets the automation action frequency- Returns:
- the automation action frequency
-
setFrequency
public AutomationAction setFrequency(AutomationActionFrequency frequency)
Sets the automation action frequency- Parameters:
frequency
- the automation action frequency
-
getIncludeAllColumns
public java.lang.Boolean getIncludeAllColumns()
Gets the flag indicating if all columns in the sheet should be included with the email- Returns:
- includeAllColumns flag
-
setIncludeAllColumns
public AutomationAction setIncludeAllColumns(java.lang.Boolean includeAllColumns)
Sets the flag indicating if all columns in the sheet should be included with the email- Parameters:
includeAllColumns
- includeAllColumns flag
-
getIncludeAttachments
public java.lang.Boolean getIncludeAttachments()
Gets the flag indicating if attachments should be included with the email- Returns:
- the includeAttachments flag
-
setIncludeAttachments
public AutomationAction setIncludeAttachments(java.lang.Boolean includeAttachments)
Sets the flag indicating if attachments should be included with the email- Parameters:
includeAttachments
- the includeAttachments flag
-
getIncludeDiscussions
public java.lang.Boolean getIncludeDiscussions()
Gets the flag indicating if discussions should be included with the email- Returns:
- the includeDiscussions flag
-
setIncludeDiscussions
public AutomationAction setIncludeDiscussions(java.lang.Boolean includeDiscussions)
Sets the flag indicating if discussions should be included with the email- Parameters:
includeDiscussions
- the includeDiscussions flag
-
getIncludedColumnIds
public java.util.List<java.lang.Long> getIncludedColumnIds()
Gets the list of included columns- Returns:
- the list of included columns
-
setIncludedColumnIds
public AutomationAction setIncludedColumnIds(java.util.List<java.lang.Long> includedColumnIds)
Sets the list of included columns- Parameters:
includedColumnIds
- the list of included columns
-
getMessage
public java.lang.String getMessage()
Gets the email body- Returns:
- the email body
-
setMessage
public AutomationAction setMessage(java.lang.String message)
Sets the email body- Parameters:
message
- the email body
-
getNotifyAllSharedUsers
public java.lang.Boolean getNotifyAllSharedUsers()
Gets the flag indicating if notification should be sent to all shared users- Returns:
- the notifyAllSharedUsers flag
-
setNotifyAllSharedUsers
public AutomationAction setNotifyAllSharedUsers(java.lang.Boolean notifyAllSharedUsers)
Sets the flag indicating if notification should be sent to all shared users- Parameters:
notifyAllSharedUsers
- the notifyAllSharedUsers flag
-
getRecipientColumnIds
public java.util.List<java.lang.Long> getRecipientColumnIds()
Gets a list of columns from which to collect email recipients- Returns:
- the list of column IDs
-
setRecipientColumnIds
public AutomationAction setRecipientColumnIds(java.util.List<java.lang.Long> recipientColumnIds)
Sets a list of columns from which to collect email recipients- Parameters:
recipientColumnIds
- the list of column IDs
-
getRecipients
public java.util.List<Recipient> getRecipients()
Gets the list of Recipients- Returns:
- the list of Recipients
-
setRecipients
public AutomationAction setRecipients(java.util.List<Recipient> recipients)
Sets the list of Recipients- Parameters:
recipients
- the list of Recipients
-
getSubject
public java.lang.String getSubject()
Gets the email subject line- Returns:
- the email subject line
-
setSubject
public AutomationAction setSubject(java.lang.String subject)
Sets the email subject line- Parameters:
subject
- the email subject line
-
getType
public AutomationActionType getType()
Gets the automation action type- Returns:
- the action type
-
setType
public AutomationAction setType(AutomationActionType type)
Sets the automation action type- Parameters:
type
- the action type
-
-