
com.tencentcloudapi.faceid.v20180301.models.LivenessRecognitionRequest 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 LivenessRecognitionRequest extends AbstractModel{
/**
* 身份证号
*/
@SerializedName("IdCard")
@Expose
private String IdCard;
/**
* 姓名。中文请使用UTF-8编码。
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 用于活体检测的视频,视频的BASE64值;
BASE64编码后的大小不超过5M,支持mp4、avi、flv格式。
*/
@SerializedName("VideoBase64")
@Expose
private String VideoBase64;
/**
* 活体检测类型,取值:LIP/ACTION/SILENT。
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
*/
@SerializedName("LivenessType")
@Expose
private String LivenessType;
/**
* 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
静默模式传参:空。
*/
@SerializedName("ValidateData")
@Expose
private String ValidateData;
/**
* 本接口不需要传递此参数。
*/
@SerializedName("Optional")
@Expose
private String Optional;
/**
* Get 身份证号
* @return IdCard 身份证号
*/
public String getIdCard() {
return this.IdCard;
}
/**
* Set 身份证号
* @param IdCard 身份证号
*/
public void setIdCard(String IdCard) {
this.IdCard = IdCard;
}
/**
* Get 姓名。中文请使用UTF-8编码。
* @return Name 姓名。中文请使用UTF-8编码。
*/
public String getName() {
return this.Name;
}
/**
* Set 姓名。中文请使用UTF-8编码。
* @param Name 姓名。中文请使用UTF-8编码。
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 用于活体检测的视频,视频的BASE64值;
BASE64编码后的大小不超过5M,支持mp4、avi、flv格式。
* @return VideoBase64 用于活体检测的视频,视频的BASE64值;
BASE64编码后的大小不超过5M,支持mp4、avi、flv格式。
*/
public String getVideoBase64() {
return this.VideoBase64;
}
/**
* Set 用于活体检测的视频,视频的BASE64值;
BASE64编码后的大小不超过5M,支持mp4、avi、flv格式。
* @param VideoBase64 用于活体检测的视频,视频的BASE64值;
BASE64编码后的大小不超过5M,支持mp4、avi、flv格式。
*/
public void setVideoBase64(String VideoBase64) {
this.VideoBase64 = VideoBase64;
}
/**
* Get 活体检测类型,取值:LIP/ACTION/SILENT。
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
* @return LivenessType 活体检测类型,取值:LIP/ACTION/SILENT。
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
*/
public String getLivenessType() {
return this.LivenessType;
}
/**
* Set 活体检测类型,取值:LIP/ACTION/SILENT。
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
* @param LivenessType 活体检测类型,取值:LIP/ACTION/SILENT。
LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
*/
public void setLivenessType(String LivenessType) {
this.LivenessType = LivenessType;
}
/**
* Get 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
静默模式传参:空。
* @return ValidateData 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
静默模式传参:空。
*/
public String getValidateData() {
return this.ValidateData;
}
/**
* Set 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
静默模式传参:空。
* @param ValidateData 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
静默模式传参:空。
*/
public void setValidateData(String ValidateData) {
this.ValidateData = ValidateData;
}
/**
* Get 本接口不需要传递此参数。
* @return Optional 本接口不需要传递此参数。
*/
public String getOptional() {
return this.Optional;
}
/**
* Set 本接口不需要传递此参数。
* @param Optional 本接口不需要传递此参数。
*/
public void setOptional(String Optional) {
this.Optional = Optional;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "IdCard", this.IdCard);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "VideoBase64", this.VideoBase64);
this.setParamSimple(map, prefix + "LivenessType", this.LivenessType);
this.setParamSimple(map, prefix + "ValidateData", this.ValidateData);
this.setParamSimple(map, prefix + "Optional", this.Optional);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy