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

MicrosoftGraphChatMessageReaction Class

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

Implements

public final class MicrosoftGraphChatMessageReaction
implements JsonSerializable<MicrosoftGraphChatMessageReaction>

chatMessageReaction.

Constructor Summary

Constructor Description
MicrosoftGraphChatMessageReaction()

Creates an instance of MicrosoftGraphChatMessageReaction class.

Method Summary

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

Get the additionalProperties property: chatMessageReaction.

OffsetDateTime createdDateTime()

Get the createdDateTime property: The createdDateTime property.

static MicrosoftGraphChatMessageReaction fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessageReaction from the JsonReader.

String reactionType()

Get the reactionType property: The reactionType property.

JsonWriter toJson(JsonWriter jsonWriter)
MicrosoftGraphIdentitySet user()

Get the user property: identitySet.

void validate()

Validates the instance.

MicrosoftGraphChatMessageReaction withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: chatMessageReaction.

MicrosoftGraphChatMessageReaction withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The createdDateTime property.

MicrosoftGraphChatMessageReaction withReactionType(String reactionType)

Set the reactionType property: The reactionType property.

MicrosoftGraphChatMessageReaction withUser(MicrosoftGraphIdentitySet user)

Set the user property: identitySet.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphChatMessageReaction

public MicrosoftGraphChatMessageReaction()

Creates an instance of MicrosoftGraphChatMessageReaction class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: chatMessageReaction.

Returns:

the additionalProperties value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The createdDateTime property.

Returns:

the createdDateTime value.

fromJson

public static MicrosoftGraphChatMessageReaction fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphChatMessageReaction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

reactionType

public String reactionType()

Get the reactionType property: The reactionType property.

Returns:

the reactionType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

user

public MicrosoftGraphIdentitySet user()

Get the user property: identitySet.

Returns:

the user value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphChatMessageReaction withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: chatMessageReaction.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphChatMessageReaction object itself.

withCreatedDateTime

public MicrosoftGraphChatMessageReaction withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The createdDateTime property.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphChatMessageReaction object itself.

withReactionType

public MicrosoftGraphChatMessageReaction withReactionType(String reactionType)

Set the reactionType property: The reactionType property.

Parameters:

reactionType - the reactionType value to set.

Returns:

the MicrosoftGraphChatMessageReaction object itself.

withUser

public MicrosoftGraphChatMessageReaction withUser(MicrosoftGraphIdentitySet user)

Set the user property: identitySet.

Parameters:

user - the user value to set.

Returns:

the MicrosoftGraphChatMessageReaction object itself.

Applies to