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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates an instance of AcsRouterEventData class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(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.
    Get the jobId property: Router Event Job ID.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public String getJobId()
      Get the jobId property: Router Event Job ID.
      Returns:
      the jobId value.
    • getChannelReference

      public String getChannelReference()
      Get the channelReference property: Router Event Channel Reference.
      Returns:
      the channelReference value.
    • getChannelId

      public String getChannelId()
      Get the channelId property: Router Event Channel ID.
      Returns:
      the channelId value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsRouterEventData>
      Throws:
      IOException
    • fromJson

      public static AcsRouterEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.