Class MicrosoftTeamsUserIdentifierModel
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsUserIdentifierModel
-
public final class MicrosoftTeamsUserIdentifierModel extends Object
A Microsoft Teams user.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftTeamsUserIdentifierModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationCloudEnvironmentModel
getCloud()
Get the cloud property: The cloud that the Microsoft Teams user belongs to.String
getUserId()
Get the userId property: The Id of the Microsoft Teams user.Boolean
isAnonymous()
Get the isAnonymous property: True if the Microsoft Teams user is anonymous.MicrosoftTeamsUserIdentifierModel
setCloud(CommunicationCloudEnvironmentModel cloud)
Set the cloud property: The cloud that the Microsoft Teams user belongs to.MicrosoftTeamsUserIdentifierModel
setIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: True if the Microsoft Teams user is anonymous.MicrosoftTeamsUserIdentifierModel
setUserId(String userId)
Set the userId property: The Id of the Microsoft Teams user.
-
-
-
Method Detail
-
getUserId
public String 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
public MicrosoftTeamsUserIdentifierModel setUserId(String userId)
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
public Boolean isAnonymous()
Get the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing.- Returns:
- the isAnonymous value.
-
setIsAnonymous
public MicrosoftTeamsUserIdentifierModel setIsAnonymous(Boolean isAnonymous)
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
public CommunicationCloudEnvironmentModel getCloud()
Get the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.- Returns:
- the cloud value.
-
setCloud
public MicrosoftTeamsUserIdentifierModel setCloud(CommunicationCloudEnvironmentModel cloud)
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.
-
-