public void setIsLeaf(final Boolean isLeaf) {
        this.isLeaf = isLeaf;
    }
Sets the isLeaf.

@param isLeaf isLeaf
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/CreateResourceDTO.java