Class AcsChatThreadPropertiesUpdatedEventData

All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>

public final class AcsChatThreadPropertiesUpdatedEventData extends AcsChatThreadEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event.
  • Method Details

    • getEditedByCommunicationIdentifier

      public CommunicationIdentifierModel getEditedByCommunicationIdentifier()
      Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.
      Returns:
      the editedByCommunicationIdentifier value.
    • getEditTime

      public OffsetDateTime getEditTime()
      Get the editTime property: The time at which the properties of the thread were updated.
      Returns:
      the editTime value.
    • getProperties

      public Map<String,com.azure.core.util.BinaryData> getProperties()
      Get the properties property: The updated thread properties.
      Returns:
      the properties value.
    • getMetadata

      public Map<String,String> getMetadata()
      Get the metadata property: The thread metadata.
      Returns:
      the metadata value.
    • getVersion

      public Long getVersion()
      Get the version property: The version of the thread.
      Overrides:
      getVersion in class AcsChatThreadEventInThreadBaseProperties
      Returns:
      the version value.
    • getThreadId

      public String getThreadId()
      Get the threadId property: The chat thread id.
      Overrides:
      getThreadId in class AcsChatThreadEventInThreadBaseProperties
      Returns:
      the threadId value.
    • getTransactionId

      public String getTransactionId()
      Get the transactionId property: The transaction id will be used as co-relation vector.
      Overrides:
      getTransactionId in class AcsChatThreadEventInThreadBaseProperties
      Returns:
      the transactionId 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>
      Overrides:
      toJson in class AcsChatThreadEventInThreadBaseProperties
      Throws:
      IOException
    • fromJson

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