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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • id

      @SerializedName(value="id", alternate="Id") @Expose @Nullable public Integer 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 mentioned
      The Mentioned. The entity (user, application, team, or channel) that was @mentioned.
    • mentionText

      @SerializedName(value="mentionText", alternate="MentionText") @Expose @Nullable public String mentionText
      The 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 interface com.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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to