public enum PackageActionErrorReason extends Enum<PackageActionErrorReason>
Java class for PackageActionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PackageActionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PROPOSAL_LINE_ITEMS_HAVE_BEEN_CREATED"/>
<enumeration value="PROPOSAL_NOT_EDITABLE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
PROPOSAL_LINE_ITEMS_HAVE_BEEN_CREATED
The operation is not applicable because the proposal line items under these packages
have already been created.
|
PROPOSAL_NOT_EDITABLE
The operation is not applicable because the containing proposal is not editable.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static PackageActionErrorReason |
fromValue(String v) |
String |
value() |
static PackageActionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageActionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageActionErrorReason PROPOSAL_LINE_ITEMS_HAVE_BEEN_CREATED
public static final PackageActionErrorReason PROPOSAL_NOT_EDITABLE
public static final PackageActionErrorReason UNKNOWN
public static PackageActionErrorReason[] values()
for (PackageActionErrorReason c : PackageActionErrorReason.values()) System.out.println(c);
public static PackageActionErrorReason 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 PackageActionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.