{
    "name": "class-list",
    "brief": "This command is used to retrieve a list of all client
              classes from the server configuration.",
    "description": "See <xref linkend=\"command-class-list\"/>",
    "support": [ "kea-dhcp4", "kea-dhcp6" ],
    "avail": "1.5.0",
    "hook": "class_cmds",
    "cmd-syntax": "{
    \"command\": \"class-list\"
}",
    "cmd-comment": "This command includes no arguments.",
    "resp-syntax": "{
    \"result\": 0,
    \"text\": \"<number of> classes found\",
    \"arguments\": {
        \"client-classes\": [
            {
                \"name\": <first class name>
            },
            {
                \"name\": <second class name>
            }
        ]
    }
}",
    "resp-comment": "The returned list of classes merely contains their names.
                     In order to retrieve full information about one of these
                     classes use <xref linkend=\"command-class-get\"/>.
                     The returned result is 3 (empty) if no classes are found.
                     If the command is processed successfully and the list of
                     client classes is not empty, the result of 0 is returned.
                     If there is an error while processing the command, the
                     result of 1 is returned."
}
