Class AcsRouterJobCompletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobCompletedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCompleted event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterJobCompletedEventData from the JsonReader.Get the assignmentId property: Router Job Completed Assignment Id.Get the channelId property: Router Event Channel ID.Get the channelReference property: Router Event Channel Reference.getJobId()Get the jobId property: Router Event Job ID.Get the queueId property: Router Job events Queue Id.Get the workerId property: Router Job Completed Worker Id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
getLabels, getTagsMethods 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
-
getAssignmentId
Get the assignmentId property: Router Job Completed Assignment Id.- Returns:
- the assignmentId value.
-
getWorkerId
Get the workerId property: Router Job Completed Worker Id.- Returns:
- the workerId value.
-
getQueueId
Get the queueId property: Router Job events Queue Id.- Overrides:
getQueueIdin classAcsRouterJobEventData- Returns:
- the queueId value.
-
getChannelId
Get the channelId property: Router Event Channel ID.- Overrides:
getChannelIdin classAcsRouterJobEventData- Returns:
- the channelId value.
-
getChannelReference
Get the channelReference property: Router Event Channel Reference.- Overrides:
getChannelReferencein classAcsRouterJobEventData- Returns:
- the channelReference value.
-
getJobId
Get the jobId property: Router Event Job ID.- Overrides:
getJobIdin classAcsRouterJobEventData- Returns:
- the jobId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsRouterEventData>- Overrides:
toJsonin classAcsRouterJobEventData- Throws:
IOException
-
fromJson
public static AcsRouterJobCompletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterJobCompletedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterJobCompletedEventData 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 AcsRouterJobCompletedEventData.
-