Class ChatThreadProperties
java.lang.Object
com.azure.communication.chat.models.ChatThreadProperties
The ChatThread model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdBy property: Identifies a participant in Azure Communication services.Get the createdOn property: The timestamp when the chat thread was created.getId()
Get the id property: Chat thread id.getTopic()
Get the topic property: Chat thread topic.setCreatedBy
(CommunicationIdentifier createdBy) Set the createdBy property: Identifies a participant in Azure Communication services.setCreatedOn
(OffsetDateTime createdOn) Set the createdOn property: The timestamp when the chat thread was created.Set the id property: Chat thread id.Set the topic property: Chat thread topic.
-
Constructor Details
-
ChatThreadProperties
public ChatThreadProperties()
-
-
Method Details
-
getId
Get the id property: Chat thread id.- Returns:
- the id value.
-
setId
Set the id property: Chat thread id.- Parameters:
id
- the id value to set.- Returns:
- the ChatThreadProperties object itself.
-
getTopic
Get the topic property: Chat thread topic.- Returns:
- the topic value.
-
setTopic
Set the topic property: Chat thread topic.- Parameters:
topic
- the topic value to set.- Returns:
- the ChatThreadProperties object itself.
-
getCreatedOn
Get the createdOn property: The timestamp when the chat thread was created. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Returns:
- the createdOn value.
-
setCreatedOn
Set the createdOn property: The timestamp when the chat thread was created. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Parameters:
createdOn
- the createdOn value to set.- Returns:
- the ChatThreadProperties object itself.
-
getCreatedBy
Get the createdBy property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Returns:
- the createdBy value.
-
setCreatedBy
Set the createdBy property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the ChatThreadProperties object itself.
-