Class AcsChatThreadPropertiesUpdatedPerUserEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadPropertiesUpdatedPerUserEventData
public final class AcsChatThreadPropertiesUpdatedPerUserEventData
extends AcsChatThreadEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser
event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.Get the editTime property: The time at which the properties of the thread were updated.Get the properties property: The updated thread properties.setCreateTime
(OffsetDateTime createTime) Set the createTime property: The original creation time of the thread.setEditedByCommunicationIdentifier
(CommunicationIdentifierModel editedByCommunicationIdentifier) Set the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.setEditTime
(OffsetDateTime editTime) Set the editTime property: The time at which the properties of the thread were updated.setProperties
(Map<String, Object> properties) Set the properties property: The updated thread properties.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.AcsChatThreadEventBaseProperties
getCreateTime, getVersion
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, getThreadId, getTransactionId
-
Constructor Details
-
AcsChatThreadPropertiesUpdatedPerUserEventData
public AcsChatThreadPropertiesUpdatedPerUserEventData()
-
-
Method Details
-
getEditedByCommunicationIdentifier
Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.- Returns:
- the editedByCommunicationIdentifier value.
-
setEditedByCommunicationIdentifier
public AcsChatThreadPropertiesUpdatedPerUserEventData setEditedByCommunicationIdentifier(CommunicationIdentifierModel editedByCommunicationIdentifier) Set the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.- Parameters:
editedByCommunicationIdentifier
- the editedByCommunicationIdentifier value to set.- Returns:
- the AcsChatThreadPropertiesUpdatedPerUserEventData object itself.
-
getEditTime
Get the editTime property: The time at which the properties of the thread were updated.- Returns:
- the editTime value.
-
setEditTime
Set the editTime property: The time at which the properties of the thread were updated.- Parameters:
editTime
- the editTime value to set.- Returns:
- the AcsChatThreadPropertiesUpdatedPerUserEventData object itself.
-
getProperties
Get the properties property: The updated thread properties.- Returns:
- the properties value.
-
setProperties
Set the properties property: The updated thread properties.- Parameters:
properties
- the properties value to set.- Returns:
- the AcsChatThreadPropertiesUpdatedPerUserEventData object itself.
-
setCreateTime
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTime
in classAcsChatThreadEventBaseProperties
- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setVersion
Set the version property: The version of the thread.- Overrides:
setVersion
in classAcsChatThreadEventBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatThreadPropertiesUpdatedPerUserEventData setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier) Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifier
in classAcsChatThreadEventBaseProperties
- 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:
setTransactionId
in classAcsChatThreadEventBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatThreadEventBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-