Class AcsRouterJobEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Direct Known Subclasses:
AcsRouterJobCancelledEventData, AcsRouterJobClassificationFailedEventData, AcsRouterJobClassifiedEventData, AcsRouterJobClosedEventData, AcsRouterJobCompletedEventData, AcsRouterJobDeletedEventData, AcsRouterJobExceptionTriggeredEventData, AcsRouterJobQueuedEventData, AcsRouterJobReceivedEventData, AcsRouterJobSchedulingFailedEventData, AcsRouterJobUnassignedEventData, AcsRouterJobWaitingForActivationEventData, AcsRouterJobWorkerSelectorsExpiredEventData

public class AcsRouterJobEventData extends AcsRouterEventData
Schema of common properties of all Router Job events.
  • Constructor Details

    • AcsRouterJobEventData

      protected AcsRouterJobEventData(Map<String,String> labels, Map<String,String> tags)
      Creates an instance of AcsRouterJobEventData class.
      Parameters:
      labels - the labels value to set.
      tags - the tags value to set.
  • Method Details

    • getQueueId

      public String getQueueId()
      Get the queueId property: Router Job events Queue Id.
      Returns:
      the queueId value.
    • getLabels

      public Map<String,String> getLabels()
      Get the labels property: Router Job events Labels.
      Returns:
      the labels value.
    • getTags

      public Map<String,String> getTags()
      Get the tags property: Router Jobs events Tags.
      Returns:
      the tags value.
    • getChannelId

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

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

      public String getJobId()
      Get the jobId property: Router Event Job ID.
      Overrides:
      getJobId in class AcsRouterEventData
      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 AcsRouterEventData
      Throws:
      IOException
    • fromJson

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