Class AcsChatParticipantRemovedFromThreadWithUserEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatParticipantRemovedFromThreadWithUserEventData
-
public final class AcsChatParticipantRemovedFromThreadWithUserEventData extends AcsChatThreadEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.
-
-
Constructor Summary
Constructors Constructor Description AcsChatParticipantRemovedFromThreadWithUserEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcsChatThreadParticipantProperties
getParticipantRemoved()
Get the participantRemoved property: The details of the user who was removed.CommunicationIdentifierModel
getRemovedByCommunicationIdentifier()
Get the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.OffsetDateTime
getTime()
Get the time property: The time at which the user was removed to the thread.AcsChatParticipantRemovedFromThreadWithUserEventData
setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.AcsChatParticipantRemovedFromThreadWithUserEventData
setParticipantRemoved(AcsChatThreadParticipantProperties participantRemoved)
Set the participantRemoved property: The details of the user who was removed.AcsChatParticipantRemovedFromThreadWithUserEventData
setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.AcsChatParticipantRemovedFromThreadWithUserEventData
setRemovedByCommunicationIdentifier(CommunicationIdentifierModel removedByCommunicationIdentifier)
Set the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.AcsChatParticipantRemovedFromThreadWithUserEventData
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatParticipantRemovedFromThreadWithUserEventData
setTime(OffsetDateTime time)
Set the time property: The time at which the user was removed to the thread.AcsChatParticipantRemovedFromThreadWithUserEventData
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatParticipantRemovedFromThreadWithUserEventData
setVersion(Long version)
Set the version property: The version of the thread.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
getCreateTime, getVersion
-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, getThreadId, getTransactionId
-
-
-
-
Method Detail
-
getTime
public OffsetDateTime getTime()
Get the time property: The time at which the user was removed to the thread.- Returns:
- the time value.
-
setTime
public AcsChatParticipantRemovedFromThreadWithUserEventData setTime(OffsetDateTime time)
Set the time property: The time at which the user was removed to the thread.- Parameters:
time
- the time value to set.- Returns:
- the AcsChatParticipantRemovedFromThreadWithUserEventData 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 AcsChatParticipantRemovedFromThreadWithUserEventData 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 AcsChatParticipantRemovedFromThreadWithUserEventData object itself.
-
getParticipantRemoved
public AcsChatThreadParticipantProperties getParticipantRemoved()
Get the participantRemoved property: The details of the user who was removed.- Returns:
- the participantRemoved value.
-
setParticipantRemoved
public AcsChatParticipantRemovedFromThreadWithUserEventData setParticipantRemoved(AcsChatThreadParticipantProperties participantRemoved)
Set the participantRemoved property: The details of the user who was removed.- Parameters:
participantRemoved
- the participantRemoved value to set.- Returns:
- the AcsChatParticipantRemovedFromThreadWithUserEventData object itself.
-
setCreateTime
public AcsChatParticipantRemovedFromThreadWithUserEventData setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTime
in classAcsChatThreadEventBaseProperties
- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setVersion
public AcsChatParticipantRemovedFromThreadWithUserEventData setVersion(Long version)
Set the version property: The version of the thread.- Overrides:
setVersion
in classAcsChatThreadEventBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatParticipantRemovedFromThreadWithUserEventData setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifier
in classAcsChatThreadEventBaseProperties
- Parameters:
recipientCommunicationIdentifier
- the recipientCommunicationIdentifier value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setTransactionId
public AcsChatParticipantRemovedFromThreadWithUserEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatThreadEventBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
public AcsChatParticipantRemovedFromThreadWithUserEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatThreadEventBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
-