Class AcsRouterJobWorkerSelectorsExpiredEventData

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

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

    • getExpiredRequestedWorkerSelectors

      public List<AcsRouterWorkerSelector> getExpiredRequestedWorkerSelectors()
      Get the expiredRequestedWorkerSelectors property: Router Job Worker Selectors Expired Requested Worker Selectors.
      Returns:
      the expiredRequestedWorkerSelectors value.
    • getExpiredAttachedWorkerSelectors

      public List<AcsRouterWorkerSelector> getExpiredAttachedWorkerSelectors()
      Get the expiredAttachedWorkerSelectors property: Router Job Worker Selectors Expired Attached Worker Selectors.
      Returns:
      the expiredAttachedWorkerSelectors 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 AcsRouterJobWorkerSelectorsExpiredEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsRouterJobWorkerSelectorsExpiredEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsRouterJobWorkerSelectorsExpiredEventData 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 AcsRouterJobWorkerSelectorsExpiredEventData.