public enum LiveStreamEventDateTimeErrorReason extends Enum<LiveStreamEventDateTimeErrorReason>
Java class for LiveStreamEventDateTimeError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LiveStreamEventDateTimeError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="START_DATE_TIME_IS_IN_PAST"/>
<enumeration value="END_DATE_TIME_NOT_AFTER_START_DATE_TIME"/>
<enumeration value="END_DATE_TIME_TOO_LATE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
END_DATE_TIME_NOT_AFTER_START_DATE_TIME
End date must be after the start date.
|
END_DATE_TIME_TOO_LATE
DateTimes after 1 January 2037 are not supported. |
START_DATE_TIME_IS_IN_PAST
Cannot create a new live stream event with a start date in the past.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested
API version.
|
| Modifier and Type | Method and Description |
|---|---|
static LiveStreamEventDateTimeErrorReason |
fromValue(String v) |
String |
value() |
static LiveStreamEventDateTimeErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiveStreamEventDateTimeErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveStreamEventDateTimeErrorReason START_DATE_TIME_IS_IN_PAST
public static final LiveStreamEventDateTimeErrorReason END_DATE_TIME_NOT_AFTER_START_DATE_TIME
public static final LiveStreamEventDateTimeErrorReason END_DATE_TIME_TOO_LATE
DateTimes after 1 January 2037 are not supported.public static final LiveStreamEventDateTimeErrorReason UNKNOWN
public static LiveStreamEventDateTimeErrorReason[] values()
for (LiveStreamEventDateTimeErrorReason c : LiveStreamEventDateTimeErrorReason.values()) System.out.println(c);
public static LiveStreamEventDateTimeErrorReason 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 LiveStreamEventDateTimeErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.