com.antgroup.antchain.openapi.realperson.models.ExecFacevrfServerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-realperson Show documentation
Show all versions of openapi-realperson Show documentation
Ant Chain REALPERSON SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.realperson.models;
import com.aliyun.tea.*;
public class ExecFacevrfServerRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 真实姓名
@NameInMap("cert_name")
@Validation(required = true)
public String certName;
// 证件号码
@NameInMap("cert_no")
@Validation(required = true)
public String certNo;
// cert_name、cert_no两个字段的传入模式0:明文1:密文
@NameInMap("enc_type")
public String encType;
// 证件类型,如身份证
@NameInMap("cert_type")
@Validation(required = true)
public String certType;
// 预留扩展参数
@NameInMap("extern_param")
public String externParam;
// 自定义比对源人脸图像,base64编码格式
@NameInMap("facial_picture_ref")
public String facialPictureRef;
// 身份信息来源类型,如证件
@NameInMap("identity_type")
@Validation(required = true)
public String identityType;
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
@NameInMap("outer_order_no")
@Validation(required = true)
public String outerOrderNo;
// 场景ID
@NameInMap("scene_id")
@Validation(required = true)
public String sceneId;
// 商户自定义的用户ID
@NameInMap("user_id")
public String userId;
// 用户的IP
@NameInMap("user_ip")
public String userIp;
// 用户的手机号(或其哈希值)
@NameInMap("user_mobile")
public String userMobile;
// 待认证的人脸图像,base64编码格式
@NameInMap("facial_picture_auth")
@Validation(required = true)
public String facialPictureAuth;
public static ExecFacevrfServerRequest build(java.util.Map map) throws Exception {
ExecFacevrfServerRequest self = new ExecFacevrfServerRequest();
return TeaModel.build(map, self);
}
public ExecFacevrfServerRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public ExecFacevrfServerRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public ExecFacevrfServerRequest setCertName(String certName) {
this.certName = certName;
return this;
}
public String getCertName() {
return this.certName;
}
public ExecFacevrfServerRequest setCertNo(String certNo) {
this.certNo = certNo;
return this;
}
public String getCertNo() {
return this.certNo;
}
public ExecFacevrfServerRequest setEncType(String encType) {
this.encType = encType;
return this;
}
public String getEncType() {
return this.encType;
}
public ExecFacevrfServerRequest setCertType(String certType) {
this.certType = certType;
return this;
}
public String getCertType() {
return this.certType;
}
public ExecFacevrfServerRequest setExternParam(String externParam) {
this.externParam = externParam;
return this;
}
public String getExternParam() {
return this.externParam;
}
public ExecFacevrfServerRequest setFacialPictureRef(String facialPictureRef) {
this.facialPictureRef = facialPictureRef;
return this;
}
public String getFacialPictureRef() {
return this.facialPictureRef;
}
public ExecFacevrfServerRequest setIdentityType(String identityType) {
this.identityType = identityType;
return this;
}
public String getIdentityType() {
return this.identityType;
}
public ExecFacevrfServerRequest setOuterOrderNo(String outerOrderNo) {
this.outerOrderNo = outerOrderNo;
return this;
}
public String getOuterOrderNo() {
return this.outerOrderNo;
}
public ExecFacevrfServerRequest setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public ExecFacevrfServerRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public ExecFacevrfServerRequest setUserIp(String userIp) {
this.userIp = userIp;
return this;
}
public String getUserIp() {
return this.userIp;
}
public ExecFacevrfServerRequest setUserMobile(String userMobile) {
this.userMobile = userMobile;
return this;
}
public String getUserMobile() {
return this.userMobile;
}
public ExecFacevrfServerRequest setFacialPictureAuth(String facialPictureAuth) {
this.facialPictureAuth = facialPictureAuth;
return this;
}
public String getFacialPictureAuth() {
return this.facialPictureAuth;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy