Class Deprecated
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.parameters.Deprecated
- All Implemented Interfaces:
ToNode
Container for information on a deprecated parameter.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static Deprecated
fromNode
(ObjectNode objectNode) Creates aDeprecated
of a specific type from the given Node information.Gets the deprecation message value.getSince()
Gets the deprecated since value.int
hashCode()
toNode()
Converts a value to aNode
.toString()
-
Method Details
-
fromNode
Creates aDeprecated
of a specific type from the given Node information.- Parameters:
objectNode
- the node to deserialize.- Returns:
- the created Deprecated.
-
getMessage
Gets the deprecation message value.- Returns:
- returns the optional deprecation message value.
-
getSince
Gets the deprecated since value.- Returns:
- returns the optional deprecated since value.
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
equals
-
hashCode
public int hashCode() -
toString
-