MicrosoftTeamsUserIdentifierModel (Azure SDK for Java Reference Documentation)

MicrosoftTeamsUserIdentifierModel (Azure SDK for Java Reference Documentation) java.lang.Object

com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsUserIdentifierModel

public final class MicrosoftTeamsUserIdentifierModel extends Object

A Microsoft Teams user.

  • Constructor Summary

    Constructors

    Creates an instance of MicrosoftTeamsUserIdentifierModel class.

  • Method Summary

    All MethodsInstance MethodsConcrete Methods

    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.

    Set the isAnonymous property: True if the Microsoft Teams user is anonymous.

    Set the userId property: The Id of the Microsoft Teams user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicrosoftTeamsUserIdentifierModel

      public MicrosoftTeamsUserIdentifierModel()

      Creates an instance of MicrosoftTeamsUserIdentifierModel class.

  • 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.

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploopGrrnCt2a6pnmWdmsC0rcaipaBllauyr8DGq6CdZ2Rjf3J6j2aZnqyRY35wr86mZpqypaeycLnErKqan5mjtHCx1Z6lrZ%2BinrFwv9isq56llauyr8DSaISim6KkwLCy042cmqWjisCmvqidnKesmZu2pr6sqJuepF6dwa64