Class AcsRouterJobWorkerSelectorsExpiredEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobWorkerSelectorsExpiredEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterJobWorkerSelectorsExpiredEventData from the JsonReader.Get the channelId property: Router Event Channel ID.Get the channelReference property: Router Event Channel Reference.Get the expiredAttachedWorkerSelectors property: Router Job Worker Selectors Expired Attached Worker Selectors.Get the expiredRequestedWorkerSelectors property: Router Job Worker Selectors Expired Requested Worker Selectors.getJobId()Get the jobId property: Router Event Job ID.Get the queueId property: Router Job events Queue 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
-
getExpiredRequestedWorkerSelectors
Get the expiredRequestedWorkerSelectors property: Router Job Worker Selectors Expired Requested Worker Selectors.- Returns:
- the expiredRequestedWorkerSelectors value.
-
getExpiredAttachedWorkerSelectors
Get the expiredAttachedWorkerSelectors property: Router Job Worker Selectors Expired Attached Worker Selectors.- Returns:
- the expiredAttachedWorkerSelectors 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 AcsRouterJobWorkerSelectorsExpiredEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterJobWorkerSelectorsExpiredEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterJobWorkerSelectorsExpiredEventData 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 AcsRouterJobWorkerSelectorsExpiredEventData.
-