Enum SlackDataSource

java.lang.Object
java.lang.Enum<SlackDataSource>
com.hubspot.slack.client.models.actions.SlackDataSource
All Implemented Interfaces:
Serializable, Comparable<SlackDataSource>

public enum SlackDataSource extends Enum<SlackDataSource>
  • Enum Constant Details

    • STATIC

      public static final SlackDataSource STATIC
      Provided in the body
    • USERS

      public static final SlackDataSource USERS
      Select from slack users in team
    • CHANNELS

      public static final SlackDataSource CHANNELS
      Select from channels in team
    • CONVERSATIONS

      public static final SlackDataSource CONVERSATIONS
      Select from direct messages in team
    • EXTERNAL

      public static final SlackDataSource EXTERNAL
      Hit interactive endpoint to populate
  • Method Details

    • values

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

      public static SlackDataSource valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static SlackDataSource get(String key) throws UnmappedKeyException
      Throws:
      UnmappedKeyException
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SlackDataSource>