/* * 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 { /// /// 本次流程最终验证结果。0为成功 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ErrCode")] public long? ErrCode{ get; set; } /// /// 本次流程最终验证结果描述。(仅描述用,文案更新时不会通知。) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ErrMsg")] public string ErrMsg{ get; set; } /// /// 本次验证使用的身份证号。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IdCard")] public string IdCard{ get; set; } /// /// 本次验证使用的姓名。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// Ocr识别结果。民族。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrNation")] public string OcrNation{ get; set; } /// /// Ocr识别结果。家庭住址。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrAddress")] public string OcrAddress{ get; set; } /// /// Ocr识别结果。生日。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrBirth")] public string OcrBirth{ get; set; } /// /// Ocr识别结果。签发机关。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrAuthority")] public string OcrAuthority{ get; set; } /// /// Ocr识别结果。有效日期。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrValidDate")] public string OcrValidDate{ get; set; } /// /// Ocr识别结果。姓名。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrName")] public string OcrName{ get; set; } /// /// Ocr识别结果。身份证号。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrIdCard")] public string OcrIdCard{ get; set; } /// /// Ocr识别结果。性别。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OcrGender")] public string OcrGender{ get; set; } /// /// 本次流程最终活体结果。0为成功 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LiveStatus")] public long? LiveStatus{ get; set; } /// /// 本次流程最终活体结果描述。(仅描述用,文案更新时不会通知。) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LiveMsg")] public string LiveMsg{ get; set; } /// /// 本次流程最终一比一结果。0为成功 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Comparestatus")] public long? Comparestatus{ get; set; } /// /// 本次流程最终一比一结果描述。(仅描述用,文案更新时不会通知。) /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Comparemsg")] public string Comparemsg{ get; set; } /// /// 本次流程活体一比一的分数。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Sim")] public string Sim{ get; set; } /// /// 地理位置经纬度。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Location")] public string Location{ get; set; } /// /// Auth接口带入额外信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Extra")] public string Extra{ get; set; } /// /// 本次流程进行的活体一比一流水。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LivenessDetail")] public DetectDetail[] LivenessDetail{ get; set; } /// /// 手机号码。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Mobile")] public string Mobile{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }