public enum ReservationStatus extends Enum<ReservationStatus>
Java class for ReservationStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReservationStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="RESERVED"/>
<enumeration value="NOT_RESERVED"/>
<enumeration value="RELEASED"/>
<enumeration value="CHECK_LINE_ITEM_RESERVATION_STATUS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CHECK_LINE_ITEM_RESERVATION_STATUS
The reservation status of the corresponding
LineItem should be used
for this ProposalLineItem. |
NOT_RESERVED
The proposal line item's inventory is never reserved.
|
RELEASED
The inventory is once reserved and now released.
|
RESERVED
The inventory is reserved.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ReservationStatus |
fromValue(String v) |
String |
value() |
static ReservationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationStatus RESERVED
public static final ReservationStatus NOT_RESERVED
public static final ReservationStatus RELEASED
public static final ReservationStatus CHECK_LINE_ITEM_RESERVATION_STATUS
LineItem should be used
for this ProposalLineItem.public static final ReservationStatus UNKNOWN
public static ReservationStatus[] values()
for (ReservationStatus c : ReservationStatus.values()) System.out.println(c);
public static ReservationStatus 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 ReservationStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.