/*
* 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 PassportOCRResponse : AbstractModel
{
///
/// 国家码
///
[JsonProperty("Country")]
public string Country{ get; set; }
///
/// 护照号
///
[JsonProperty("PassportNo")]
public string PassportNo{ get; set; }
///
/// 性别
///
[JsonProperty("Sex")]
public string Sex{ get; set; }
///
/// 国籍
///
[JsonProperty("Nationality")]
public string Nationality{ get; set; }
///
/// 出生日期
///
[JsonProperty("BirthDate")]
public string BirthDate{ get; set; }
///
/// 出生地点
///
[JsonProperty("BirthPlace")]
public string BirthPlace{ get; set; }
///
/// 签发日期
///
[JsonProperty("IssueDate")]
public string IssueDate{ get; set; }
///
/// 签发地点
///
[JsonProperty("IssuePlace")]
public string IssuePlace{ get; set; }
///
/// 有效期
///
[JsonProperty("ExpiryDate")]
public string ExpiryDate{ get; set; }
///
/// 持证人签名
///
[JsonProperty("Signature")]
public string Signature{ get; set; }
///
/// 最下方第一行 MRZ Code 序列
///
[JsonProperty("CodeSet")]
public string CodeSet{ get; set; }
///
/// 最下方第二行 MRZ Code 序列
///
[JsonProperty("CodeCrc")]
public string CodeCrc{ get; set; }
///
/// 姓名
///
[JsonProperty("Name")]
public string Name{ get; set; }
///
/// 姓
///
[JsonProperty("FamilyName")]
public string FamilyName{ get; set; }
///
/// 名
///
[JsonProperty("FirstName")]
public string FirstName{ 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 + "Country", this.Country);
this.SetParamSimple(map, prefix + "PassportNo", this.PassportNo);
this.SetParamSimple(map, prefix + "Sex", this.Sex);
this.SetParamSimple(map, prefix + "Nationality", this.Nationality);
this.SetParamSimple(map, prefix + "BirthDate", this.BirthDate);
this.SetParamSimple(map, prefix + "BirthPlace", this.BirthPlace);
this.SetParamSimple(map, prefix + "IssueDate", this.IssueDate);
this.SetParamSimple(map, prefix + "IssuePlace", this.IssuePlace);
this.SetParamSimple(map, prefix + "ExpiryDate", this.ExpiryDate);
this.SetParamSimple(map, prefix + "Signature", this.Signature);
this.SetParamSimple(map, prefix + "CodeSet", this.CodeSet);
this.SetParamSimple(map, prefix + "CodeCrc", this.CodeCrc);
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "FamilyName", this.FamilyName);
this.SetParamSimple(map, prefix + "FirstName", this.FirstName);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}