/*
* 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 DriverLicenseOCRResponse : AbstractModel
{
///
/// 姓名
///
[JsonProperty("Name")]
public string Name{ get; set; }
///
/// 性别
///
[JsonProperty("Sex")]
public string Sex{ get; set; }
///
/// 国籍
///
[JsonProperty("Nationality")]
public string Nationality{ get; set; }
///
/// 住址
///
[JsonProperty("Address")]
public string Address{ get; set; }
///
/// 出生日期
///
[JsonProperty("DateOfBirth")]
public string DateOfBirth{ get; set; }
///
/// 初次领证日期
///
[JsonProperty("DateOfFirstIssue")]
public string DateOfFirstIssue{ get; set; }
///
/// 准驾车型
///
[JsonProperty("Class")]
public string Class{ get; set; }
///
/// 有效期开始时间
///
[JsonProperty("StartDate")]
public string StartDate{ get; set; }
///
/// 有效期截止时间
///
[JsonProperty("EndDate")]
public string EndDate{ get; set; }
///
/// 证号
///
[JsonProperty("CardCode")]
public string CardCode{ get; set; }
///
/// 档案编号
///
[JsonProperty("ArchivesCode")]
public string ArchivesCode{ get; set; }
///
/// 记录
///
[JsonProperty("Record")]
public string Record{ get; set; }
///
/// Code 告警码列表和释义:
/// -9102 复印件告警
/// -9103 翻拍件告警
/// -9106 ps告警
/// 注:告警码可以同时存在多个
///
[JsonProperty("RecognizeWarnCode")]
public long?[] RecognizeWarnCode{ get; set; }
///
/// 告警码说明:
/// WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
/// WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
/// WARN_DRIVER_LICENSE_PS_CARD ps告警
/// 注:告警信息可以同时存在多个
///
[JsonProperty("RecognizeWarnMsg")]
public string[] RecognizeWarnMsg{ get; set; }
///
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
///
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "Sex", this.Sex);
this.SetParamSimple(map, prefix + "Nationality", this.Nationality);
this.SetParamSimple(map, prefix + "Address", this.Address);
this.SetParamSimple(map, prefix + "DateOfBirth", this.DateOfBirth);
this.SetParamSimple(map, prefix + "DateOfFirstIssue", this.DateOfFirstIssue);
this.SetParamSimple(map, prefix + "Class", this.Class);
this.SetParamSimple(map, prefix + "StartDate", this.StartDate);
this.SetParamSimple(map, prefix + "EndDate", this.EndDate);
this.SetParamSimple(map, prefix + "CardCode", this.CardCode);
this.SetParamSimple(map, prefix + "ArchivesCode", this.ArchivesCode);
this.SetParamSimple(map, prefix + "Record", this.Record);
this.SetParamArraySimple(map, prefix + "RecognizeWarnCode.", this.RecognizeWarnCode);
this.SetParamArraySimple(map, prefix + "RecognizeWarnMsg.", this.RecognizeWarnMsg);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}