Class AcsRouterWorkerOfferIssuedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerOfferIssuedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterWorkerOfferIssuedEventData from the JsonReader.Get the channelId property: Router Event Channel ID.Get the channelReference property: Router Event Channel Reference.Get the expiresOn property: Router Worker Offer Issued Expiration Time in UTC.getJobId()Get the jobId property: Router Event Job ID.Get the jobLabels property: Router Worker Offer Issued Job Labels.Get the jobPriority property: Router Worker Offer Issued Job Priority.Get the jobTags property: Router Worker Offer Issued Job Tags.Get the offeredOn property: Router Worker Offer Issued Time in UTC.Get the offerId property: Router Worker Offer Issued Offer Id.Get the queueId property: Router Worker Offer Issued Queue Id.Get the workerId property: Router Worker events Worker Id.Get the workerLabels property: Router Worker Offer Issued Worker Labels.Get the workerTags property: Router Worker Offer Issued 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 Issued Queue Id.- Returns:
- the queueId value.
-
getOfferId
Get the offerId property: Router Worker Offer Issued Offer Id.- Returns:
- the offerId value.
-
getJobPriority
Get the jobPriority property: Router Worker Offer Issued Job Priority.- Returns:
- the jobPriority value.
-
getWorkerLabels
Get the workerLabels property: Router Worker Offer Issued Worker Labels.- Returns:
- the workerLabels value.
-
getOfferedOn
Get the offeredOn property: Router Worker Offer Issued Time in UTC.- Returns:
- the offeredOn value.
-
getExpiresOn
Get the expiresOn property: Router Worker Offer Issued Expiration Time in UTC.- Returns:
- the expiresOn value.
-
getWorkerTags
Get the workerTags property: Router Worker Offer Issued Worker Tags.- Returns:
- the workerTags value.
-
getJobLabels
Get the jobLabels property: Router Worker Offer Issued Job Labels.- Returns:
- the jobLabels value.
-
getJobTags
Get the jobTags property: Router Worker Offer Issued 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 AcsRouterWorkerOfferIssuedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterWorkerOfferIssuedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterWorkerOfferIssuedEventData 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 AcsRouterWorkerOfferIssuedEventData.
-