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
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@NonNull StringgetName()@Nullable Boolean@Nullable SpaceDetails@Nullable SpaceType@Nullable Boolean@Nullable TypegetType()voidsetDisplayName(@Nullable String displayName) voidvoidsetSingleUserBotDm(@Nullable Boolean singleUserBotDm) voidsetSpaceDetails(@Nullable SpaceDetails spaceDetails) voidsetSpaceType(@Nullable SpaceType spaceType) voidsetThreaded(@Nullable Boolean threaded) void
-
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.
-
getType
- Returns:
- The type of a space.
-
setType
- Parameters:
type- The type of a space.
-
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.
-