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

MicrosoftGraphChatMessageHostedContent Class

public final class MicrosoftGraphChatMessageHostedContent
extends MicrosoftGraphEntity

Represents chat message hosted content.

Constructor Summary

Constructor Description
MicrosoftGraphChatMessageHostedContent()

Creates an instance of MicrosoftGraphChatMessageHostedContent class.

Method Summary

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

Get the additionalProperties property: chatMessageHostedContent.

static MicrosoftGraphChatMessageHostedContent fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessageHostedContent from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphChatMessageHostedContent withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: chatMessageHostedContent.

MicrosoftGraphChatMessageHostedContent withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphChatMessageHostedContent

public MicrosoftGraphChatMessageHostedContent()

Creates an instance of MicrosoftGraphChatMessageHostedContent class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: chatMessageHostedContent.

Overrides:

MicrosoftGraphChatMessageHostedContent.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphChatMessageHostedContent fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessageHostedContent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphChatMessageHostedContent 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 MicrosoftGraphChatMessageHostedContent.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphChatMessageHostedContent.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphChatMessageHostedContent.validate()

withAdditionalProperties

public MicrosoftGraphChatMessageHostedContent withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: chatMessageHostedContent.

Overrides:

MicrosoftGraphChatMessageHostedContent.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphChatMessageHostedContent object itself.

withId

public MicrosoftGraphChatMessageHostedContent withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphChatMessageHostedContent.withId(String id)

Parameters:

id

Applies to