java.lang.Object
java.lang.Enum<WebChannelView>
com.github.jamesnetherton.zulip.client.api.user.WebChannelView
All Implemented Interfaces:
Serializable, Comparable<WebChannelView>

public enum WebChannelView extends Enum<WebChannelView>
Setting for controlling the default navigation behavior when clicking on a channel link
  • Enum Constant Details

    • CHANNEL_TOP_TOPIC

      public static final WebChannelView CHANNEL_TOP_TOPIC
      Top topic in the channel
    • CHANNEL_FEED

      public static final WebChannelView CHANNEL_FEED
      Channel feed
  • Method Details

    • values

      public static WebChannelView[] 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 WebChannelView 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
    • getId

      public int getId()
    • fromInt

      public static WebChannelView fromInt(int id)