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
Constructors Constructor Description AcsChatThreadPropertiesUpdatedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationIdentifierModel
getEditedByCommunicationIdentifier()
Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.OffsetDateTime
getEditTime()
Get the editTime property: The time at which the properties of the thread were updated.Map<String,Object>
getProperties()
Get the properties property: The updated thread properties.AcsChatThreadPropertiesUpdatedEventData
setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.AcsChatThreadPropertiesUpdatedEventData
setEditedByCommunicationIdentifier(CommunicationIdentifierModel editedByCommunicationIdentifier)
Set the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.AcsChatThreadPropertiesUpdatedEventData
setEditTime(OffsetDateTime editTime)
Set the editTime property: The time at which the properties of the thread were updated.AcsChatThreadPropertiesUpdatedEventData
setProperties(Map<String,Object> properties)
Set the properties property: The updated thread properties.AcsChatThreadPropertiesUpdatedEventData
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatThreadPropertiesUpdatedEventData
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatThreadPropertiesUpdatedEventData
setVersion(Long version)
Set the version property: The version of the thread.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventInThreadBaseProperties
getCreateTime, getVersion
-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
-
-
-
Method Detail
-
getEditedByCommunicationIdentifier
public CommunicationIdentifierModel 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
public OffsetDateTime getEditTime()
Get the editTime property: The time at which the properties of the thread were updated.- Returns:
- the editTime value.
-
setEditTime
public AcsChatThreadPropertiesUpdatedEventData setEditTime(OffsetDateTime editTime)
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
public Map<String,Object> getProperties()
Get the properties property: The updated thread properties.- Returns:
- the properties value.
-
setProperties
public AcsChatThreadPropertiesUpdatedEventData setProperties(Map<String,Object> properties)
Set the properties property: The updated thread properties.- Parameters:
properties
- the properties value to set.- Returns:
- the AcsChatThreadPropertiesUpdatedEventData object itself.
-
setCreateTime
public AcsChatThreadPropertiesUpdatedEventData setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTime
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties object itself.
-
setVersion
public AcsChatThreadPropertiesUpdatedEventData setVersion(Long version)
Set the version property: The version of the thread.- Overrides:
setVersion
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventInThreadBaseProperties object itself.
-
setTransactionId
public AcsChatThreadPropertiesUpdatedEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
public AcsChatThreadPropertiesUpdatedEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatThreadEventInThreadBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
-