代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCard2EVerificationRequest : AbstractModel
{
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 银行卡
/// </summary>
[JsonProperty("BankCard")]
public string BankCard{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "BankCard", this.BankCard);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCard2EVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码
/// 计费结果码:
/// '0': '认证通过'
/// '-1': '认证未通过'
/// '-4': '持卡人信息有误'
/// '-5': '未开通无卡支付'
/// '-6': '此卡被没收'
/// '-7': '无效卡号'
/// '-8': '此卡无对应发卡行'
/// '-9': '该卡未初始化或睡眠卡'
/// '-10': '作弊卡、吞卡'
/// '-11': '此卡已挂失'
/// '-12': '该卡已过期'
/// '-13': '受限制的卡'
/// '-14': '密码错误次数超限'
/// '-15': '发卡行不支持此交易'
/// 不计费结果码:
/// '-2': '姓名校验不通过'
/// '-3': '银行卡号码有误'
/// '-16': '验证中心服务繁忙'
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCard4EVerificationRequest : AbstractModel
{
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 银行卡
/// </summary>
[JsonProperty("BankCard")]
public string BankCard{ get; set; }
/// <summary>
/// 手机号码
/// </summary>
[JsonProperty("Phone")]
public string Phone{ get; set; }
/// <summary>
/// 开户证件号与CertType参数的证件类型一致身份证则传入身份证号。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
/// 目前默认0 身份证其他证件类型需求可以联系小助手faceid001确认。
/// </summary>
[JsonProperty("CertType")]
public long? CertType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "BankCard", this.BankCard);
this.SetParamSimple(map, prefix + "Phone", this.Phone);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "CertType", this.CertType);
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCard4EVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码
/// 收费结果码:
/// '0': '认证通过'
/// '-1': '认证未通过'
/// '-6': '持卡人信息有误'
/// '-7': '未开通无卡支付'
/// '-8': '此卡被没收'
/// '-9': '无效卡号'
/// '-10': '此卡无对应发卡行'
/// '-11': '该卡未初始化或睡眠卡'
/// '-12': '作弊卡、吞卡'
/// '-13': '此卡已挂失'
/// '-14': '该卡已过期'
/// '-15': '受限制的卡'
/// '-16': '密码错误次数超限'
/// '-17': '发卡行不支持此交易'
/// 不收费结果码:
/// '-2': '姓名校验不通过'
/// '-3': '身份证号码有误'
/// '-4': '银行卡号码有误'
/// '-5': '手机号码不合法'
/// '-18': '验证中心服务繁忙'
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCardVerificationRequest : AbstractModel
{
/// <summary>
/// 开户证件号与CertType参数的证件类型一致身份证则传入身份证号。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 银行卡
/// </summary>
[JsonProperty("BankCard")]
public string BankCard{ get; set; }
/// <summary>
/// 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
/// 目前默认0 身份证其他证件类型需求可以联系小助手faceid001确认。
/// </summary>
[JsonProperty("CertType")]
public long? CertType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "BankCard", this.BankCard);
this.SetParamSimple(map, prefix + "CertType", this.CertType);
}
}
}

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BankCardVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码
/// 收费结果码:
/// '0': '认证通过'
/// '-1': '认证未通过'
/// '-5': '持卡人信息有误'
/// '-6': '未开通无卡支付'
/// '-7': '此卡被没收'
/// '-8': '无效卡号'
/// '-9': '此卡无对应发卡行'
/// '-10': '该卡未初始化或睡眠卡'
/// '-11': '作弊卡、吞卡'
/// '-12': '此卡已挂失'
/// '-13': '该卡已过期'
/// '-14': '受限制的卡'
/// '-15': '密码错误次数超限'
/// '-16': '发卡行不支持此交易'
/// 不收费结果码:
/// '-2': '姓名校验不通过'
/// '-3': '身份证号码有误'
/// '-4': '银行卡号码有误'
/// '-17': '验证中心服务繁忙'
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,87 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectAuthRequest : AbstractModel
{
/// <summary>
/// 用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
/// </summary>
[JsonProperty("RuleId")]
public string RuleId{ get; set; }
/// <summary>
/// 本接口不需要传递此参数。
/// </summary>
[JsonProperty("TerminalType")]
public string TerminalType{ get; set; }
/// <summary>
/// 身份标识未使用OCR服务时必须传入
/// 规则a-zA-Z0-9组合。最长长度32位。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名。未使用OCR服务时必须传入最长长度32位。中文请使用UTF-8编码。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 认证结束后重定向的回调链接地址。最长长度1024位。
/// </summary>
[JsonProperty("RedirectUrl")]
public string RedirectUrl{ get; set; }
/// <summary>
/// 透传字段,在获取验证结果时返回。
/// </summary>
[JsonProperty("Extra")]
public string Extra{ get; set; }
/// <summary>
/// 用于人脸比对的照片图片的BASE64值
/// BASE64编码后的图片数据大小不超过3M仅支持jpg、png格式。
/// </summary>
[JsonProperty("ImageBase64")]
public string ImageBase64{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RuleId", this.RuleId);
this.SetParamSimple(map, prefix + "TerminalType", this.TerminalType);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "RedirectUrl", this.RedirectUrl);
this.SetParamSimple(map, prefix + "Extra", this.Extra);
this.SetParamSimple(map, prefix + "ImageBase64", this.ImageBase64);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectAuthResponse : AbstractModel
{
/// <summary>
/// 用于发起核身流程的URL仅微信H5场景使用。
/// </summary>
[JsonProperty("Url")]
public string Url{ get; set; }
/// <summary>
/// 一次核身流程的标识有效时间为7,200秒
/// 完成核身后,可用该标识获取验证结果信息。
/// </summary>
[JsonProperty("BizToken")]
public string BizToken{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Url", this.Url);
this.SetParamSimple(map, prefix + "BizToken", this.BizToken);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,132 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectDetail : AbstractModel
{
/// <summary>
/// 请求时间戳。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReqTime")]
public string ReqTime{ get; set; }
/// <summary>
/// 本次活体一比一请求的唯一标记。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Seq")]
public string Seq{ get; set; }
/// <summary>
/// 参与本次活体一比一的身份证号。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Idcard")]
public string Idcard{ get; set; }
/// <summary>
/// 参与本次活体一比一的姓名。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 本次活体一比一的相似度。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Sim")]
public string Sim{ get; set; }
/// <summary>
/// 本次活体一比一是否收费
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IsNeedCharge")]
public bool? IsNeedCharge{ get; set; }
/// <summary>
/// 本次活体一比一最终结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Errcode")]
public long? Errcode{ get; set; }
/// <summary>
/// 本次活体一比一最终结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Errmsg")]
public string Errmsg{ get; set; }
/// <summary>
/// 本次活体结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Livestatus")]
public long? Livestatus{ get; set; }
/// <summary>
/// 本次活体结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Livemsg")]
public string Livemsg{ get; set; }
/// <summary>
/// 本次一比一结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Comparestatus")]
public long? Comparestatus{ get; set; }
/// <summary>
/// 本次一比一结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Comparemsg")]
public string Comparemsg{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ReqTime", this.ReqTime);
this.SetParamSimple(map, prefix + "Seq", this.Seq);
this.SetParamSimple(map, prefix + "Idcard", this.Idcard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "Sim", this.Sim);
this.SetParamSimple(map, prefix + "IsNeedCharge", this.IsNeedCharge);
this.SetParamSimple(map, prefix + "Errcode", this.Errcode);
this.SetParamSimple(map, prefix + "Errmsg", this.Errmsg);
this.SetParamSimple(map, prefix + "Livestatus", this.Livestatus);
this.SetParamSimple(map, prefix + "Livemsg", this.Livemsg);
this.SetParamSimple(map, prefix + "Comparestatus", this.Comparestatus);
this.SetParamSimple(map, prefix + "Comparemsg", this.Comparemsg);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectInfoBestFrame : AbstractModel
{
/// <summary>
/// 活体比对最佳帧。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BestFrame")]
public string BestFrame{ get; set; }
/// <summary>
/// 自截帧。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BestFrames")]
public string[] BestFrames{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BestFrame", this.BestFrame);
this.SetParamArraySimple(map, prefix + "BestFrames.", this.BestFrames);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectInfoIdCardData : AbstractModel
{
/// <summary>
/// OCR正面照片的base64编码。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrFront")]
public string OcrFront{ get; set; }
/// <summary>
/// OCR反面照片的base64编码
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrBack")]
public string OcrBack{ get; set; }
/// <summary>
/// 旋转裁边后的正面照片base64编码。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ProcessedFrontImage")]
public string ProcessedFrontImage{ get; set; }
/// <summary>
/// 旋转裁边后的背面照片base64编码。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ProcessedBackImage")]
public string ProcessedBackImage{ get; set; }
/// <summary>
/// 身份证正面人像图base64编码。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Avatar")]
public string Avatar{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "OcrFront", this.OcrFront);
this.SetParamSimple(map, prefix + "OcrBack", this.OcrBack);
this.SetParamSimple(map, prefix + "ProcessedFrontImage", this.ProcessedFrontImage);
this.SetParamSimple(map, prefix + "ProcessedBackImage", this.ProcessedBackImage);
this.SetParamSimple(map, prefix + "Avatar", this.Avatar);
}
}
}

View File

@@ -0,0 +1,204 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectInfoText : AbstractModel
{
/// <summary>
/// 本次流程最终验证结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ErrCode")]
public long? ErrCode{ get; set; }
/// <summary>
/// 本次流程最终验证结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ErrMsg")]
public string ErrMsg{ get; set; }
/// <summary>
/// 本次验证使用的身份证号。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 本次验证使用的姓名。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// Ocr识别结果。民族。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrNation")]
public string OcrNation{ get; set; }
/// <summary>
/// Ocr识别结果。家庭住址。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrAddress")]
public string OcrAddress{ get; set; }
/// <summary>
/// Ocr识别结果。生日。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrBirth")]
public string OcrBirth{ get; set; }
/// <summary>
/// Ocr识别结果。签发机关。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrAuthority")]
public string OcrAuthority{ get; set; }
/// <summary>
/// Ocr识别结果。有效日期。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrValidDate")]
public string OcrValidDate{ get; set; }
/// <summary>
/// Ocr识别结果。姓名。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrName")]
public string OcrName{ get; set; }
/// <summary>
/// Ocr识别结果。身份证号。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrIdCard")]
public string OcrIdCard{ get; set; }
/// <summary>
/// Ocr识别结果。性别。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OcrGender")]
public string OcrGender{ get; set; }
/// <summary>
/// 本次流程最终活体结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LiveStatus")]
public long? LiveStatus{ get; set; }
/// <summary>
/// 本次流程最终活体结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LiveMsg")]
public string LiveMsg{ get; set; }
/// <summary>
/// 本次流程最终一比一结果。0为成功
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Comparestatus")]
public long? Comparestatus{ get; set; }
/// <summary>
/// 本次流程最终一比一结果描述。(仅描述用,文案更新时不会通知。)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Comparemsg")]
public string Comparemsg{ get; set; }
/// <summary>
/// 本次流程活体一比一的分数。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Sim")]
public string Sim{ get; set; }
/// <summary>
/// 地理位置经纬度。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Location")]
public string Location{ get; set; }
/// <summary>
/// Auth接口带入额外信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Extra")]
public string Extra{ get; set; }
/// <summary>
/// 本次流程进行的活体一比一流水。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LivenessDetail")]
public DetectDetail[] LivenessDetail{ get; set; }
/// <summary>
/// 手机号码。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Mobile")]
public string Mobile{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ErrCode", this.ErrCode);
this.SetParamSimple(map, prefix + "ErrMsg", this.ErrMsg);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "OcrNation", this.OcrNation);
this.SetParamSimple(map, prefix + "OcrAddress", this.OcrAddress);
this.SetParamSimple(map, prefix + "OcrBirth", this.OcrBirth);
this.SetParamSimple(map, prefix + "OcrAuthority", this.OcrAuthority);
this.SetParamSimple(map, prefix + "OcrValidDate", this.OcrValidDate);
this.SetParamSimple(map, prefix + "OcrName", this.OcrName);
this.SetParamSimple(map, prefix + "OcrIdCard", this.OcrIdCard);
this.SetParamSimple(map, prefix + "OcrGender", this.OcrGender);
this.SetParamSimple(map, prefix + "LiveStatus", this.LiveStatus);
this.SetParamSimple(map, prefix + "LiveMsg", this.LiveMsg);
this.SetParamSimple(map, prefix + "Comparestatus", this.Comparestatus);
this.SetParamSimple(map, prefix + "Comparemsg", this.Comparemsg);
this.SetParamSimple(map, prefix + "Sim", this.Sim);
this.SetParamSimple(map, prefix + "Location", this.Location);
this.SetParamSimple(map, prefix + "Extra", this.Extra);
this.SetParamArrayObj(map, prefix + "LivenessDetail.", this.LivenessDetail);
this.SetParamSimple(map, prefix + "Mobile", this.Mobile);
}
}
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectInfoVideoData : AbstractModel
{
/// <summary>
/// 活体视频的base64编码
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LivenessVideo")]
public string LivenessVideo{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "LivenessVideo", this.LivenessVideo);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetActionSequenceRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetActionSequenceResponse : AbstractModel
{
/// <summary>
/// 动作顺序(2,1 or 1,2) 。1代表张嘴2代表闭眼。
/// </summary>
[JsonProperty("ActionSequence")]
public string ActionSequence{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ActionSequence", this.ActionSequence);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,80 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetDetectInfoEnhancedRequest : AbstractModel
{
/// <summary>
/// 人脸核身流程的标识调用DetectAuth接口时生成。
/// </summary>
[JsonProperty("BizToken")]
public string BizToken{ get; set; }
/// <summary>
/// 用于细分客户使用场景,由腾讯侧在线下对接时分配。
/// </summary>
[JsonProperty("RuleId")]
public string RuleId{ get; set; }
/// <summary>
/// 指定拉取的结果信息取值0全部1文本类2身份证信息3视频最佳截图信息4视频信息
/// 如 134表示拉取文本类、视频最佳截图信息、视频信息。
/// 默认值0
/// </summary>
[JsonProperty("InfoType")]
public string InfoType{ get; set; }
/// <summary>
/// 从活体视频中截取一定张数的最佳帧。默认为0最大为10超出10的最多只给10张。InfoType需要包含3
/// </summary>
[JsonProperty("BestFramesCount")]
public ulong? BestFramesCount{ get; set; }
/// <summary>
/// 是否对身份证照片进行裁边。默认为false。InfoType需要包含2
/// </summary>
[JsonProperty("IsCutIdCardImage")]
public bool? IsCutIdCardImage{ get; set; }
/// <summary>
/// 是否需要从身份证中抠出头像。默认为false。InfoType需要包含2
/// </summary>
[JsonProperty("IsNeedIdCardAvatar")]
public bool? IsNeedIdCardAvatar{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BizToken", this.BizToken);
this.SetParamSimple(map, prefix + "RuleId", this.RuleId);
this.SetParamSimple(map, prefix + "InfoType", this.InfoType);
this.SetParamSimple(map, prefix + "BestFramesCount", this.BestFramesCount);
this.SetParamSimple(map, prefix + "IsCutIdCardImage", this.IsCutIdCardImage);
this.SetParamSimple(map, prefix + "IsNeedIdCardAvatar", this.IsNeedIdCardAvatar);
}
}
}

View File

@@ -0,0 +1,75 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetDetectInfoEnhancedResponse : AbstractModel
{
/// <summary>
/// 文本类信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Text")]
public DetectInfoText Text{ get; set; }
/// <summary>
/// 身份证照片信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IdCardData")]
public DetectInfoIdCardData IdCardData{ get; set; }
/// <summary>
/// 最佳帧信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BestFrame")]
public DetectInfoBestFrame BestFrame{ get; set; }
/// <summary>
/// 视频信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VideoData")]
public DetectInfoVideoData VideoData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "Text.", this.Text);
this.SetParamObj(map, prefix + "IdCardData.", this.IdCardData);
this.SetParamObj(map, prefix + "BestFrame.", this.BestFrame);
this.SetParamObj(map, prefix + "VideoData.", this.VideoData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetDetectInfoRequest : AbstractModel
{
/// <summary>
/// 人脸核身流程的标识调用DetectAuth接口时生成。
/// </summary>
[JsonProperty("BizToken")]
public string BizToken{ get; set; }
/// <summary>
/// 用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
/// </summary>
[JsonProperty("RuleId")]
public string RuleId{ get; set; }
/// <summary>
/// 指定拉取的结果信息取值0全部1文本类2身份证正反面3视频最佳截图照片4视频
/// 如 134表示拉取文本类、视频最佳截图照片、视频。
/// 默认值0
/// </summary>
[JsonProperty("InfoType")]
public string InfoType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BizToken", this.BizToken);
this.SetParamSimple(map, prefix + "RuleId", this.RuleId);
this.SetParamSimple(map, prefix + "InfoType", this.InfoType);
}
}
}

View File

@@ -0,0 +1,89 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetDetectInfoResponse : AbstractModel
{
/// <summary>
/// JSON字符串。
/// {
/// // 文本类信息
/// "Text": {
/// "ErrCode": null, // 本次核身最终结果。0为成功
/// "ErrMsg": null, // 本次核身最终结果信息描述。
/// "IdCard": "", // 本次核身最终获得的身份证号。
/// "Name": "", // 本次核身最终获得的姓名。
/// "OcrNation": null, // ocr阶段获取的民族
/// "OcrAddress": null, // ocr阶段获取的地址
/// "OcrBirth": null, // ocr阶段获取的出生信息
/// "OcrAuthority": null, // ocr阶段获取的证件签发机关
/// "OcrValidDate": null, // ocr阶段获取的证件有效期
/// "OcrName": null, // ocr阶段获取的姓名
/// "OcrIdCard": null, // ocr阶段获取的身份证号
/// "OcrGender": null, // ocr阶段获取的性别
/// "LiveStatus": null, // 活体检测阶段的错误码。0为成功
/// "LiveMsg": null, // 活体检测阶段的错误信息
/// "Comparestatus": null,// 一比一阶段的错误码。0为成功
/// "Comparemsg": null, // 一比一阶段的错误信息
/// "Location": null, // 地理位置信息
/// "Extra": "", // DetectAuth结果传进来的Extra信息
/// "Detail": { // 活体一比一信息详情
/// "LivenessData": []
/// }
/// },
/// // 身份证正反面照片Base64
/// "IdCardData": {
/// "OcrFront": null,
/// "OcrBack": null
/// },
/// // 视频最佳帧截图Base64
/// "BestFrame": {
/// "BestFrame": null
/// },
/// // 活体视频Base64
/// "VideoData": {
/// "LivenessVideo": null
/// }
/// }
/// </summary>
[JsonProperty("DetectInfo")]
public string DetectInfo{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "DetectInfo", this.DetectInfo);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetLiveCodeRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetLiveCodeResponse : AbstractModel
{
/// <summary>
/// 数字验证码1234
/// </summary>
[JsonProperty("LiveCode")]
public string LiveCode{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "LiveCode", this.LiveCode);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class IdCardOCRVerificationRequest : AbstractModel
{
/// <summary>
/// 身份证号
/// 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 身份证人像面的 Base64 值
/// 支持的图片格式PNG、JPG、JPEG暂不支持 GIF 格式。
/// 支持的图片大小所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
/// </summary>
[JsonProperty("ImageBase64")]
public string ImageBase64{ get; set; }
/// <summary>
/// 身份证人像面的 Url 地址
/// 支持的图片格式PNG、JPG、JPEG暂不支持 GIF 格式。
/// 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
/// 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
/// 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
/// </summary>
[JsonProperty("ImageUrl")]
public string ImageUrl{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "ImageBase64", this.ImageBase64);
this.SetParamSimple(map, prefix + "ImageUrl", this.ImageUrl);
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class IdCardOCRVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码,收费情况如下。
/// 收费结果码:
/// 0: 姓名和身份证号一致
/// -1: 姓名和身份证号不一致
/// 不收费结果码:
/// -2: 非法身份证号(长度、校验位等不正确)
/// -3: 非法姓名(长度、格式等不正确)
/// -4: 证件库服务异常
/// -5: 证件库中无此身份证记录
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 用于验证的姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 用于验证的身份证号
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// OCR得到的性别
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Sex")]
public string Sex{ get; set; }
/// <summary>
/// OCR得到的民族
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Nation")]
public string Nation{ get; set; }
/// <summary>
/// OCR得到的生日
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Birth")]
public string Birth{ get; set; }
/// <summary>
/// OCR得到的地址
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Address")]
public string Address{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Sex", this.Sex);
this.SetParamSimple(map, prefix + "Nation", this.Nation);
this.SetParamSimple(map, prefix + "Birth", this.Birth);
this.SetParamSimple(map, prefix + "Address", this.Address);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class IdCardVerificationRequest : AbstractModel
{
/// <summary>
/// 身份证号
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class IdCardVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码,收费情况如下。
/// 收费结果码:
/// 0: 姓名和身份证号一致
/// -1: 姓名和身份证号不一致
/// 不收费结果码:
/// -2: 非法身份证号(长度、校验位等不正确)
/// -3: 非法姓名(长度、格式等不正确)
/// -4: 证件库服务异常
/// -5: 证件库中无此身份证记录
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ImageRecognitionRequest : AbstractModel
{
/// <summary>
/// 身份证号
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名。中文请使用UTF-8编码。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 用于人脸比对的照片图片的BASE64值
/// BASE64编码后的图片数据大小不超过3M仅支持jpg、png格式。
/// </summary>
[JsonProperty("ImageBase64")]
public string ImageBase64{ get; set; }
/// <summary>
/// 本接口不需要传递此参数。
/// </summary>
[JsonProperty("Optional")]
public string Optional{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "ImageBase64", this.ImageBase64);
this.SetParamSimple(map, prefix + "Optional", this.Optional);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ImageRecognitionResponse : AbstractModel
{
/// <summary>
/// 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人可根据具体场景自行调整阈值阈值70的误通过率为千分之一阈值80的误通过率是万分之一
/// </summary>
[JsonProperty("Sim")]
public float? Sim{ get; set; }
/// <summary>
/// 业务错误码成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Sim", this.Sim);
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessCompareRequest : AbstractModel
{
/// <summary>
/// 用于人脸比对的照片图片的BASE64值
/// BASE64编码后的图片数据大小不超过3M仅支持jpg、png格式。
/// </summary>
[JsonProperty("ImageBase64")]
public string ImageBase64{ get; set; }
/// <summary>
/// 用于活体检测的视频视频的BASE64值
/// BASE64编码后的大小不超过5M支持mp4、avi、flv格式。
/// </summary>
[JsonProperty("VideoBase64")]
public string VideoBase64{ get; set; }
/// <summary>
/// 活体检测类型取值LIP/ACTION/SILENT。
/// LIP为数字模式ACTION为动作模式SILENT为静默模式三种模式选择一种传入。
/// </summary>
[JsonProperty("LivenessType")]
public string LivenessType{ get; set; }
/// <summary>
/// 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
/// 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
/// 静默模式传参:空。
/// </summary>
[JsonProperty("ValidateData")]
public string ValidateData{ get; set; }
/// <summary>
/// 本接口不需要传递此参数。
/// </summary>
[JsonProperty("Optional")]
public string Optional{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ImageBase64", this.ImageBase64);
this.SetParamSimple(map, prefix + "VideoBase64", this.VideoBase64);
this.SetParamSimple(map, prefix + "LivenessType", this.LivenessType);
this.SetParamSimple(map, prefix + "ValidateData", this.ValidateData);
this.SetParamSimple(map, prefix + "Optional", this.Optional);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessCompareResponse : AbstractModel
{
/// <summary>
/// 验证通过后的视频最佳截图照片照片为BASE64编码后的值jpg格式。
/// </summary>
[JsonProperty("BestFrameBase64")]
public string BestFrameBase64{ get; set; }
/// <summary>
/// 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人可根据具体场景自行调整阈值阈值70的误通过率为千分之一阈值80的误通过率是万分之一
/// </summary>
[JsonProperty("Sim")]
public float? Sim{ get; set; }
/// <summary>
/// 业务错误码成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BestFrameBase64", this.BestFrameBase64);
this.SetParamSimple(map, prefix + "Sim", this.Sim);
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessRecognitionRequest : AbstractModel
{
/// <summary>
/// 身份证号
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名。中文请使用UTF-8编码。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 用于活体检测的视频视频的BASE64值
/// BASE64编码后的大小不超过5M支持mp4、avi、flv格式。
/// </summary>
[JsonProperty("VideoBase64")]
public string VideoBase64{ get; set; }
/// <summary>
/// 活体检测类型取值LIP/ACTION/SILENT。
/// LIP为数字模式ACTION为动作模式SILENT为静默模式三种模式选择一种传入。
/// </summary>
[JsonProperty("LivenessType")]
public string LivenessType{ get; set; }
/// <summary>
/// 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
/// 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
/// 静默模式传参:空。
/// </summary>
[JsonProperty("ValidateData")]
public string ValidateData{ get; set; }
/// <summary>
/// 本接口不需要传递此参数。
/// </summary>
[JsonProperty("Optional")]
public string Optional{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "VideoBase64", this.VideoBase64);
this.SetParamSimple(map, prefix + "LivenessType", this.LivenessType);
this.SetParamSimple(map, prefix + "ValidateData", this.ValidateData);
this.SetParamSimple(map, prefix + "Optional", this.Optional);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessRecognitionResponse : AbstractModel
{
/// <summary>
/// 验证通过后的视频最佳截图照片照片为BASE64编码后的值jpg格式。
/// </summary>
[JsonProperty("BestFrameBase64")]
public string BestFrameBase64{ get; set; }
/// <summary>
/// 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人可根据具体场景自行调整阈值阈值70的误通过率为千分之一阈值80的误通过率是万分之一
/// </summary>
[JsonProperty("Sim")]
public float? Sim{ get; set; }
/// <summary>
/// 业务错误码成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BestFrameBase64", this.BestFrameBase64);
this.SetParamSimple(map, prefix + "Sim", this.Sim);
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,68 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessRequest : AbstractModel
{
/// <summary>
/// 用于活体检测的视频视频的BASE64值
/// BASE64编码后的大小不超过5M支持mp4、avi、flv格式。
/// </summary>
[JsonProperty("VideoBase64")]
public string VideoBase64{ get; set; }
/// <summary>
/// 活体检测类型取值LIP/ACTION/SILENT。
/// LIP为数字模式ACTION为动作模式SILENT为静默模式三种模式选择一种传入。
/// </summary>
[JsonProperty("LivenessType")]
public string LivenessType{ get; set; }
/// <summary>
/// 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
/// 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
/// 静默模式传参:不需要传递此参数。
/// </summary>
[JsonProperty("ValidateData")]
public string ValidateData{ get; set; }
/// <summary>
/// 本接口不需要传递此参数。
/// </summary>
[JsonProperty("Optional")]
public string Optional{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VideoBase64", this.VideoBase64);
this.SetParamSimple(map, prefix + "LivenessType", this.LivenessType);
this.SetParamSimple(map, prefix + "ValidateData", this.ValidateData);
this.SetParamSimple(map, prefix + "Optional", this.Optional);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LivenessResponse : AbstractModel
{
/// <summary>
/// 验证通过后的视频最佳截图照片照片为BASE64编码后的值jpg格式。
/// </summary>
[JsonProperty("BestFrameBase64")]
public string BestFrameBase64{ get; set; }
/// <summary>
/// 业务错误码成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BestFrameBase64", this.BestFrameBase64);
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,68 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MinorsVerificationRequest : AbstractModel
{
/// <summary>
/// 参与校验的参数类型。
/// 0使用手机号进行校验
/// 1使用姓名与身份证号进行校验。
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 手机号11位数字
/// 特别提示:
/// 手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
/// </summary>
[JsonProperty("Mobile")]
public string Mobile{ get; set; }
/// <summary>
/// 身份证号码。
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "Mobile", this.Mobile);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
}
}
}

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MinorsVerificationResponse : AbstractModel
{
/// <summary>
/// 结果码,收费情况如下。
/// 收费结果码:
/// 0: 成年
/// -1: 未成年
/// -2: 手机号未实名
/// -3: 姓名和身份证号不一致
///
/// 不收费结果码:
/// -4: 非法身份证号(长度、校验位等不正确)
/// -5: 非法姓名(长度、格式等不正确)
/// -6: 数据源服务异常
/// -7: 数据源中无此身份证记录
/// -8: 公安比对系统升级中,请稍后再试
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 当结果码为0或者-1时该字段的值为年龄区间。
/// 格式为[a,b)表示年龄在a岁以上包括a岁b岁以下不包括b岁。若b为+时表示没有上限。
/// </summary>
[JsonProperty("AgeRange")]
public string AgeRange{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "AgeRange", this.AgeRange);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MobileNetworkTimeVerificationRequest : AbstractModel
{
/// <summary>
/// 手机号码。不支持电信手机号。
/// </summary>
[JsonProperty("Mobile")]
public string Mobile{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Mobile", this.Mobile);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MobileNetworkTimeVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码,收费情况如下。
/// 收费结果码:
/// 0: 成功
/// -2: 手机号不存在
/// -3: 手机号存在,但无法查询到在网时长
/// 不收费结果码:
/// -1: 手机号格式不正确
/// -4: 验证中心服务繁忙
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 在网时长区间。
/// 格式为(a,b]表示在网时长在a个月以上b个月以下。若b为+时表示没有上限。
/// </summary>
[JsonProperty("Range")]
public string Range{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "Range", this.Range);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MobileStatusRequest : AbstractModel
{
/// <summary>
/// 手机号码
/// </summary>
[JsonProperty("Mobile")]
public string Mobile{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Mobile", this.Mobile);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MobileStatusResponse : AbstractModel
{
/// <summary>
/// 认证结果码,收费情况如下。
/// 收费结果码:
/// 0成功
/// 不收费结果码:
/// -1未查询到结果
/// -2手机号格式不正确
/// -3验证中心服务繁忙
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 状态码:
/// 0正常
/// 1停机
/// 2销号
/// 3空号
/// 4不在网
/// 99未知状态
/// </summary>
[JsonProperty("StatusCode")]
public long? StatusCode{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "StatusCode", this.StatusCode);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PhoneVerificationRequest : AbstractModel
{
/// <summary>
/// 身份证号
/// </summary>
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
/// <summary>
/// 姓名
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 手机号
/// </summary>
[JsonProperty("Phone")]
public string Phone{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "Phone", this.Phone);
}
}
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Faceid.V20180301.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PhoneVerificationResponse : AbstractModel
{
/// <summary>
/// 认证结果码:
/// 0: 认证通过
/// -1: 手机号已实名,但是身份证和姓名均与实名信息不一致
/// -2: 手机号已实名,手机号和证件号一致,姓名不一致
/// -3: 手机号已实名,手机号和姓名一致,身份证不一致
/// -4: 信息不一致
/// -5: 手机号未实名
/// -6: 手机号码不合法
/// -7: 身份证号码有误
/// -8: 姓名校验不通过
/// -9: 没有记录
/// -10: 认证未通过
/// -11: 验证中心服务繁忙
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 业务结果描述。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}