Files
g.hnyhua.cn/TencentCloud/Ocr/V20181119/Models/IDCardOCRResponse.cs
2026-02-07 15:48:27 +08:00

118 lines
4.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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.Ocr.V20181119.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class IDCardOCRResponse : AbstractModel
{
/// <summary>
/// 姓名(人像面)
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 性别(人像面)
/// </summary>
[JsonProperty("Sex")]
public string Sex{ get; set; }
/// <summary>
/// 民族(人像面)
/// </summary>
[JsonProperty("Nation")]
public string Nation{ get; set; }
/// <summary>
/// 出生日期(人像面)
/// </summary>
[JsonProperty("Birth")]
public string Birth{ get; set; }
/// <summary>
/// 地址(人像面)
/// </summary>
[JsonProperty("Address")]
public string Address{ get; set; }
/// <summary>
/// 身份证号(人像面)
/// </summary>
[JsonProperty("IdNum")]
public string IdNum{ get; set; }
/// <summary>
/// 发证机关(国徽面)
/// </summary>
[JsonProperty("Authority")]
public string Authority{ get; set; }
/// <summary>
/// 证件有效期(国徽面)
/// </summary>
[JsonProperty("ValidDate")]
public string ValidDate{ get; set; }
/// <summary>
/// 扩展信息不请求则不返回具体输入参考示例3和示例4。
/// IdCard裁剪后身份证照片的base64编码请求 CropIdCard 时返回;
/// Portrait身份证头像照片的base64编码请求 CropPortrait 时返回;
/// QualityValue图片质量分请求 Quality 时返回取值范围0~100分数越低越模糊建议阈值≥50;
/// WarnInfos告警信息Code 告警码列表和释义:
/// -9100 身份证有效日期不合法告警,
/// -9101 身份证边框不完整告警,
/// -9102 身份证复印件告警,
/// -9103 身份证翻拍告警,
/// -9105 身份证框内遮挡告警,
/// -9104 临时身份证告警,
/// -9106 身份证 PS 告警。
/// </summary>
[JsonProperty("AdvancedInfo")]
public string AdvancedInfo{ 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 + "Name", this.Name);
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 + "IdNum", this.IdNum);
this.SetParamSimple(map, prefix + "Authority", this.Authority);
this.SetParamSimple(map, prefix + "ValidDate", this.ValidDate);
this.SetParamSimple(map, prefix + "AdvancedInfo", this.AdvancedInfo);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}