Class MicrosoftTeamsUserIdentifierModel

java.lang.Object
com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsUserIdentifierModel

public final class MicrosoftTeamsUserIdentifierModel extends Object
A Microsoft Teams user.
  • Constructor Details

    • MicrosoftTeamsUserIdentifierModel

      public MicrosoftTeamsUserIdentifierModel()
  • Method Details

    • 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

      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.