Class AcsChatThreadDeletedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventInThreadBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadDeletedEventData
-
public final class AcsChatThreadDeletedEventData extends AcsChatThreadEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadDeleted event.
-
-
Constructor Summary
Constructors Constructor Description AcsChatThreadDeletedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationIdentifierModel
getDeletedByCommunicationIdentifier()
Get the deletedByCommunicationIdentifier property: The communication identifier of the user who deleted the thread.OffsetDateTime
getDeleteTime()
Get the deleteTime property: The deletion time of the thread.AcsChatThreadDeletedEventData
setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.AcsChatThreadDeletedEventData
setDeletedByCommunicationIdentifier(CommunicationIdentifierModel deletedByCommunicationIdentifier)
Set the deletedByCommunicationIdentifier property: The communication identifier of the user who deleted the thread.AcsChatThreadDeletedEventData
setDeleteTime(OffsetDateTime deleteTime)
Set the deleteTime property: The deletion time of the thread.AcsChatThreadDeletedEventData
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatThreadDeletedEventData
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatThreadDeletedEventData
setVersion(Long version)
Set the version property: The version of the thread.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventInThreadBaseProperties
getCreateTime, getVersion
-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
-
-
-
Method Detail
-
getDeletedByCommunicationIdentifier
public CommunicationIdentifierModel getDeletedByCommunicationIdentifier()
Get the deletedByCommunicationIdentifier property: The communication identifier of the user who deleted the thread.- Returns:
- the deletedByCommunicationIdentifier value.
-
setDeletedByCommunicationIdentifier
public AcsChatThreadDeletedEventData setDeletedByCommunicationIdentifier(CommunicationIdentifierModel deletedByCommunicationIdentifier)
Set the deletedByCommunicationIdentifier property: The communication identifier of the user who deleted the thread.- Parameters:
deletedByCommunicationIdentifier
- the deletedByCommunicationIdentifier value to set.- Returns:
- the AcsChatThreadDeletedEventData object itself.
-
getDeleteTime
public OffsetDateTime getDeleteTime()
Get the deleteTime property: The deletion time of the thread.- Returns:
- the deleteTime value.
-
setDeleteTime
public AcsChatThreadDeletedEventData setDeleteTime(OffsetDateTime deleteTime)
Set the deleteTime property: The deletion time of the thread.- Parameters:
deleteTime
- the deleteTime value to set.- Returns:
- the AcsChatThreadDeletedEventData object itself.
-
setCreateTime
public AcsChatThreadDeletedEventData setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTime
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties object itself.
-
setVersion
public AcsChatThreadDeletedEventData setVersion(Long version)
Set the version property: The version of the thread.- Overrides:
setVersion
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties object itself.
-
setTransactionId
public AcsChatThreadDeletedEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
public AcsChatThreadDeletedEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
-