Class AcsRouterWorkerUpdatedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerUpdatedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterWorkerUpdatedEventData>

public final class AcsRouterWorkerUpdatedEventData extends Object implements com.azure.json.JsonSerializable<AcsRouterWorkerUpdatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerUpdated event.
  • Method Details

    • getWorkerId

      public String getWorkerId()
      Get the workerId property: Router Worker Updated Worker Id.
      Returns:
      the workerId value.
    • getQueueAssignments

      public List<AcsRouterQueueDetails> getQueueAssignments()
      Get the queueAssignments property: Router Worker Updated Queue Info.
      Returns:
      the queueAssignments value.
    • getChannelConfigurations

      public List<AcsRouterChannelConfiguration> getChannelConfigurations()
      Get the channelConfigurations property: Router Worker Updated Channel Configuration.
      Returns:
      the channelConfigurations value.
    • getTotalCapacity

      public Integer getTotalCapacity()
      Get the totalCapacity property: Router Worker Updated Total Capacity.
      Returns:
      the totalCapacity value.
    • getLabels

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

      public Map<String,String> getTags()
      Get the tags property: Router Worker Updated Tags.
      Returns:
      the tags value.
    • getUpdatedWorkerProperties

      public List<AcsRouterUpdatedWorkerProperty> getUpdatedWorkerProperties()
      Get the updatedWorkerProperties property: Router Worker Properties Updated.
      Returns:
      the updatedWorkerProperties value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsRouterWorkerUpdatedEventData>
      Throws:
      IOException
    • fromJson

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