Class AcsChatThreadEventBaseProperties
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
-
- Direct Known Subclasses:
AcsChatMemberAddedToThreadWithUserEventData
,AcsChatMemberRemovedFromThreadWithUserEventData
,AcsChatParticipantAddedToThreadWithUserEventData
,AcsChatParticipantRemovedFromThreadWithUserEventData
,AcsChatThreadCreatedWithUserEventData
,AcsChatThreadPropertiesUpdatedPerUserEventData
,AcsChatThreadWithUserDeletedEventData
public class AcsChatThreadEventBaseProperties extends AcsChatEventBaseProperties
Schema of common properties of all chat thread events.
-
-
Constructor Summary
Constructors Constructor Description AcsChatThreadEventBaseProperties()
-
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.AcsChatThreadEventBaseProperties
setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.AcsChatThreadEventBaseProperties
setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.AcsChatThreadEventBaseProperties
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatThreadEventBaseProperties
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatThreadEventBaseProperties
setVersion(Long version)
Set the version property: The version of the thread.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, 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 AcsChatThreadEventBaseProperties setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
getVersion
public Long getVersion()
Get the version property: The version of the thread.- Returns:
- the version value.
-
setVersion
public AcsChatThreadEventBaseProperties setVersion(Long version)
Set the version property: The version of the thread.- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatThreadEventBaseProperties setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifier
in classAcsChatEventBaseProperties
- Parameters:
recipientCommunicationIdentifier
- the recipientCommunicationIdentifier value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setTransactionId
public AcsChatThreadEventBaseProperties setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatEventBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
public AcsChatThreadEventBaseProperties setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatEventBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
-