Enum Endpoint

java.lang.Object
java.lang.Enum<Endpoint>
com.github.oscerd.finnhub.client.Endpoint
All Implemented Interfaces:
Serializable, Comparable<Endpoint>, java.lang.constant.Constable

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

    • METRIC

      public static final Endpoint METRIC
    • CANDLE

      public static final Endpoint CANDLE
    • COMPANY_NEWS

      public static final Endpoint COMPANY_NEWS
    • COMPANY_PROFILE

      public static final Endpoint COMPANY_PROFILE
    • DIVIDEND

      public static final Endpoint DIVIDEND
    • MARKET_HOLIDAY

      public static final Endpoint MARKET_HOLIDAY
    • MARKET_STATUS

      public static final Endpoint MARKET_STATUS
    • SYMBOL

      public static final Endpoint SYMBOL
    • SYMBOL_LOOKUP

      public static final Endpoint SYMBOL_LOOKUP
    • QUOTE

      public static final Endpoint QUOTE
  • Method Details

    • values

      public static Endpoint[] 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 Endpoint 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
    • url

      public String url()