Class AcsChatEventInThreadBaseProperties

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>
Direct Known Subclasses:
AcsChatMessageEventInThreadBaseProperties, AcsChatParticipantAddedToThreadEventData, AcsChatParticipantRemovedFromThreadEventData, AcsChatThreadEventInThreadBaseProperties

public class AcsChatEventInThreadBaseProperties extends Object implements com.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>
Schema of common properties of all thread-level chat events.
  • Constructor Details

    • AcsChatEventInThreadBaseProperties

      protected AcsChatEventInThreadBaseProperties()
      Creates an instance of AcsChatEventInThreadBaseProperties class.
  • Method Details

    • getTransactionId

      public String getTransactionId()
      Get the transactionId property: The transaction id will be used as co-relation vector.
      Returns:
      the transactionId value.
    • getThreadId

      public String getThreadId()
      Get the threadId property: The chat thread id.
      Returns:
      the threadId value.
    • toJson

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

      public static AcsChatEventInThreadBaseProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsChatEventInThreadBaseProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsChatEventInThreadBaseProperties 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 AcsChatEventInThreadBaseProperties.