/*
* 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 MinorsVerificationRequest : AbstractModel
{
///
/// 参与校验的参数类型。
/// 0:使用手机号进行校验;
/// 1:使用姓名与身份证号进行校验。
///
[JsonProperty("Type")]
public string Type{ get; set; }
///
/// 手机号,11位数字,
/// 特别提示:
/// 手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
///
[JsonProperty("Mobile")]
public string Mobile{ get; set; }
///
/// 身份证号码。
///
[JsonProperty("IdCard")]
public string IdCard{ get; set; }
///
/// 姓名。
///
[JsonProperty("Name")]
public string Name{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "Mobile", this.Mobile);
this.SetParamSimple(map, prefix + "IdCard", this.IdCard);
this.SetParamSimple(map, prefix + "Name", this.Name);
}
}
}