Companion

object Companion

Functions

Link copied to clipboard
fun fromJson(json: JsonNode): DiamondCommand

Attempts to parse a DiamondCommand instance from the given JsonNode, throwing an IllegalArgumentException if the given json was not a string, or did not contain a valid DiamondCommand value.

Link copied to clipboard

Attempts to parse a DiamondCommand instance from the given String, throwing an IllegalArgumentException if the given value did not contain a valid DiamondCommand value.

Link copied to clipboard

Attempts to parse a DiamondCommand instance from the given String, returning null if the given value did not contain a valid DiamondCommand value.