你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphChatMessageMention Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChatMessageMention
- com.
Implements
public final class MicrosoftGraphChatMessageMention
implements JsonSerializable<MicrosoftGraphChatMessageMention>
chatMessageMention.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphChatMessageMention() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Integer |
id()
Get the id property: Index of an entity being mentioned in the specified chat |
String |
mentionText()
Get the mention |
Microsoft |
mentioned()
Get the mentioned property: identity |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withId(Integer id)
Set the id property: Index of an entity being mentioned in the specified chat |
Microsoft |
withMentionText(String mentionText)
Set the mention |
Microsoft |
withMentioned(MicrosoftGraphIdentitySet mentioned)
Set the mentioned property: identity |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphChatMessageMention
public MicrosoftGraphChatMessageMention()
Creates an instance of MicrosoftGraphChatMessageMention class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: chatMessageMention.
Returns:
fromJson
public static MicrosoftGraphChatMessageMention fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphChatMessageMention from the JsonReader.
Parameters:
Returns:
Throws:
id
public Integer id()
Get the id property: Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding tag in the message body.
Returns:
mentionText
public String mentionText()
Get the mentionText property: String used to represent the mention. For example, a user's display name, a team name.
Returns:
mentioned
public MicrosoftGraphIdentitySet mentioned()
Get the mentioned property: identitySet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphChatMessageMention withAdditionalProperties(Map
Set the additionalProperties property: chatMessageMention.
Parameters:
Returns:
withId
public MicrosoftGraphChatMessageMention withId(Integer id)
Set the id property: Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding tag in the message body.
Parameters:
Returns:
withMentionText
public MicrosoftGraphChatMessageMention withMentionText(String mentionText)
Set the mentionText property: String used to represent the mention. For example, a user's display name, a team name.
Parameters:
Returns:
withMentioned
public MicrosoftGraphChatMessageMention withMentioned(MicrosoftGraphIdentitySet mentioned)
Set the mentioned property: identitySet.
Parameters:
Returns: