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>

public final class ExpressionRoot extends Expression
The expression root.
  • Method Details

    • path

      public String path()
      Get the path property: The path.
      Returns:
      the path value.
    • error

      public AzureResourceErrorInfo error()
      Get the error property: The azure resource error info.
      Overrides:
      error in class Expression
      Returns:
      the error value.
    • subexpressions

      public List<Expression> subexpressions()
      Get the subexpressions property: The sub expressions.
      Overrides:
      subexpressions in class Expression
      Returns:
      the subexpressions value.
    • value

      public Object value()
      Get the value property: Anything.
      Overrides:
      value in class Expression
      Returns:
      the value value.
    • text

      public String text()
      Get the text property: The text.
      Overrides:
      text in class Expression
      Returns:
      the text value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class Expression
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<Expression>
      Overrides:
      toJson in class Expression
      Throws:
      IOException
    • fromJson

      public static ExpressionRoot fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.