Class MicrosoftTeamsUserIdentifierModel
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsUserIdentifierModel
A Microsoft Teams user.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCloud()
Get the cloud property: The cloud that the Microsoft Teams user belongs to.Get the userId property: The Id of the Microsoft Teams user.Get the isAnonymous property: True if the Microsoft Teams user is anonymous.Set the cloud property: The cloud that the Microsoft Teams user belongs to.setIsAnonymous
(Boolean isAnonymous) Set the isAnonymous property: True if the Microsoft Teams user is anonymous.Set the userId property: The Id of the Microsoft Teams user.
-
Constructor Details
-
MicrosoftTeamsUserIdentifierModel
public MicrosoftTeamsUserIdentifierModel()
-
-
Method Details
-
getUserId
Get the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.- Returns:
- the userId value.
-
setUserId
Set the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.- Parameters:
userId
- the userId value to set.- Returns:
- the MicrosoftTeamsUserIdentifierModel object itself.
-
isAnonymous
Get the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing.- Returns:
- the isAnonymous value.
-
setIsAnonymous
Set the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing.- Parameters:
isAnonymous
- the isAnonymous value to set.- Returns:
- the MicrosoftTeamsUserIdentifierModel object itself.
-
getCloud
Get the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.- Returns:
- the cloud value.
-
setCloud
Set the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.- Parameters:
cloud
- the cloud value to set.- Returns:
- the MicrosoftTeamsUserIdentifierModel object itself.
-