跳到主要内容

Result_ModelOptionList

统一业务结果封装。

codeinteger必填

业务结果码;200 表示成功。

msgstring必填

结果消息。

errorKeystring可为空

稳定的业务错误键;成功时为 null。

data object[]可为空必填

成功时的业务数据;业务失败或无数据时为 null。

  • Array [
  • id object

    模型能力 ID。

    满足其中一种
    integer<int64>

    取值约束: >= -9007199254740991 and <= 9007199254740991

    namestring

    模型名称。

    codestring

    模型编码。

    introstring可为空

    模型简介。

    languagesstring可为空

    支持语言。

  • ]
  • successboolean

    外层业务是否成功;等价于 code=200。

    Result_ModelOptionList
    {
    "code": 0,
    "msg": "string",
    "errorKey": "string",
    "data": [
    {
    "id": 0,
    "name": "string",
    "code": "string",
    "intro": "string",
    "languages": "string"
    }
    ],
    "success": true
    }