Class AcsRouterJobSchedulingFailedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobSchedulingFailedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterJobSchedulingFailedEventData 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 Scheduling Failed Attached Worker Selector Expired.Get the expiredRequestedWorkerSelectors property: Router Job Scheduling Failed Requested Worker Selector Expired.Get the failureReason property: Router Job Scheduling Failed Reason.getJobId()Get the jobId property: Router Event Job ID.Get the priority property: Router Job Priority.Get the queueId property: Router Job events Queue Id.Get the scheduledOn property: Router Job Scheduling Failed Scheduled Time in UTC.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
-
getPriority
Get the priority property: Router Job Priority.- Returns:
- the priority value.
-
getExpiredAttachedWorkerSelectors
Get the expiredAttachedWorkerSelectors property: Router Job Scheduling Failed Attached Worker Selector Expired.- Returns:
- the expiredAttachedWorkerSelectors value.
-
getExpiredRequestedWorkerSelectors
Get the expiredRequestedWorkerSelectors property: Router Job Scheduling Failed Requested Worker Selector Expired.- Returns:
- the expiredRequestedWorkerSelectors value.
-
getScheduledOn
Get the scheduledOn property: Router Job Scheduling Failed Scheduled Time in UTC.- Returns:
- the scheduledOn value.
-
getFailureReason
Get the failureReason property: Router Job Scheduling Failed Reason.- Returns:
- the failureReason 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 AcsRouterJobSchedulingFailedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterJobSchedulingFailedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterJobSchedulingFailedEventData 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 AcsRouterJobSchedulingFailedEventData.
-