Class AcsRouterWorkerOfferDeclinedEventData

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

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

    • getQueueId

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

      public String getOfferId()
      Get the offerId property: Router Worker Offer Declined Offer Id.
      Returns:
      the offerId 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 AcsRouterWorkerOfferDeclinedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsRouterWorkerOfferDeclinedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsRouterWorkerOfferDeclinedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AcsRouterWorkerOfferDeclinedEventData.