public enum PreferredDealErrorReason extends Enum<PreferredDealErrorReason>
Java class for PreferredDealError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PreferredDealError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_PRIORITY"/>
<enumeration value="INVALID_RATE_TYPE"/>
<enumeration value="INVALID_FREQUENCY_CAPS"/>
<enumeration value="INVALID_ROADBLOCKING_TYPE"/>
<enumeration value="INVALID_DELIVERY_RATE_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_DELIVERY_RATE_TYPE
Preferred deal
proposal line items only support
DeliveryRateType.FRONTLOADED. |
INVALID_FREQUENCY_CAPS
Preferred deal
proposal line items do not support frequency caps. |
INVALID_PRIORITY |
INVALID_RATE_TYPE
Preferred deal
proposal line items only support
RateType.CPM. |
INVALID_ROADBLOCKING_TYPE
Preferred deal
proposal line items only support
RoadblockingType.ONE_OR_MORE. |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static PreferredDealErrorReason |
fromValue(String v) |
String |
value() |
static PreferredDealErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferredDealErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferredDealErrorReason INVALID_PRIORITY
public static final PreferredDealErrorReason INVALID_RATE_TYPE
proposal line items only support
RateType.CPM.public static final PreferredDealErrorReason INVALID_FREQUENCY_CAPS
proposal line items do not support frequency caps.public static final PreferredDealErrorReason INVALID_ROADBLOCKING_TYPE
proposal line items only support
RoadblockingType.ONE_OR_MORE.public static final PreferredDealErrorReason INVALID_DELIVERY_RATE_TYPE
proposal line items only support
DeliveryRateType.FRONTLOADED.public static final PreferredDealErrorReason UNKNOWN
public static PreferredDealErrorReason[] values()
for (PreferredDealErrorReason c : PreferredDealErrorReason.values()) System.out.println(c);
public static PreferredDealErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PreferredDealErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.