Result_VoicePage
统一业务结果封装。
codeinteger必填
业务结果码;200 表示成功。
msgstring必填
结果消息。
errorKeystring可为空
稳定的业务错误键;成功时为 null。
data object可为空必填
成功时的业务数据;业务失败或无数据时为 null。
records object[]必填
当前页音色。
Array [
id object必填
音色 ID;超出 JavaScript 安全整数范围时序列化为十进制字符串。
- integer<int64>
- string
integer<int64>
取值约束: >= -9007199254740991 and <= 9007199254740991
namestring必填
音色名称。
codestring必填
音色资源编码。
createdAtstring必填
创建时间。按站点展示时区格式化,默认 yyyy-MM-dd HH:mm:ss。
usedByCountinteger必填
被本人助手引用的数量。
enabledboolean必填
是否启用。
scopestring必填
共享作用域:user 或 shared。
sharedboolean必填
是否已共享给同租户用户。
]
totalinteger<int64>必填
总记录数。
sizeinteger<int64>必填
分页大小。
currentinteger<int64>必填
当前页码。
pagesinteger<int64>必填
总页数。
successboolean
外层业务是否成功;等价于 code=200。
Result_VoicePage
{
"code": 0,
"msg": "string",
"errorKey": "string",
"data": {
"records": [
{
"id": 0,
"name": "string",
"code": "string",
"createdAt": "string",
"usedByCount": 0,
"enabled": true,
"scope": "string",
"shared": true
}
],
"total": 0,
"size": 0,
"current": 0,
"pages": 0
},
"success": true
}