Class AcsRouterWorkerOfferAcceptedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerOfferAcceptedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferAccepted event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterWorkerOfferAcceptedEventData from the JsonReader.Get the assignmentId property: Router Worker Offer Accepted 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 jobLabels property: Router Worker Offer Accepted Job Labels.Get the jobPriority property: Router Worker Offer Accepted Job Priority.Get the jobTags property: Router Worker Offer Accepted Job Tags.Get the offerId property: Router Worker Offer Accepted Offer Id.Get the queueId property: Router Worker Offer Accepted Queue Id.Get the workerId property: Router Worker events Worker Id.Get the workerLabels property: Router Worker Offer Accepted Worker Labels.Get the workerTags property: Router Worker Offer Accepted Worker Tags.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
-
getQueueId
Get the queueId property: Router Worker Offer Accepted Queue Id.- Returns:
- the queueId value.
-
getOfferId
Get the offerId property: Router Worker Offer Accepted Offer Id.- Returns:
- the offerId value.
-
getAssignmentId
Get the assignmentId property: Router Worker Offer Accepted Assignment Id.- Returns:
- the assignmentId value.
-
getJobPriority
Get the jobPriority property: Router Worker Offer Accepted Job Priority.- Returns:
- the jobPriority value.
-
getWorkerLabels
Get the workerLabels property: Router Worker Offer Accepted Worker Labels.- Returns:
- the workerLabels value.
-
getWorkerTags
Get the workerTags property: Router Worker Offer Accepted Worker Tags.- Returns:
- the workerTags value.
-
getJobLabels
Get the jobLabels property: Router Worker Offer Accepted Job Labels.- Returns:
- the jobLabels value.
-
getJobTags
Get the jobTags property: Router Worker Offer Accepted Job Tags.- Returns:
- the jobTags value.
-
getWorkerId
Get the workerId property: Router Worker events Worker Id.- Overrides:
getWorkerIdin classAcsRouterWorkerEventData- Returns:
- the workerId value.
-
getChannelId
Get the channelId property: Router Event Channel ID.- Overrides:
getChannelIdin classAcsRouterWorkerEventData- Returns:
- the channelId value.
-
getChannelReference
Get the channelReference property: Router Event Channel Reference.- Overrides:
getChannelReferencein classAcsRouterWorkerEventData- Returns:
- the channelReference value.
-
getJobId
Get the jobId property: Router Event Job ID.- Overrides:
getJobIdin classAcsRouterWorkerEventData- Returns:
- the jobId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsRouterEventData>- Overrides:
toJsonin classAcsRouterWorkerEventData- 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.
-