Package io.nutrient.data.models
Enum DocumentErrorStates
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
@Serializable() public enum DocumentErrorStates extends Enum<DocumentErrorStates>
Enum class representing the possible error states of a document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DocumentErrorStates.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integer
code
private final String
message
private final EnumEntries<DocumentErrorStates>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description INGESTED
NOT_INGESTED
INGESTED_OUTDATED
INVALID_ID
EXCEEDS_LIMIT
NOT_FOUND
INGESTED_UPDATED
UNSUPPORTED_MEDIA
SERVER_ERROR
EVALUATION_EXPIRED
INTERNET_NOT_AVAILABLE
-
Method Summary
Modifier and Type Method Description final DocumentErrorStates
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<DocumentErrorStates>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final Integer
getCode()
final String
getMessage()
final EnumEntries<DocumentErrorStates>
getEntries()
Enum class representing the possible error states of a document. -
-
Method Detail
-
valueOf
final DocumentErrorStates valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<DocumentErrorStates> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getMessage
final String getMessage()
-
getEntries
final EnumEntries<DocumentErrorStates> getEntries()
Enum class representing the possible error states of a document.
-
-
-
-