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 Summary
ConstructorsConstructorDescriptionCreates an instance of AcsChatParticipantAddedToThreadEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.Get the participantAdded property: The details of the user who was added.getTime()Get the time property: The time at which the user was added to the thread.Get the version property: The version of the thread.setAddedByCommunicationIdentifier(CommunicationIdentifierModel addedByCommunicationIdentifier) Set the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.setParticipantAdded(AcsChatThreadParticipantProperties participantAdded) Set the participantAdded property: The details of the user who was added.setThreadId(String threadId) Set the threadId property: The chat thread id.setTime(OffsetDateTime time) Set the time property: The time at which the user was added to the thread.setTransactionId(String transactionId) Set the transactionId property: The transaction id will be used as co-relation vector.setVersion(Long version) Set the version property: The version of the thread.Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
Constructor Details
-
AcsChatParticipantAddedToThreadEventData
public AcsChatParticipantAddedToThreadEventData()Creates an instance of AcsChatParticipantAddedToThreadEventData class.
-
-
Method Details
-
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
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
Get the participantAdded property: The details of the user who was added.- Returns:
- the participantAdded value.
-
setParticipantAdded
public AcsChatParticipantAddedToThreadEventData setParticipantAdded(AcsChatThreadParticipantProperties participantAdded) 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
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 AcsChatParticipantAddedToThreadEventData object itself.
-
setTransactionId
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionIdin classAcsChatEventInThreadBaseProperties- Parameters:
transactionId- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadIdin classAcsChatEventInThreadBaseProperties- Parameters:
threadId- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-