Enum Class PulseAd.Variant

java.lang.Object
java.lang.Enum<PulseAd.Variant>
com.ooyala.pulse.PulseAd.Variant
All Implemented Interfaces:
Serializable, Comparable<PulseAd.Variant>, Constable
Enclosing interface:
PulseAd

public static enum PulseAd.Variant extends Enum<PulseAd.Variant>
Describe the variant of an ad, or, whether or not it is a sponsor ad.
  • Enum Constant Details

    • VARIANT_NORMAL

      public static final PulseAd.Variant VARIANT_NORMAL
      A normal ad.
    • VARIANT_SPONSOR

      public static final PulseAd.Variant VARIANT_SPONSOR
      A sponsor ad.
  • Method Details

    • values

      public static PulseAd.Variant[] 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 PulseAd.Variant 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