Enum Class SpaceType

java.lang.Object
java.lang.Enum<SpaceType>
io.micronaut.chatbots.google.api.SpaceType
All Implemented Interfaces:
Serializable, Comparable<SpaceType>, Constable

public enum SpaceType extends Enum<SpaceType>
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Enum Constant Details

    • SPACE_TYPE_UNSPECIFIED

      public static final SpaceType SPACE_TYPE_UNSPECIFIED
      Reserved.
    • SPACE

      public static final SpaceType SPACE
      A place where people send messages, share files, and collaborate. A SPACE can include Chat apps.
    • GROUP_CHAT

      public static final SpaceType GROUP_CHAT
      Group conversations between 3 or more people. A GROUP_CHAT can include Chat apps.
    • DIRECT_MESSAGE

      public static final SpaceType DIRECT_MESSAGE
      1:1 messages between two humans or a human and a Chat app.
  • Method Details

    • values

      public static SpaceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SpaceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null