Package io.micronaut.chatbots.google.api
Class User
java.lang.Object
io.micronaut.chatbots.google.api.User
A user in Google Chat.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Boolean
@Nullable String
@Nullable String
@NonNull String
getName()
@Nullable UserType
getType()
void
setAnonymous
(@Nullable Boolean anonymous) void
setDisplayName
(@Nullable String displayName) void
setDomainId
(@Nullable String domainId) void
void
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getName
- Returns:
- Resource name for a Google Chat user.
-
setName
- Parameters:
name
- Resource name for a Google Chat user.
-
getDisplayName
- Returns:
- The user's display name.
-
setDisplayName
- Parameters:
displayName
- The user's display name.
-
getDomainId
- Returns:
- Unique identifier of the user's Google Workspace domain.
-
setDomainId
- Parameters:
domainId
- Unique identifier of the user's Google Workspace domain.
-
getType
- Returns:
- User type.
-
setType
- Parameters:
type
- User type.
-
getAnonymous
- Returns:
- When true, the user is deleted or their profile is not visible.
-
setAnonymous
- Parameters:
anonymous
- When true, the user is deleted or their profile is not visible.
-