Class AcsRouterJobClosedEventData

All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>

public final class AcsRouterJobClosedEventData extends AcsRouterJobEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClosed event.
  • Method Details

    • getAssignmentId

      public String getAssignmentId()
      Get the assignmentId property: Router Job Closed Assignment Id.
      Returns:
      the assignmentId value.
    • getWorkerId

      public String getWorkerId()
      Get the workerId property: Router Job Closed Worker Id.
      Returns:
      the workerId value.
    • getDispositionCode

      public String getDispositionCode()
      Get the dispositionCode property: Router Job Closed Disposition Code.
      Returns:
      the dispositionCode value.
    • getQueueId

      public String getQueueId()
      Get the queueId property: Router Job events Queue Id.
      Overrides:
      getQueueId in class AcsRouterJobEventData
      Returns:
      the queueId value.
    • getChannelId

      public String getChannelId()
      Get the channelId property: Router Event Channel ID.
      Overrides:
      getChannelId in class AcsRouterJobEventData
      Returns:
      the channelId value.
    • getChannelReference

      public String getChannelReference()
      Get the channelReference property: Router Event Channel Reference.
      Overrides:
      getChannelReference in class AcsRouterJobEventData
      Returns:
      the channelReference value.
    • getJobId

      public String getJobId()
      Get the jobId property: Router Event Job ID.
      Overrides:
      getJobId in class AcsRouterJobEventData
      Returns:
      the jobId value.
    • toJson

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

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