Class MicrosoftGraphChatMessageMention
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessageMention
chatMessageMention.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphChatMessageMention class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: chatMessageMention.id()Get the id property: Index of an entity being mentioned in the specified chatMessage.Get the mentioned property: identitySet.Get the mentionText property: String used to represent the mention.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: chatMessageMention.Set the id property: Index of an entity being mentioned in the specified chatMessage.withMentioned(MicrosoftGraphIdentitySet mentioned) Set the mentioned property: identitySet.withMentionText(String mentionText) Set the mentionText property: String used to represent the mention.
-
Constructor Details
-
MicrosoftGraphChatMessageMention
public MicrosoftGraphChatMessageMention()Creates an instance of MicrosoftGraphChatMessageMention class.
-
-
Method Details
-
id
Get the id property: 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.- Returns:
- the id value.
-
withId
Set the id property: 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.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphChatMessageMention object itself.
-
mentioned
Get the mentioned property: identitySet.- Returns:
- the mentioned value.
-
withMentioned
Set the mentioned property: identitySet.- Parameters:
mentioned- the mentioned value to set.- Returns:
- the MicrosoftGraphChatMessageMention object itself.
-
mentionText
Get the mentionText property: String used to represent the mention. For example, a user's display name, a team name.- Returns:
- the mentionText value.
-
withMentionText
Set the mentionText property: String used to represent the mention. For example, a user's display name, a team name.- Parameters:
mentionText- the mentionText value to set.- Returns:
- the MicrosoftGraphChatMessageMention object itself.
-
additionalProperties
Get the additionalProperties property: chatMessageMention.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphChatMessageMention withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: chatMessageMention.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphChatMessageMention object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-