Class AcsChatParticipantAddedToThreadEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatParticipantAddedToThreadEventData

public final class AcsChatParticipantAddedToThreadEventData extends AcsChatEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event.
  • Constructor Details

    • AcsChatParticipantAddedToThreadEventData

      public AcsChatParticipantAddedToThreadEventData()
  • Method Details

    • getTime

      public OffsetDateTime getTime()
      Get the time property: The time at which the user was added to the thread.
      Returns:
      the time value.
    • setTime

      Set the time property: The time at which the user was added to the thread.
      Parameters:
      time - the time value to set.
      Returns:
      the AcsChatParticipantAddedToThreadEventData object itself.
    • getAddedByCommunicationIdentifier

      public CommunicationIdentifierModel getAddedByCommunicationIdentifier()
      Get the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.
      Returns:
      the addedByCommunicationIdentifier value.
    • setAddedByCommunicationIdentifier

      public AcsChatParticipantAddedToThreadEventData setAddedByCommunicationIdentifier(CommunicationIdentifierModel addedByCommunicationIdentifier)
      Set the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.
      Parameters:
      addedByCommunicationIdentifier - the addedByCommunicationIdentifier value to set.
      Returns:
      the AcsChatParticipantAddedToThreadEventData object itself.
    • getParticipantAdded

      public AcsChatThreadParticipantProperties getParticipantAdded()
      Get the participantAdded property: The details of the user who was added.
      Returns:
      the participantAdded value.
    • setParticipantAdded

      Set the participantAdded property: The details of the user who was added.
      Parameters:
      participantAdded - the participantAdded value to set.
      Returns:
      the AcsChatParticipantAddedToThreadEventData object itself.
    • getVersion

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

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

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

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