你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphChatInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatInfo

Implements

public final class MicrosoftGraphChatInfo
implements JsonSerializable<MicrosoftGraphChatInfo>

chatInfo.

Constructor Summary

Constructor Description
MicrosoftGraphChatInfo()

Creates an instance of MicrosoftGraphChatInfo class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: chatInfo.

static MicrosoftGraphChatInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatInfo from the JsonReader.

String messageId()

Get the messageId property: The unique identifier of a message in a Microsoft Teams channel.

String replyChainMessageId()

Get the replyChainMessageId property: The ID of the reply message.

String threadId()

Get the threadId property: The unique identifier for a thread in Microsoft Teams.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphChatInfo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: chatInfo.

MicrosoftGraphChatInfo withMessageId(String messageId)

Set the messageId property: The unique identifier of a message in a Microsoft Teams channel.

MicrosoftGraphChatInfo withReplyChainMessageId(String replyChainMessageId)

Set the replyChainMessageId property: The ID of the reply message.

MicrosoftGraphChatInfo withThreadId(String threadId)

Set the threadId property: The unique identifier for a thread in Microsoft Teams.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphChatInfo

public MicrosoftGraphChatInfo()

Creates an instance of MicrosoftGraphChatInfo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: chatInfo.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphChatInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphChatInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphChatInfo.

messageId

public String messageId()

Get the messageId property: The unique identifier of a message in a Microsoft Teams channel.

Returns:

the messageId value.

replyChainMessageId

public String replyChainMessageId()

Get the replyChainMessageId property: The ID of the reply message.

Returns:

the replyChainMessageId value.

threadId

public String threadId()

Get the threadId property: The unique identifier for a thread in Microsoft Teams.

Returns:

the threadId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphChatInfo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: chatInfo.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphChatInfo object itself.

withMessageId

public MicrosoftGraphChatInfo withMessageId(String messageId)

Set the messageId property: The unique identifier of a message in a Microsoft Teams channel.

Parameters:

messageId - the messageId value to set.

Returns:

the MicrosoftGraphChatInfo object itself.

withReplyChainMessageId

public MicrosoftGraphChatInfo withReplyChainMessageId(String replyChainMessageId)

Set the replyChainMessageId property: The ID of the reply message.

Parameters:

replyChainMessageId - the replyChainMessageId value to set.

Returns:

the MicrosoftGraphChatInfo object itself.

withThreadId

public MicrosoftGraphChatInfo withThreadId(String threadId)

Set the threadId property: The unique identifier for a thread in Microsoft Teams.

Parameters:

threadId - the threadId value to set.

Returns:

the MicrosoftGraphChatInfo object itself.

Applies to