public enum CustomFieldValueErrorReason extends Enum<CustomFieldValueErrorReason>
Java class for CustomFieldValueError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomFieldValueError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CUSTOM_FIELD_NOT_FOUND"/>
<enumeration value="CUSTOM_FIELD_INACTIVE"/>
<enumeration value="CUSTOM_FIELD_OPTION_NOT_FOUND"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOM_FIELD_INACTIVE
An attempt was made to create a new value for a custom field
that is inactive.
|
CUSTOM_FIELD_NOT_FOUND
An attempt was made to modify or create a
CustomFieldValue for
a CustomField that does not exist. |
CUSTOM_FIELD_OPTION_NOT_FOUND
An attempt was made to modify or create a
CustomFieldValue corresponding
to a CustomFieldOption that could not be found. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomFieldValueErrorReason |
fromValue(String v) |
String |
value() |
static CustomFieldValueErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomFieldValueErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomFieldValueErrorReason CUSTOM_FIELD_NOT_FOUND
CustomFieldValue for
a CustomField that does not exist.public static final CustomFieldValueErrorReason CUSTOM_FIELD_INACTIVE
public static final CustomFieldValueErrorReason CUSTOM_FIELD_OPTION_NOT_FOUND
CustomFieldValue corresponding
to a CustomFieldOption that could not be found.public static final CustomFieldValueErrorReason UNKNOWN
public static CustomFieldValueErrorReason[] values()
for (CustomFieldValueErrorReason c : CustomFieldValueErrorReason.values()) System.out.println(c);
public static CustomFieldValueErrorReason 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 CustomFieldValueErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.