public class WorkflowRule extends TaskRouterResource
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowRule |
fromJson(String json)
Converts a JSON workflow configuration to a workflow rule object.
|
String |
getExpression()
Get the expression for the workflow rule.
|
String |
getFriendlyName()
Get the friendly name / label for the workflow rule.
|
List<WorkflowRuleTarget> |
getWorkflowRuleTargets()
Get the list of workflow rule targets for this workflow rule.
|
String |
toString()
Return a string representation of this workflow rule target.
|
toJsonpublic String getExpression()
public String getFriendlyName()
public List<WorkflowRuleTarget> getWorkflowRuleTargets()
public String toString()
public static WorkflowRule fromJson(String json) throws IOException
json - JSON for workflow ruleIOException - if unable to create objectCopyright © 2016 Twilio, Inc. All Rights Reserved.