Class AvsScriptExecutionFinishedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AvsScriptExecutionEventData
com.azure.messaging.eventgrid.systemevents.AvsScriptExecutionFinishedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AvsScriptExecutionEventData>

public final class AvsScriptExecutionFinishedEventData extends AvsScriptExecutionEventData
Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFinished event.
  • Method Details

    • getNamedOutputs

      public Map<String,String> getNamedOutputs()
      Get the namedOutputs property: Named outputs of completed execution, if any.
      Returns:
      the namedOutputs value.
    • getOutput

      public List<String> getOutput()
      Get the output property: Stdout outputs from the execution, if any.
      Overrides:
      getOutput in class AvsScriptExecutionEventData
      Returns:
      the output value.
    • toJson

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

      public static AvsScriptExecutionFinishedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AvsScriptExecutionFinishedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AvsScriptExecutionFinishedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the AvsScriptExecutionFinishedEventData.