Class Expression
java.lang.Object
com.azure.resourcemanager.appservice.models.Expression
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Expression>
- Direct Known Subclasses:
ExpressionRoot
The expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: The azure resource error info.static ExpressionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of Expression from the JsonReader.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
-
Constructor Details
-
Expression
protected Expression()Creates an instance of Expression class.
-
-
Method Details
-
text
-
value
-
subexpressions
Get the subexpressions property: The sub expressions.- Returns:
- the subexpressions value.
-
error
Get the error property: The azure resource error info.- Returns:
- the error value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Expression>- Throws:
IOException
-
fromJson
Reads an instance of Expression from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of Expression 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 Expression.
-