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
Schema of common properties of all chat thread events.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsChatThreadEventBaseProperties class. -
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.setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier) Set the recipientCommunicationIdentifier property: The communication identifier of the target user.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.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, getThreadId, getTransactionId
-
Constructor Details
-
AcsChatThreadEventBaseProperties
public AcsChatThreadEventBaseProperties()Creates an instance of AcsChatThreadEventBaseProperties class.
-
-
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 AcsChatThreadEventBaseProperties 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 AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatThreadEventBaseProperties setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier) Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifierin classAcsChatEventBaseProperties- Parameters:
recipientCommunicationIdentifier- the recipientCommunicationIdentifier value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setTransactionId
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionIdin classAcsChatEventBaseProperties- Parameters:
transactionId- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadIdin classAcsChatEventBaseProperties- Parameters:
threadId- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-