@Documented
@Retention(value=SOURCE)
@Target(value={FIELD,PARAMETER})
public @interface Idx
BotCommand
related element annotations would be processed.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
index
Unique index of element in TOC format, i.e.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Represents the name of the element in the
BotCommand parameters. |
Idx.Option[] |
options
Children of the annotated element which would only be present in the package.json.
|
AttributeType |
type
BotCommand
Type of the element. |
public abstract java.lang.String index
for example 4, 4.2, 4.3.4
public abstract java.lang.String name
BotCommand
parameters.
Typically this name would be unique but it is not mandated to be so.
It would be used to provide name in the attributes of package.json.
The name of the element would be used if blank (null
, "", whitespace) is provided.
public abstract AttributeType type
public abstract Idx.Option[] options