Class WorkflowOutputParameter

java.lang.Object
com.azure.resourcemanager.appservice.models.WorkflowParameter
com.azure.resourcemanager.appservice.models.WorkflowOutputParameter
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowParameter>

public final class WorkflowOutputParameter extends WorkflowParameter
The workflow output parameter.
  • Method Details

    • error

      public Object error()
      Get the error property: Gets the error.
      Returns:
      the error value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class WorkflowParameter
      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<WorkflowParameter>
      Overrides:
      toJson in class WorkflowParameter
      Throws:
      IOException
    • fromJson

      public static WorkflowOutputParameter fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkflowOutputParameter from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkflowOutputParameter 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 WorkflowOutputParameter.