Class AcsChatThreadEventBaseProperties

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
Direct Known Subclasses:
AcsChatMemberAddedToThreadWithUserEventData, AcsChatMemberRemovedFromThreadWithUserEventData, AcsChatParticipantAddedToThreadWithUserEventData, AcsChatParticipantRemovedFromThreadWithUserEventData, AcsChatThreadCreatedWithUserEventData, AcsChatThreadPropertiesUpdatedPerUserEventData, AcsChatThreadWithUserDeletedEventData

public class AcsChatThreadEventBaseProperties extends AcsChatEventBaseProperties
Schema of common properties of all chat thread events.
  • Constructor Details

    • AcsChatThreadEventBaseProperties

      public AcsChatThreadEventBaseProperties()
  • Method Details

    • getCreateTime

      public OffsetDateTime getCreateTime()
      Get the createTime property: The original creation time of the thread.
      Returns:
      the createTime value.
    • setCreateTime

      public AcsChatThreadEventBaseProperties setCreateTime(OffsetDateTime createTime)
      Set the createTime property: The original creation time of the thread.
      Parameters:
      createTime - the createTime value to set.
      Returns:
      the AcsChatThreadEventBaseProperties object itself.
    • getVersion

      public Long getVersion()
      Get the version property: The version of the thread.
      Returns:
      the version value.
    • setVersion

      public AcsChatThreadEventBaseProperties setVersion(Long version)
      Set the version property: The version of the thread.
      Parameters:
      version - the version value to set.
      Returns:
      the AcsChatThreadEventBaseProperties object itself.
    • setRecipientCommunicationIdentifier

      public AcsChatThreadEventBaseProperties setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
      Set the recipientCommunicationIdentifier property: The communication identifier of the target user.
      Overrides:
      setRecipientCommunicationIdentifier in class AcsChatEventBaseProperties
      Parameters:
      recipientCommunicationIdentifier - the recipientCommunicationIdentifier value to set.
      Returns:
      the AcsChatEventBaseProperties object itself.
    • setTransactionId

      public AcsChatThreadEventBaseProperties setTransactionId(String transactionId)
      Set the transactionId property: The transaction id will be used as co-relation vector.
      Overrides:
      setTransactionId in class AcsChatEventBaseProperties
      Parameters:
      transactionId - the transactionId value to set.
      Returns:
      the AcsChatEventBaseProperties object itself.
    • setThreadId

      public AcsChatThreadEventBaseProperties setThreadId(String threadId)
      Set the threadId property: The chat thread id.
      Overrides:
      setThreadId in class AcsChatEventBaseProperties
      Parameters:
      threadId - the threadId value to set.
      Returns:
      the AcsChatEventBaseProperties object itself.