
com.tencentcloudapi.faceid.v20180301.models.MinorsVerificationRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-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.
*/
package com.tencentcloudapi.faceid.v20180301.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class MinorsVerificationRequest extends AbstractModel{
/**
* 参与校验的参数类型。
0:使用手机号进行校验;
1:使用姓名与身份证号进行校验。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 手机号,11位数字,
特别提示:
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
*/
@SerializedName("Mobile")
@Expose
private String Mobile;
/**
* 身份证号码。
*/
@SerializedName("IdCard")
@Expose
private String IdCard;
/**
* 姓名。
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
*/
@SerializedName("Encryption")
@Expose
private Encryption Encryption;
/**
* Get 参与校验的参数类型。
0:使用手机号进行校验;
1:使用姓名与身份证号进行校验。
* @return Type 参与校验的参数类型。
0:使用手机号进行校验;
1:使用姓名与身份证号进行校验。
*/
public String getType() {
return this.Type;
}
/**
* Set 参与校验的参数类型。
0:使用手机号进行校验;
1:使用姓名与身份证号进行校验。
* @param Type 参与校验的参数类型。
0:使用手机号进行校验;
1:使用姓名与身份证号进行校验。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 手机号,11位数字,
特别提示:
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
* @return Mobile 手机号,11位数字,
特别提示:
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
*/
public String getMobile() {
return this.Mobile;
}
/**
* Set 手机号,11位数字,
特别提示:
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
* @param Mobile 手机号,11位数字,
特别提示:
手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。
*/
public void setMobile(String Mobile) {
this.Mobile = Mobile;
}
/**
* Get 身份证号码。
* @return IdCard 身份证号码。
*/
public String getIdCard() {
return this.IdCard;
}
/**
* Set 身份证号码。
* @param IdCard 身份证号码。
*/
public void setIdCard(String IdCard) {
this.IdCard = IdCard;
}
/**
* Get 姓名。
* @return Name 姓名。
*/
public String getName() {
return this.Name;
}
/**
* Set 姓名。
* @param Name 姓名。
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
* @return Encryption 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
*/
public Encryption getEncryption() {
return this.Encryption;
}
/**
* Set 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
* @param Encryption 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
*/
public void setEncryption(Encryption Encryption) {
this.Encryption = Encryption;
}
public MinorsVerificationRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public MinorsVerificationRequest(MinorsVerificationRequest source) {
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.Mobile != null) {
this.Mobile = new String(source.Mobile);
}
if (source.IdCard != null) {
this.IdCard = new String(source.IdCard);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Encryption != null) {
this.Encryption = new Encryption(source.Encryption);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap 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);
this.setParamObj(map, prefix + "Encryption.", this.Encryption);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy