public static final class SubdialogueCall.Parameter extends Object implements JsonSerializable
SubdialogueCall
parameter, can be created with a string value, a
JsonValue
or an expression.Modifier and Type | Method and Description |
---|---|
javax.json.JsonValue |
asJson() |
static SubdialogueCall.Parameter |
createWithExpression(String name,
String expression) |
static SubdialogueCall.Parameter |
createWithJson(String name,
javax.json.JsonValue json) |
static SubdialogueCall.Parameter |
createWithValue(String name,
String value) |
String |
getExpression() |
String |
getName() |
String |
getValue() |
public static SubdialogueCall.Parameter createWithValue(String name, String value)
name
- The name of the parameter. Not empty.value
- The string value of the parameter. Not null.public static SubdialogueCall.Parameter createWithJson(String name, javax.json.JsonValue json)
name
- The name of the parameter. Not empty.json
- The JSON value of the parameter. Not null.public static SubdialogueCall.Parameter createWithExpression(String name, String expression)
name
- The name of the parameter. Not empty.expression
- The ECMAScript expression of the parameter. Not
null.public String getExpression()
public javax.json.JsonValue asJson()
asJson
in interface JsonSerializable
Copyright © 2019 Nu Echo Inc..