Class ExpressionRoot
java.lang.Object
com.azure.resourcemanager.appservice.models.Expression
com.azure.resourcemanager.appservice.models.ExpressionRoot
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Expression>
The expression root.
-
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: The azure resource error info.static ExpressionRootfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressionRoot from the JsonReader.path()Get the path property: The path.Get the subexpressions property: The sub expressions.text()Get the text property: The text.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: Anything.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
path
-
error
Get the error property: The azure resource error info.- Overrides:
errorin classExpression- Returns:
- the error value.
-
subexpressions
Get the subexpressions property: The sub expressions.- Overrides:
subexpressionsin classExpression- Returns:
- the subexpressions value.
-
value
Get the value property: Anything.- Overrides:
valuein classExpression- Returns:
- the value value.
-
text
Get the text property: The text.- Overrides:
textin classExpression- Returns:
- the text value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classExpression- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Expression>- Overrides:
toJsonin classExpression- Throws:
IOException
-
fromJson
Reads an instance of ExpressionRoot from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressionRoot if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ExpressionRoot.
-