AcsChatThreadPropertiesUpdatedEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. AcsChatEventInThreadBaseProperties - com.
azure. messaging. eventgrid. systemevents. AcsChatThreadEventInThreadBaseProperties - com.
azure. messaging. eventgrid. systemevents. AcsChatThreadPropertiesUpdatedEventData
- com.
- com.
- com.
public final class AcsChatThreadPropertiesUpdatedEventData
extends AcsChatThreadEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event.
Constructor Summary
Constructor | Description |
---|---|
AcsChatThreadPropertiesUpdatedEventData() |
Creates an instance of Acs |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Acs |
fromJson(JsonReader jsonReader)
Reads an instance of Acs |
Offset |
getEditTime()
Get the edit |
Communication |
getEditedByCommunicationIdentifier()
Get the edited |
Map<String,String> |
getMetadata()
Get the metadata property: The thread metadata. |
Map<String,Object> |
getProperties()
Get the properties property: The updated thread properties. |
Acs |
setCreateTime(OffsetDateTime createTime)
Set the create |
Acs |
setEditTime(OffsetDateTime editTime)
Set the edit |
Acs |
setEditedByCommunicationIdentifier(CommunicationIdentifierModel editedByCommunicationIdentifier)
Set the edited |
Acs |
setMetadata(Map<String,String> metadata)
Set the metadata property: The thread metadata. |
Acs |
setProperties(Map<String,Object> properties)
Set the properties property: The updated thread properties. |
Acs |
setThreadId(String threadId)
Set the thread |
Acs |
setTransactionId(String transactionId)
Set the transaction |
Acs |
setVersion(Long version)
Set the version property: The version of the thread. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from AcsChatEventInThreadBaseProperties
Methods inherited from AcsChatThreadEventInThreadBaseProperties
Methods inherited from java.lang.Object
Constructor Details
AcsChatThreadPropertiesUpdatedEventData
public AcsChatThreadPropertiesUpdatedEventData()
Creates an instance of AcsChatThreadPropertiesUpdatedEventData class.
Method Details
fromJson
public static AcsChatThreadPropertiesUpdatedEventData fromJson(JsonReader jsonReader)
Reads an instance of AcsChatThreadPropertiesUpdatedEventData from the JsonReader.
Parameters:
Returns:
Throws:
getEditTime
public OffsetDateTime getEditTime()
Get the editTime property: The time at which the properties of the thread were updated.
Returns:
getEditedByCommunicationIdentifier
public CommunicationIdentifierModel getEditedByCommunicationIdentifier()
Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.
Returns:
getMetadata
public Map
Get the metadata property: The thread metadata.
Returns:
getProperties
public Map
Get the properties property: The updated thread properties.
Returns:
setCreateTime
public AcsChatThreadPropertiesUpdatedEventData setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.
Overrides:
AcsChatThreadPropertiesUpdatedEventData.setCreateTime(OffsetDateTime createTime)Parameters:
setEditTime
public AcsChatThreadPropertiesUpdatedEventData setEditTime(OffsetDateTime editTime)
Set the editTime property: The time at which the properties of the thread were updated.
Parameters:
Returns:
setEditedByCommunicationIdentifier
public AcsChatThreadPropertiesUpdatedEventData setEditedByCommunicationIdentifier(CommunicationIdentifierModel editedByCommunicationIdentifier)
Set the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.
Parameters:
Returns:
setMetadata
public AcsChatThreadPropertiesUpdatedEventData setMetadata(Map
Set the metadata property: The thread metadata.
Parameters:
Returns:
setProperties
public AcsChatThreadPropertiesUpdatedEventData setProperties(Map
Set the properties property: The updated thread properties.
Parameters:
Returns:
setThreadId
public AcsChatThreadPropertiesUpdatedEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.
Overrides:
AcsChatThreadPropertiesUpdatedEventData.setThreadId(String threadId)Parameters:
setTransactionId
public AcsChatThreadPropertiesUpdatedEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.
Overrides:
AcsChatThreadPropertiesUpdatedEventData.setTransactionId(String transactionId)Parameters:
setVersion
public AcsChatThreadPropertiesUpdatedEventData setVersion(Long version)
Set the version property: The version of the thread.
Overrides:
AcsChatThreadPropertiesUpdatedEventData.setVersion(Long version)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AcsChatThreadPropertiesUpdatedEventData.toJson(JsonWriter jsonWriter)Parameters:
Throws:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for