public enum AssetLinkErrorReason extends Enum<AssetLinkErrorReason>
Java class for AssetLinkError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AssetLinkError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_ASSET_TYPE_FOR_FIELD"/>
<enumeration value="PINNING_UNSUPPORTED"/>
<enumeration value="INVALID_PINNED_FIELD"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_ASSET_TYPE_FOR_FIELD
Provided asset's type is invalid for use in the specified field.
|
INVALID_PINNED_FIELD
The input pinnedField is not valid for the given AssetLink field.
|
PINNING_UNSUPPORTED
Pinning is not supported for the given AssetLink field.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AssetLinkErrorReason |
fromValue(String v) |
String |
value() |
static AssetLinkErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetLinkErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetLinkErrorReason INVALID_ASSET_TYPE_FOR_FIELD
public static final AssetLinkErrorReason PINNING_UNSUPPORTED
public static final AssetLinkErrorReason INVALID_PINNED_FIELD
public static final AssetLinkErrorReason UNKNOWN
public static AssetLinkErrorReason[] values()
for (AssetLinkErrorReason c : AssetLinkErrorReason.values()) System.out.println(c);
public static AssetLinkErrorReason 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 AssetLinkErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.