Class AcsChatThreadEventInThreadBaseProperties
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventInThreadBaseProperties
- Direct Known Subclasses:
AcsChatThreadCreatedEventData
,AcsChatThreadDeletedEventData
,AcsChatThreadPropertiesUpdatedEventData
Schema of common properties of all chat thread events.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createTime property: The original creation time of the thread.Get the version property: The version of the thread.setCreateTime
(OffsetDateTime createTime) Set the createTime property: The original creation time of the thread.setThreadId
(String threadId) Set the threadId property: The chat thread id.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
-
AcsChatThreadEventInThreadBaseProperties
public AcsChatThreadEventInThreadBaseProperties()
-
-
Method Details
-
getCreateTime
Get the createTime property: The original creation time of the thread.- Returns:
- the createTime value.
-
setCreateTime
Set the createTime property: The original creation time of the thread.- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties 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 AcsChatThreadEventInThreadBaseProperties object itself.
-
setTransactionId
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatEventInThreadBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatEventInThreadBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-