Class Space

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

public class Space extends Object
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 Details

    • Space

      public Space()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Returns:
      Resource name of the space. Format: spaces/{space}
    • setName

      public void setName(@NonNull @NonNull String name)
      Parameters:
      name - Resource name of the space. Format: spaces/{space}
    • getSingleUserBotDm

      @Nullable public @Nullable Boolean getSingleUserBotDm()
      Returns:
      Whether the space is a DM between a Chat app and a single human.
    • setSingleUserBotDm

      public void setSingleUserBotDm(@Nullable @Nullable Boolean singleUserBotDm)
      Parameters:
      singleUserBotDm - Whether the space is a DM between a Chat app and a single human.
    • getThreaded

      @Nullable public @Nullable Boolean getThreaded()
      Returns:
      Whether messages are threaded in this space.
    • setThreaded

      public void setThreaded(@Nullable @Nullable Boolean threaded)
      Parameters:
      threaded - Whether messages are threaded in this space.
    • getDisplayName

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

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

      @Nullable public @Nullable SpaceType getSpaceType()
      Returns:
      The type of a space.
    • setSpaceType

      public void setSpaceType(@Nullable @Nullable SpaceType spaceType)
      Parameters:
      spaceType - The type of a space.
    • getSpaceDetails

      @Nullable public @Nullable SpaceDetails getSpaceDetails()
      Returns:
      Details about the space including description and rules.
    • setSpaceDetails

      public void setSpaceDetails(@Nullable @Nullable SpaceDetails spaceDetails)
      Parameters:
      spaceDetails - Details about the space including description and rules.