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