MicrosoftTeamsUserIdentifierModel Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. MicrosoftTeamsUserIdentifierModel
- com.
Implements
public final class MicrosoftTeamsUserIdentifierModel
implements JsonSerializable<MicrosoftTeamsUserIdentifierModel>
A Microsoft Teams user.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftTeamsUserIdentifierModel() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Communication |
getCloud()
Get the cloud property: The cloud that the Microsoft Teams user belongs to. |
String |
getUserId()
Get the user |
Boolean |
isAnonymous()
Get the is |
Microsoft |
setCloud(CommunicationCloudEnvironmentModel cloud)
Set the cloud property: The cloud that the Microsoft Teams user belongs to. |
Microsoft |
setIsAnonymous(Boolean isAnonymous)
Set the is |
Microsoft |
setUserId(String userId)
Set the user |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftTeamsUserIdentifierModel
public MicrosoftTeamsUserIdentifierModel()
Creates an instance of MicrosoftTeamsUserIdentifierModel class.
Method Details
fromJson
public static MicrosoftTeamsUserIdentifierModel fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftTeamsUserIdentifierModel from the JsonReader.
Parameters:
Returns:
Throws:
getCloud
public CommunicationCloudEnvironmentModel getCloud()
Get the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.
Returns:
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:
isAnonymous
public Boolean isAnonymous()
Get the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing.
Returns:
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:
Returns:
setIsAnonymous
public MicrosoftTeamsUserIdentifierModel setIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing.
Parameters:
Returns:
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:
Returns:
toJson
Applies to
Azure SDK for Java