Class AcsRouterJobEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
com.azure.messaging.eventgrid.systemevents.AcsRouterJobEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
- Direct Known Subclasses:
AcsRouterJobCancelledEventData,AcsRouterJobClassificationFailedEventData,AcsRouterJobClassifiedEventData,AcsRouterJobClosedEventData,AcsRouterJobCompletedEventData,AcsRouterJobDeletedEventData,AcsRouterJobExceptionTriggeredEventData,AcsRouterJobQueuedEventData,AcsRouterJobReceivedEventData,AcsRouterJobSchedulingFailedEventData,AcsRouterJobUnassignedEventData,AcsRouterJobWaitingForActivationEventData,AcsRouterJobWorkerSelectorsExpiredEventData
Schema of common properties of all Router Job events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AcsRouterJobEventDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterJobEventData from the JsonReader.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 labels property: Router Job events Labels.Get the queueId property: Router Job events Queue Id.getTags()Get the tags property: Router Jobs events 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
-
Constructor Details
-
AcsRouterJobEventData
Creates an instance of AcsRouterJobEventData class.- Parameters:
labels- the labels value to set.tags- the tags value to set.
-
-
Method Details
-
getQueueId
Get the queueId property: Router Job events Queue Id.- Returns:
- the queueId value.
-
getLabels
Get the labels property: Router Job events Labels.- Returns:
- the labels value.
-
getTags
Get the tags property: Router Jobs events Tags.- Returns:
- the tags value.
-
getChannelId
Get the channelId property: Router Event Channel ID.- Overrides:
getChannelIdin classAcsRouterEventData- Returns:
- the channelId value.
-
getChannelReference
Get the channelReference property: Router Event Channel Reference.- Overrides:
getChannelReferencein classAcsRouterEventData- Returns:
- the channelReference value.
-
getJobId
Get the jobId property: Router Event Job ID.- Overrides:
getJobIdin classAcsRouterEventData- Returns:
- the jobId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsRouterEventData>- Overrides:
toJsonin classAcsRouterEventData- Throws:
IOException
-
fromJson
public static AcsRouterJobEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterJobEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterJobEventData 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 AcsRouterJobEventData.
-