public enum DateTimeRangeTargetingErrorReason extends Enum<DateTimeRangeTargetingErrorReason>
Java class for DateTimeRangeTargetingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DateTimeRangeTargetingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="EMPTY_RANGES"/>
<enumeration value="NOT_SPONSORSHIP_LINEITEM"/>
<enumeration value="PAST_RANGES_CHANGED"/>
<enumeration value="RANGES_OVERLAP"/>
<enumeration value="RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD"/>
<enumeration value="START_TIME_IS_NOT_START_OF_DAY"/>
<enumeration value="END_TIME_IS_NOT_END_OF_DAY"/>
<enumeration value="START_DATE_TIME_IS_IN_PAST"/>
<enumeration value="RANGE_END_TIME_BEFORE_START_TIME"/>
<enumeration value="END_DATE_TIME_IS_TOO_LATE"/>
<enumeration value="LIMITED_RANGES_IN_UNLIMITED_LINEITEM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EMPTY_RANGES
No targeted ranges exists.
|
END_DATE_TIME_IS_TOO_LATE
End date time of latest targeted ranges is too late.
|
END_TIME_IS_NOT_END_OF_DAY
End time of range (except the latest range) is not at end of day.
|
LIMITED_RANGES_IN_UNLIMITED_LINEITEM |
NOT_SPONSORSHIP_LINEITEM
Type of lineitem is not sponsorship.
|
PAST_RANGES_CHANGED
Past ranges are changed.
|
RANGE_END_TIME_BEFORE_START_TIME
The end time of range is before the start time.
|
RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD
Targeted date time ranges fall out the active period of lineitem.
|
RANGES_OVERLAP
Targeted date time ranges overlap.
|
START_DATE_TIME_IS_IN_PAST
Start date time of earliest targeted ranges is in past.
|
START_TIME_IS_NOT_START_OF_DAY
Start time of range (except the earliest range) is not at start of day.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeRangeTargetingErrorReason |
fromValue(String v) |
String |
value() |
static DateTimeRangeTargetingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeRangeTargetingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeRangeTargetingErrorReason EMPTY_RANGES
public static final DateTimeRangeTargetingErrorReason NOT_SPONSORSHIP_LINEITEM
public static final DateTimeRangeTargetingErrorReason PAST_RANGES_CHANGED
public static final DateTimeRangeTargetingErrorReason RANGES_OVERLAP
public static final DateTimeRangeTargetingErrorReason RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD
public static final DateTimeRangeTargetingErrorReason START_TIME_IS_NOT_START_OF_DAY
public static final DateTimeRangeTargetingErrorReason END_TIME_IS_NOT_END_OF_DAY
public static final DateTimeRangeTargetingErrorReason START_DATE_TIME_IS_IN_PAST
public static final DateTimeRangeTargetingErrorReason RANGE_END_TIME_BEFORE_START_TIME
public static final DateTimeRangeTargetingErrorReason END_DATE_TIME_IS_TOO_LATE
public static final DateTimeRangeTargetingErrorReason LIMITED_RANGES_IN_UNLIMITED_LINEITEM
public static final DateTimeRangeTargetingErrorReason UNKNOWN
public static DateTimeRangeTargetingErrorReason[] values()
for (DateTimeRangeTargetingErrorReason c : DateTimeRangeTargetingErrorReason.values()) System.out.println(c);
public static DateTimeRangeTargetingErrorReason 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 DateTimeRangeTargetingErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.