Class AcsChatParticipantRemovedFromThreadEventData

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

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

    • AcsChatParticipantRemovedFromThreadEventData

      public AcsChatParticipantRemovedFromThreadEventData()
  • Method Details

    • getTime

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

      Set the time property: The time at which the user was removed to the thread.
      Parameters:
      time - the time value to set.
      Returns:
      the AcsChatParticipantRemovedFromThreadEventData object itself.
    • getRemovedByCommunicationIdentifier

      public CommunicationIdentifierModel getRemovedByCommunicationIdentifier()
      Get the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.
      Returns:
      the removedByCommunicationIdentifier value.
    • setRemovedByCommunicationIdentifier

      public AcsChatParticipantRemovedFromThreadEventData setRemovedByCommunicationIdentifier(CommunicationIdentifierModel removedByCommunicationIdentifier)
      Set the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.
      Parameters:
      removedByCommunicationIdentifier - the removedByCommunicationIdentifier value to set.
      Returns:
      the AcsChatParticipantRemovedFromThreadEventData object itself.
    • getParticipantRemoved

      public AcsChatThreadParticipantProperties getParticipantRemoved()
      Get the participantRemoved property: The details of the user who was removed.
      Returns:
      the participantRemoved value.
    • setParticipantRemoved

      public AcsChatParticipantRemovedFromThreadEventData setParticipantRemoved(AcsChatThreadParticipantProperties participantRemoved)
      Set the participantRemoved property: The details of the user who was removed.
      Parameters:
      participantRemoved - the participantRemoved value to set.
      Returns:
      the AcsChatParticipantRemovedFromThreadEventData object itself.
    • getVersion

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

      Set the version property: The version of the thread.
      Parameters:
      version - the version value to set.
      Returns:
      the AcsChatParticipantRemovedFromThreadEventData object itself.
    • setTransactionId

      public AcsChatParticipantRemovedFromThreadEventData 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

      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.