Class AcsRouterWorkerOfferIssuedEventData

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

public final class AcsRouterWorkerOfferIssuedEventData extends AcsRouterWorkerEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event.
  • Method Details

    • getQueueId

      public String getQueueId()
      Get the queueId property: Router Worker Offer Issued Queue Id.
      Returns:
      the queueId value.
    • getOfferId

      public String getOfferId()
      Get the offerId property: Router Worker Offer Issued Offer Id.
      Returns:
      the offerId value.
    • getJobPriority

      public Integer getJobPriority()
      Get the jobPriority property: Router Worker Offer Issued Job Priority.
      Returns:
      the jobPriority value.
    • getWorkerLabels

      public Map<String,String> getWorkerLabels()
      Get the workerLabels property: Router Worker Offer Issued Worker Labels.
      Returns:
      the workerLabels value.
    • getOfferedOn

      public OffsetDateTime getOfferedOn()
      Get the offeredOn property: Router Worker Offer Issued Time in UTC.
      Returns:
      the offeredOn value.
    • getExpiresOn

      public OffsetDateTime getExpiresOn()
      Get the expiresOn property: Router Worker Offer Issued Expiration Time in UTC.
      Returns:
      the expiresOn value.
    • getWorkerTags

      public Map<String,String> getWorkerTags()
      Get the workerTags property: Router Worker Offer Issued Worker Tags.
      Returns:
      the workerTags value.
    • getJobLabels

      public Map<String,String> getJobLabels()
      Get the jobLabels property: Router Worker Offer Issued Job Labels.
      Returns:
      the jobLabels value.
    • getJobTags

      public Map<String,String> getJobTags()
      Get the jobTags property: Router Worker Offer Issued Job Tags.
      Returns:
      the jobTags value.
    • getWorkerId

      public String getWorkerId()
      Get the workerId property: Router Worker events Worker Id.
      Overrides:
      getWorkerId in class AcsRouterWorkerEventData
      Returns:
      the workerId value.
    • getChannelId

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

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

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

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