MicrosoftTeamsUserIdentifierModel Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. MicrosoftTeamsUserIdentifierModel
- com.
Implements
public final class MicrosoftTeamsUserIdentifierModel
implements JsonSerializable<MicrosoftTeamsUserIdentifierModel>
A Microsoft Teams user.
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 |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
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: