你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphConversation Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphConversation
- com.
- com.
public final class MicrosoftGraphConversation
extends MicrosoftGraphEntity
conversation.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphConversation() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasAttachments()
Get the has |
Offset |
lastDeliveredDateTime()
Get the last |
String |
preview()
Get the preview property: A short summary from the body of the latest post in this converstaion. |
List<Microsoft |
threads()
Get the threads property: A collection of all the conversation threads in the conversation. |
Json |
toJson(JsonWriter jsonWriter) |
String |
topic()
Get the topic property: The topic of the conversation. |
List<String> |
uniqueSenders()
Get the unique |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withHasAttachments(Boolean hasAttachments)
Set the has |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)
Set the last |
Microsoft |
withPreview(String preview)
Set the preview property: A short summary from the body of the latest post in this converstaion. |
Microsoft |
withThreads(List<MicrosoftGraphConversationThread> threads)
Set the threads property: A collection of all the conversation threads in the conversation. |
Microsoft |
withTopic(String topic)
Set the topic property: The topic of the conversation. |
Microsoft |
withUniqueSenders(List<String> uniqueSenders)
Set the unique |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphConversation
public MicrosoftGraphConversation()
Creates an instance of MicrosoftGraphConversation class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: conversation.
Overrides:
MicrosoftGraphConversation.additionalProperties()Returns:
fromJson
public static MicrosoftGraphConversation fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphConversation from the JsonReader.
Parameters:
Returns:
Throws:
hasAttachments
public Boolean hasAttachments()
Get the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.
Returns:
lastDeliveredDateTime
public OffsetDateTime lastDeliveredDateTime()
Get the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Returns:
preview
public String preview()
Get the preview property: A short summary from the body of the latest post in this converstaion.
Returns:
threads
public List
Get the threads property: A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphConversation.toJson(JsonWriter jsonWriter)Parameters:
Throws:
topic
public String topic()
Get the topic property: The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
Returns:
uniqueSenders
public List
Get the uniqueSenders property: All the users that sent a message to this Conversation.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphConversation.validate()withAdditionalProperties
public MicrosoftGraphConversation withAdditionalProperties(Map
Set the additionalProperties property: conversation.
Overrides:
MicrosoftGraphConversation.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withHasAttachments
public MicrosoftGraphConversation withHasAttachments(Boolean hasAttachments)
Set the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.
Parameters:
Returns:
withId
public MicrosoftGraphConversation withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphConversation.withId(String id)Parameters:
withLastDeliveredDateTime
public MicrosoftGraphConversation withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)
Set the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Parameters:
Returns:
withPreview
public MicrosoftGraphConversation withPreview(String preview)
Set the preview property: A short summary from the body of the latest post in this converstaion.
Parameters:
Returns:
withThreads
public MicrosoftGraphConversation withThreads(List
Set the threads property: A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.
Parameters:
Returns:
withTopic
public MicrosoftGraphConversation withTopic(String topic)
Set the topic property: The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
Parameters:
Returns:
withUniqueSenders
public MicrosoftGraphConversation withUniqueSenders(List
Set the uniqueSenders property: All the users that sent a message to this Conversation.
Parameters:
Returns: