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 TypeMethodDescriptionbooleanstatic DeprecatedfromNode(ObjectNode objectNode) Creates aDeprecatedof a specific type from the given Node information.Gets the deprecation message value.getSince()Gets the deprecated since value.inthashCode()toNode()Converts a value to aNode.toString()
-
Method Details
-
fromNode
Creates aDeprecatedof 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:ToNodeConverts a value to aNode. -
equals
-
hashCode
public int hashCode() -
toString
-