Enum SubscriptionPlan

java.lang.Object
java.lang.Enum<SubscriptionPlan>
com.github.prominence.openweathermap.api.enums.SubscriptionPlan
All Implemented Interfaces:
Serializable, Comparable<SubscriptionPlan>, java.lang.constant.Constable

public enum SubscriptionPlan extends Enum<SubscriptionPlan>
An enumeration with all available subscription plans. More information at official website.
  • Enum Constant Details

    • FREE

      public static final SubscriptionPlan FREE
      Free subscription plan.
    • STARTUP

      public static final SubscriptionPlan STARTUP
      Startup subscription plan.
    • DEVELOPER

      public static final SubscriptionPlan DEVELOPER
      Developer subscription plan.
    • PROFESSIONAL

      public static final SubscriptionPlan PROFESSIONAL
      Professional subscription plan.
    • ENTERPRISE

      public static final SubscriptionPlan ENTERPRISE
      Enterprise subscription plan.
    • ALL

      public static final SubscriptionPlan ALL
      All existing subscription plans.
    • SPECIAL

      public static final SubscriptionPlan SPECIAL
      Special subscription cases.
  • Method Details

    • values

      public static SubscriptionPlan[] 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 SubscriptionPlan 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