public class WorkflowRuleTarget extends TaskRouterResource
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowRuleTarget.Builder |
Modifier and Type | Method and Description |
---|---|
static WorkflowRuleTarget |
fromJson(String json)
Converts a JSON workflow configuration to a workflow configuration object.
|
String |
getExpression()
Get the expression for the workflow rule target to limit the workers selected.
|
String |
getOrderBy()
Get the orderBy for the workflow rule target.
|
Integer |
getPriority()
Get the priority for the workflow rule target.
|
String |
getQueue()
Get the queue for the workflow rule target.
|
String |
getSkipIf()
Get the skipIf for the workflow rule target.
|
Integer |
getTimeout()
Get the timeout for the workflow rule target.
|
String |
toString()
Return a string representation of this workflow rule target.
|
toJson
public String getQueue()
public String getExpression()
public Integer getPriority()
public Integer getTimeout()
public String getOrderBy()
public String getSkipIf()
public String toString()
public static WorkflowRuleTarget fromJson(String json) throws IOException
json
- JSON for workflow rule targetIOException
- if unable to create objectCopyright © 2019 Twilio, Inc. All Rights Reserved.