Class AcsChatThreadPropertiesUpdatedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadPropertiesUpdatedEventData
public final class AcsChatThreadPropertiesUpdatedEventData
extends AcsChatThreadEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsChatThreadPropertiesUpdatedEventData class. -
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 metadata property: The thread metadata.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.setMetadata(Map<String, String> metadata) Set the metadata property: The thread metadata.setProperties(Map<String, Object> properties) Set the properties property: The updated thread properties.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.AcsChatThreadEventInThreadBaseProperties
getCreateTime, getVersionMethods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
Constructor Details
-
AcsChatThreadPropertiesUpdatedEventData
public AcsChatThreadPropertiesUpdatedEventData()Creates an instance of AcsChatThreadPropertiesUpdatedEventData class.
-
-
Method Details
-
getEditedByCommunicationIdentifier
Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.- Returns:
- the editedByCommunicationIdentifier value.
-
setEditedByCommunicationIdentifier
public AcsChatThreadPropertiesUpdatedEventData 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 AcsChatThreadPropertiesUpdatedEventData 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 AcsChatThreadPropertiesUpdatedEventData 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 AcsChatThreadPropertiesUpdatedEventData object itself.
-
getMetadata
Get the metadata property: The thread metadata.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The thread metadata.- Parameters:
metadata- the metadata value to set.- Returns:
- the AcsChatThreadPropertiesUpdatedEventData object itself.
-
setCreateTime
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTimein classAcsChatThreadEventInThreadBaseProperties- Parameters:
createTime- the createTime value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties object itself.
-
setVersion
Set the version property: The version of the thread.- Overrides:
setVersionin classAcsChatThreadEventInThreadBaseProperties- 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:
setTransactionIdin classAcsChatThreadEventInThreadBaseProperties- Parameters:
transactionId- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadIdin classAcsChatThreadEventInThreadBaseProperties- Parameters:
threadId- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-