Class User

java.lang.Object
io.micronaut.chatbots.google.api.User

public class User extends Object
A user in Google Chat.
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • User

      public User()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Returns:
      Resource name for a Google Chat user.
    • setName

      public void setName(@NonNull @NonNull String name)
      Parameters:
      name - Resource name for a Google Chat user.
    • getDisplayName

      @Nullable public @Nullable String getDisplayName()
      Returns:
      The user's display name.
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable String displayName)
      Parameters:
      displayName - The user's display name.
    • getDomainId

      @Nullable public @Nullable String getDomainId()
      Returns:
      Unique identifier of the user's Google Workspace domain.
    • setDomainId

      public void setDomainId(@Nullable @Nullable String domainId)
      Parameters:
      domainId - Unique identifier of the user's Google Workspace domain.
    • getType

      @Nullable public @Nullable UserType getType()
      Returns:
      User type.
    • setType

      public void setType(@Nullable @Nullable UserType type)
      Parameters:
      type - User type.
    • getAnonymous

      @Nullable public @Nullable Boolean getAnonymous()
      Returns:
      When true, the user is deleted or their profile is not visible.
    • setAnonymous

      public void setAnonymous(@Nullable @Nullable Boolean anonymous)
      Parameters:
      anonymous - When true, the user is deleted or their profile is not visible.