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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterWorkerUpdatedEventData from the JsonReader.Get the channelConfigurations property: Router Worker Updated Channel Configuration.Get the labels property: Router Worker Updated Labels.Get the queueAssignments property: Router Worker Updated Queue Info.getTags()Get the tags property: Router Worker Updated Tags.Get the totalCapacity property: Router Worker Updated Total Capacity.Get the updatedWorkerProperties property: Router Worker Properties Updated.Get the workerId property: Router Worker Updated Worker Id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getWorkerId
Get the workerId property: Router Worker Updated Worker Id.- Returns:
- the workerId value.
-
getQueueAssignments
Get the queueAssignments property: Router Worker Updated Queue Info.- Returns:
- the queueAssignments value.
-
getChannelConfigurations
Get the channelConfigurations property: Router Worker Updated Channel Configuration.- Returns:
- the channelConfigurations value.
-
getTotalCapacity
Get the totalCapacity property: Router Worker Updated Total Capacity.- Returns:
- the totalCapacity value.
-
getLabels
Get the labels property: Router Worker Updated Labels.- Returns:
- the labels value.
-
getTags
Get the tags property: Router Worker Updated Tags.- Returns:
- the tags value.
-
getUpdatedWorkerProperties
Get the updatedWorkerProperties property: Router Worker Properties Updated.- Returns:
- the updatedWorkerProperties value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-