MicrosoftGraphConversationThread Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphConversationThread
- com.
- com.
public final class MicrosoftGraphConversationThread
extends MicrosoftGraphEntity
conversationThread.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphConversationThread() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
ccRecipients()
Get the cc |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasAttachments()
Get the has |
Boolean |
isLocked()
Get the is |
Offset |
lastDeliveredDateTime()
Get the last |
List<Microsoft |
posts()
Get the posts property: Read-only. |
String |
preview()
Get the preview property: A short summary from the body of the latest post in this conversation. |
Json |
toJson(JsonWriter jsonWriter) |
List<Microsoft |
toRecipients()
Get the to |
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 |
withCcRecipients(List<MicrosoftGraphRecipient> ccRecipients)
Set the cc |
Microsoft |
withHasAttachments(Boolean hasAttachments)
Set the has |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsLocked(Boolean isLocked)
Set the is |
Microsoft |
withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)
Set the last |
Microsoft |
withPosts(List<MicrosoftGraphPost> posts)
Set the posts property: Read-only. |
Microsoft |
withPreview(String preview)
Set the preview property: A short summary from the body of the latest post in this conversation. |
Microsoft |
withToRecipients(List<MicrosoftGraphRecipient> toRecipients)
Set the to |
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
MicrosoftGraphConversationThread
public MicrosoftGraphConversationThread()
Creates an instance of MicrosoftGraphConversationThread class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: conversationThread.
Overrides:
MicrosoftGraphConversationThread.additionalProperties()Returns:
ccRecipients
public List
Get the ccRecipients property: The Cc: recipients for the thread.
Returns:
fromJson
public static MicrosoftGraphConversationThread fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphConversationThread from the JsonReader.
Parameters:
Returns:
Throws:
hasAttachments
public Boolean hasAttachments()
Get the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.
Returns:
isLocked
public Boolean isLocked()
Get the isLocked property: Indicates if the thread is locked.
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:
posts
public List
Get the posts property: Read-only. Nullable.
Returns:
preview
public String preview()
Get the preview property: A short summary from the body of the latest post in this conversation.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphConversationThread.toJson(JsonWriter jsonWriter)Parameters:
Throws:
toRecipients
public List
Get the toRecipients property: The To: recipients for the thread.
Returns:
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 thread.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphConversationThread.validate()withAdditionalProperties
public MicrosoftGraphConversationThread withAdditionalProperties(Map
Set the additionalProperties property: conversationThread.
Overrides:
MicrosoftGraphConversationThread.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCcRecipients
public MicrosoftGraphConversationThread withCcRecipients(List
Set the ccRecipients property: The Cc: recipients for the thread.
Parameters:
Returns:
withHasAttachments
public MicrosoftGraphConversationThread withHasAttachments(Boolean hasAttachments)
Set the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.
Parameters:
Returns:
withId
public MicrosoftGraphConversationThread withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphConversationThread.withId(String id)Parameters:
withIsLocked
public MicrosoftGraphConversationThread withIsLocked(Boolean isLocked)
Set the isLocked property: Indicates if the thread is locked.
Parameters:
Returns:
withLastDeliveredDateTime
public MicrosoftGraphConversationThread 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:
withPosts
public MicrosoftGraphConversationThread withPosts(List
Set the posts property: Read-only. Nullable.
Parameters:
Returns:
withPreview
public MicrosoftGraphConversationThread withPreview(String preview)
Set the preview property: A short summary from the body of the latest post in this conversation.
Parameters:
Returns:
withToRecipients
public MicrosoftGraphConversationThread withToRecipients(List
Set the toRecipients property: The To: recipients for the thread.
Parameters:
Returns:
withTopic
public MicrosoftGraphConversationThread 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 MicrosoftGraphConversationThread withUniqueSenders(List
Set the uniqueSenders property: All the users that sent a message to this thread.
Parameters:
Returns:
Applies to
Azure SDK for Java