/* * 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 MainlandPermitOCRResponse : AbstractModel { /// /// 中文姓名 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// 英文姓名 /// [JsonProperty("EnglishName")] public string EnglishName{ get; set; } /// /// 性别 /// [JsonProperty("Sex")] public string Sex{ get; set; } /// /// 出生日期 /// [JsonProperty("Birthday")] public string Birthday{ get; set; } /// /// 签发机关 /// [JsonProperty("IssueAuthority")] public string IssueAuthority{ get; set; } /// /// 有效期限 /// [JsonProperty("ValidDate")] public string ValidDate{ get; set; } /// /// 证件号 /// [JsonProperty("Number")] public string Number{ get; set; } /// /// 签发地点 /// [JsonProperty("IssueAddress")] public string IssueAddress{ get; set; } /// /// 签发次数 /// [JsonProperty("IssueNumber")] public string IssueNumber{ get; set; } /// /// 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证。 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// RetProfile为True时返回头像字段, Base64编码 /// [JsonProperty("Profile")] public string Profile{ 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 + "EnglishName", this.EnglishName); this.SetParamSimple(map, prefix + "Sex", this.Sex); this.SetParamSimple(map, prefix + "Birthday", this.Birthday); this.SetParamSimple(map, prefix + "IssueAuthority", this.IssueAuthority); this.SetParamSimple(map, prefix + "ValidDate", this.ValidDate); this.SetParamSimple(map, prefix + "Number", this.Number); this.SetParamSimple(map, prefix + "IssueAddress", this.IssueAddress); this.SetParamSimple(map, prefix + "IssueNumber", this.IssueNumber); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "Profile", this.Profile); this.SetParamSimple(map, prefix + "RequestId", this.RequestId); } } }