Package com.microsoft.graph.models
Class ChatMessageMention
java.lang.Object
com.microsoft.graph.models.ChatMessageMention
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ChatMessageMention
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Chat Message Mention.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Id.The Mentioned.The Mention Text.the OData type of the object as returned by the service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
id
The Id. Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding <at id='{index}'> tag in the message body. -
mentioned
@SerializedName(value="mentioned", alternate="Mentioned") @Expose @Nullable public ChatMessageMentionedIdentitySet mentionedThe Mentioned. The entity (user, application, team, or channel) that was @mentioned. -
mentionText
@SerializedName(value="mentionText", alternate="MentionText") @Expose @Nullable public String mentionTextThe Mention Text. String used to represent the mention. For example, a user's display name, a team name.
-
-
Constructor Details
-
ChatMessageMention
public ChatMessageMention()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-