CommandInput

data class CommandInput(val name: String, val type: String, val required: Boolean, val nullable: Boolean = false, val options: List<String>? = null, val description: String? = null)

One input of a ReferenceCommand: a property of the command's body, its JSON type (string, number, integer or boolean), whether it is required and may be nullable, and the options of an enumeration.

Constructors

Link copied to clipboard
constructor(name: String, type: String, required: Boolean, nullable: Boolean = false, options: List<String>? = null, description: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard