Result_VoiceprintPage
统一业务结果封装。
codeinteger必填
业务结果码;200 表示成功。
msgstring必填
结果消息。
errorKeystring可为空
稳定的业务错误键;成功时为 null。
data object可为空必填
成功时的业务数据;业务失败或无数据时为 null。
records object[]必填
当前租户、当前账户的说话人记录;不要求传入设备。
Array [
id object必填
说话人记录 ID;超出 JavaScript 安全整数范围时使用十进制字符串。
- integer<int64>
- string
integer<int64>
取值约束: >= -9007199254740991 and <= 9007199254740991
namestring必填
说话人名称,不能仅包含空白。
取值约束: 非空 and <= 100 个字符
descriptionstring可为空
说话人资料描述;省略或 null 时保存为空。
取值约束: <= 500 个字符
statusstring必填
登记状态;新登记成功为 synced,与策略是否启用不同。
createdAtstring
创建时间,默认 yyyy-MM-dd HH:mm:ss,按站点展示时区格式化。
runtimeSyncedboolean必填
本次请求是否完成账户声纹库的运行时同步;false 时刷新账户列表重试,无需重新登记。
]
totalinteger<int64>必填
总记录数。
sizeinteger<int64>必填
分页大小。
currentinteger<int64>必填
当前页码。
pagesinteger<int64>必填
总页数。
successboolean
外层业务是否成功;等价于 code=200。
Result_VoiceprintPage
{
"code": 0,
"msg": "string",
"errorKey": "string",
"data": {
"records": [
{
"id": 0,
"name": "string",
"description": "string",
"status": "string",
"createdAt": "string",
"runtimeSynced": true
}
],
"total": 0,
"size": 0,
"current": 0,
"pages": 0
},
"success": true
}