MicrosoftGraphChatMessageMention Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChatMessageMention
- com.
Implements
public final class MicrosoftGraphChatMessageMention
implements JsonSerializable<MicrosoftGraphChatMessageMention>
Represents a chat message mention.
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 |
|
Microsoft |
mentioned()
Get the mentioned property: identity |
| String |
mentionText()
Get the mention |
|
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 |
withMentioned(MicrosoftGraphIdentitySet mentioned)
Set the mentioned property: identity |
|
Microsoft |
withMentionText(String mentionText)
Set the mention |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphChatMessageMention
public MicrosoftGraphChatMessageMention()
Creates an instance of MicrosoftGraphChatMessageMention class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
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 <at id='\{index\}'> tag in the message body.
Returns:
mentioned
public MicrosoftGraphIdentitySet mentioned()
Get the mentioned property: identitySet.
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphChatMessageMention withAdditionalProperties(Map<String,Object> additionalProperties)
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 <at id='\{index\}'> tag in the message body.
Parameters:
Returns:
withMentioned
public MicrosoftGraphChatMessageMention withMentioned(MicrosoftGraphIdentitySet mentioned)
Set the mentioned property: identitySet.
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: