public class AutomationRule extends NamedModel<Long>
| Constructor and Description |
|---|
AutomationRule() |
| Modifier and Type | Method and Description |
|---|---|
AutomationAction |
getAction()
Gets the automation action for this rule.
|
Date |
getCreatedAt()
Gets a timestamp of when the rule was created.
|
User |
getCreatedBy()
Gets the User object for the author of this rule.
|
AutomationRuleDisabledReason |
getDisabledReason()
Gets a machine-readable reason a rule is disabled.
|
String |
getDisabledReasonText()
Gets descriptive text for why this rule is disabled.
|
Boolean |
getEnabled()
Gets flag indicating if rule is active
|
Date |
getModifiedAt()
Gets a timestamp for the last modification to this rule.
|
User |
getModifiedBy()
Gets the User who last modified this rule.
|
Boolean |
getUserCanModify()
Gets a flag indicating if the current user can modify this rule.
|
AutomationRule |
setAction(AutomationAction action)
Sets the automation action for this rule.
|
AutomationRule |
setCreatedAt(Date createdAt)
Sets a timestamp for when the rule was created.
|
AutomationRule |
setCreatedBy(User createdBy)
Sets the User object for the author of this rule.
|
AutomationRule |
setDisabledReason(AutomationRuleDisabledReason disabledReason)
Sets a machine-readable reason a rule is disabled.
|
AutomationRule |
setDisabledReasonText(String disabledReasonText)
Sets descriptive text for why this rule is disabled.
|
AutomationRule |
setEnabled(Boolean enabled)
Sets flag indicating if rule is active
|
AutomationRule |
setModifiedAt(Date modifiedAt)
Sets a timestamp for the last modification to this rule
|
AutomationRule |
setModifiedBy(User modifiedBy)
Sets the User who last modified this rule.
|
AutomationRule |
setUserCanModify(Boolean userCanModify)
Sets a flag indicating if the current user can modify this rule.
|
getName, setNameequals, getId, hashCode, setIdpublic AutomationAction getAction()
public AutomationRule setAction(AutomationAction action)
action - the automation actionpublic Date getCreatedAt()
public AutomationRule setCreatedAt(Date createdAt)
createdAt - the timestamppublic User getCreatedBy()
public AutomationRule setCreatedBy(User createdBy)
createdBy - the User objectpublic AutomationRuleDisabledReason getDisabledReason()
public AutomationRule setDisabledReason(AutomationRuleDisabledReason disabledReason)
disabledReason - the reasonpublic String getDisabledReasonText()
public AutomationRule setDisabledReasonText(String disabledReasonText)
disabledReasonText - the reasonpublic Boolean getEnabled()
public AutomationRule setEnabled(Boolean enabled)
enabled - the flagpublic Date getModifiedAt()
public AutomationRule setModifiedAt(Date modifiedAt)
modifiedAt - the timestamppublic User getModifiedBy()
public AutomationRule setModifiedBy(User modifiedBy)
modifiedBy - public Boolean getUserCanModify()
public AutomationRule setUserCanModify(Boolean userCanModify)
userCanModify - the flagCopyright © 2014–2019 Smartsheet. All rights reserved.