Class AcsChatParticipantAddedToThreadWithUserEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatParticipantAddedToThreadWithUserEventData
public final class AcsChatParticipantAddedToThreadWithUserEventData
extends AcsChatThreadEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser
event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsChatParticipantAddedToThreadWithUserEventData 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.setAddedByCommunicationIdentifier(CommunicationIdentifierModel addedByCommunicationIdentifier) Set the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.setCreateTime(OffsetDateTime createTime) Set the createTime property: The original creation time of the thread.setParticipantAdded(AcsChatThreadParticipantProperties participantAdded) Set the participantAdded property: The details of the user who was added.setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier) Set the recipientCommunicationIdentifier property: The communication identifier of the target user.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.AcsChatThreadEventBaseProperties
getCreateTime, getVersionMethods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, getThreadId, getTransactionId
-
Constructor Details
-
AcsChatParticipantAddedToThreadWithUserEventData
public AcsChatParticipantAddedToThreadWithUserEventData()Creates an instance of AcsChatParticipantAddedToThreadWithUserEventData 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 AcsChatParticipantAddedToThreadWithUserEventData object itself.
-
getAddedByCommunicationIdentifier
Get the addedByCommunicationIdentifier property: The communication identifier of the user who added the user.- Returns:
- the addedByCommunicationIdentifier value.
-
setAddedByCommunicationIdentifier
public AcsChatParticipantAddedToThreadWithUserEventData 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 AcsChatParticipantAddedToThreadWithUserEventData object itself.
-
getParticipantAdded
Get the participantAdded property: The details of the user who was added.- Returns:
- the participantAdded value.
-
setParticipantAdded
public AcsChatParticipantAddedToThreadWithUserEventData setParticipantAdded(AcsChatThreadParticipantProperties participantAdded) Set the participantAdded property: The details of the user who was added.- Parameters:
participantAdded- the participantAdded value to set.- Returns:
- the AcsChatParticipantAddedToThreadWithUserEventData object itself.
-
setCreateTime
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTimein classAcsChatThreadEventBaseProperties- Parameters:
createTime- the createTime value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setVersion
Set the version property: The version of the thread.- Overrides:
setVersionin classAcsChatThreadEventBaseProperties- Parameters:
version- the version value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatParticipantAddedToThreadWithUserEventData setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier) Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifierin classAcsChatThreadEventBaseProperties- Parameters:
recipientCommunicationIdentifier- the recipientCommunicationIdentifier value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setTransactionId
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionIdin classAcsChatThreadEventBaseProperties- Parameters:
transactionId- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadIdin classAcsChatThreadEventBaseProperties- Parameters:
threadId- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-