public enum LinkErrorReason extends Enum<LinkErrorReason>
Enum Constant and Description |
---|
INTERNAL_SERVER_ERROR |
NOT_FOUND_ERROR |
UNKNOWN_ERROR |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static LinkErrorReason |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static LinkErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkErrorReason UNKNOWN_ERROR
public static final LinkErrorReason INTERNAL_SERVER_ERROR
public static final LinkErrorReason NOT_FOUND_ERROR
public static final LinkErrorReason UNKNOWN_TO_SDK_VERSION
public static LinkErrorReason[] values()
for (LinkErrorReason c : LinkErrorReason.values()) System.out.println(c);
public static LinkErrorReason 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 getValue()
public String toString()
toString
in class Enum<LinkErrorReason>
public static LinkErrorReason fromValue(String text)
Copyright © 2023. All rights reserved.