Enum Class Link.Metadata.Status
java.lang.Object
java.lang.Enum<Link.Metadata.Status>
io.github.yvasyliev.telegramforwarderbot.reddit.dto.Link.Metadata.Status
- All Implemented Interfaces:
Serializable
,Comparable<Link.Metadata.Status>
,Constable
- Enclosing class:
Link.Metadata
Represents the status of the metadata.
This can be used to determine if the metadata is valid or not.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents an unprocessed metadata status.Represents a valid metadata status. -
Method Summary
Modifier and TypeMethodDescriptionstatic Link.Metadata.Status
Returns the enum constant of this class with the specified name.static Link.Metadata.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID
Represents a valid metadata status. -
UNPROCESSED
Represents an unprocessed metadata status.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-