Class AcsRouterEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterEventData>
- Direct Known Subclasses:
AcsRouterJobEventData,AcsRouterWorkerEventData
public class AcsRouterEventData
extends Object
implements com.azure.json.JsonSerializable<AcsRouterEventData>
Schema of common properties of all Router events.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an instance of AcsRouterEventData class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AcsRouterEventDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterEventData 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.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
-
AcsRouterEventData
protected AcsRouterEventData()Creates an instance of AcsRouterEventData class.
-
-
Method Details
-
getJobId
Get the jobId property: Router Event Job ID.- Returns:
- the jobId value.
-
getChannelReference
Get the channelReference property: Router Event Channel Reference.- Returns:
- the channelReference value.
-
getChannelId
Get the channelId property: Router Event Channel ID.- Returns:
- the channelId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsRouterEventData>- Throws:
IOException
-
fromJson
Reads an instance of AcsRouterEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AcsRouterEventData.
-