Package io.micronaut.chatbots.google.api
Class Space
java.lang.Object
io.micronaut.chatbots.google.api.Space
A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat app.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@NonNull String
getName()
@Nullable Boolean
@Nullable SpaceDetails
@Nullable SpaceType
@Nullable Boolean
void
setDisplayName
(@Nullable String displayName) void
void
setSingleUserBotDm
(@Nullable Boolean singleUserBotDm) void
setSpaceDetails
(@Nullable SpaceDetails spaceDetails) void
setSpaceType
(@Nullable SpaceType spaceType) void
setThreaded
(@Nullable Boolean threaded)
-
Constructor Details
-
Space
public Space()
-
-
Method Details
-
getName
- Returns:
- Resource name of the space. Format: spaces/{space}
-
setName
- Parameters:
name
- Resource name of the space. Format: spaces/{space}
-
getSingleUserBotDm
- Returns:
- Whether the space is a DM between a Chat app and a single human.
-
setSingleUserBotDm
- Parameters:
singleUserBotDm
- Whether the space is a DM between a Chat app and a single human.
-
getThreaded
- Returns:
- Whether messages are threaded in this space.
-
setThreaded
- Parameters:
threaded
- Whether messages are threaded in this space.
-
getDisplayName
- Returns:
- The space's display name.
-
setDisplayName
- Parameters:
displayName
- The space's display name.
-
getSpaceType
- Returns:
- The type of a space.
-
setSpaceType
- Parameters:
spaceType
- The type of a space.
-
getSpaceDetails
- Returns:
- Details about the space including description and rules.
-
setSpaceDetails
- Parameters:
spaceDetails
- Details about the space including description and rules.
-