Class AcsRouterWorkerOfferAcceptedEventData

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

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

    • getQueueId

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

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

      public String getAssignmentId()
      Get the assignmentId property: Router Worker Offer Accepted Assignment Id.
      Returns:
      the assignmentId value.
    • getJobPriority

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

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

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

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

      public Map<String,String> getJobTags()
      Get the jobTags property: Router Worker Offer Accepted 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 AcsRouterWorkerOfferAcceptedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsRouterWorkerOfferAcceptedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsRouterWorkerOfferAcceptedEventData 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 AcsRouterWorkerOfferAcceptedEventData.