![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.faceid.v20180301.models.GetWebVerificationResultIntlResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class GetWebVerificationResultIntlResponse extends AbstractModel {
/**
* The final result of this verification. `0` indicates that the person is the same as that in the photo.
For other error codes, see Liveness Detection and Face Comparison (Mobile HTML5) Error Codes
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ErrorCode")
@Expose
private Long ErrorCode;
/**
* The description of the final verification result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ErrorMsg")
@Expose
private String ErrorMsg;
/**
* The detailed verification result list of this process. Retries are allowed, so a verification process may have several entries of results.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("VerificationDetailList")
@Expose
private VerificationDetail [] VerificationDetailList;
/**
* The Base64-encoded string of the video collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no video is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("VideoBase64")
@Expose
private String VideoBase64;
/**
* The Base64-encoded string of the best face screenshot collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no best face screenshot is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("BestFrameBase64")
@Expose
private String BestFrameBase64;
/**
* Card recognize result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("OCRResult")
@Expose
private OCRResult [] OCRResult;
/**
* The passthrough parameter of the business, max 1,000 characters, which will be returned in GetWebVerificationResultIntl.
*/
@SerializedName("Extra")
@Expose
private String Extra;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get The final result of this verification. `0` indicates that the person is the same as that in the photo.
For other error codes, see Liveness Detection and Face Comparison (Mobile HTML5) Error Codes
Note: This field may return null, indicating that no valid values can be obtained.
* @return ErrorCode The final result of this verification. `0` indicates that the person is the same as that in the photo.
For other error codes, see Liveness Detection and Face Comparison (Mobile HTML5) Error Codes
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getErrorCode() {
return this.ErrorCode;
}
/**
* Set The final result of this verification. `0` indicates that the person is the same as that in the photo.
For other error codes, see Liveness Detection and Face Comparison (Mobile HTML5) Error Codes
Note: This field may return null, indicating that no valid values can be obtained.
* @param ErrorCode The final result of this verification. `0` indicates that the person is the same as that in the photo.
For other error codes, see Liveness Detection and Face Comparison (Mobile HTML5) Error Codes
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setErrorCode(Long ErrorCode) {
this.ErrorCode = ErrorCode;
}
/**
* Get The description of the final verification result.
Note: This field may return null, indicating that no valid values can be obtained.
* @return ErrorMsg The description of the final verification result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getErrorMsg() {
return this.ErrorMsg;
}
/**
* Set The description of the final verification result.
Note: This field may return null, indicating that no valid values can be obtained.
* @param ErrorMsg The description of the final verification result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setErrorMsg(String ErrorMsg) {
this.ErrorMsg = ErrorMsg;
}
/**
* Get The detailed verification result list of this process. Retries are allowed, so a verification process may have several entries of results.
Note: This field may return null, indicating that no valid values can be obtained.
* @return VerificationDetailList The detailed verification result list of this process. Retries are allowed, so a verification process may have several entries of results.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public VerificationDetail [] getVerificationDetailList() {
return this.VerificationDetailList;
}
/**
* Set The detailed verification result list of this process. Retries are allowed, so a verification process may have several entries of results.
Note: This field may return null, indicating that no valid values can be obtained.
* @param VerificationDetailList The detailed verification result list of this process. Retries are allowed, so a verification process may have several entries of results.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVerificationDetailList(VerificationDetail [] VerificationDetailList) {
this.VerificationDetailList = VerificationDetailList;
}
/**
* Get The Base64-encoded string of the video collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no video is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
* @return VideoBase64 The Base64-encoded string of the video collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no video is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getVideoBase64() {
return this.VideoBase64;
}
/**
* Set The Base64-encoded string of the video collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no video is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
* @param VideoBase64 The Base64-encoded string of the video collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no video is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVideoBase64(String VideoBase64) {
this.VideoBase64 = VideoBase64;
}
/**
* Get The Base64-encoded string of the best face screenshot collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no best face screenshot is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
* @return BestFrameBase64 The Base64-encoded string of the best face screenshot collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no best face screenshot is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getBestFrameBase64() {
return this.BestFrameBase64;
}
/**
* Set The Base64-encoded string of the best face screenshot collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no best face screenshot is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
* @param BestFrameBase64 The Base64-encoded string of the best face screenshot collected from the video stream. Retries are allowed, and this field returns only the data collected in the last verification. If no best face screenshot is collected, null is returned.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setBestFrameBase64(String BestFrameBase64) {
this.BestFrameBase64 = BestFrameBase64;
}
/**
* Get Card recognize result.
Note: This field may return null, indicating that no valid values can be obtained.
* @return OCRResult Card recognize result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public OCRResult [] getOCRResult() {
return this.OCRResult;
}
/**
* Set Card recognize result.
Note: This field may return null, indicating that no valid values can be obtained.
* @param OCRResult Card recognize result.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setOCRResult(OCRResult [] OCRResult) {
this.OCRResult = OCRResult;
}
/**
* Get The passthrough parameter of the business, max 1,000 characters, which will be returned in GetWebVerificationResultIntl.
* @return Extra The passthrough parameter of the business, max 1,000 characters, which will be returned in GetWebVerificationResultIntl.
*/
public String getExtra() {
return this.Extra;
}
/**
* Set The passthrough parameter of the business, max 1,000 characters, which will be returned in GetWebVerificationResultIntl.
* @param Extra The passthrough parameter of the business, max 1,000 characters, which will be returned in GetWebVerificationResultIntl.
*/
public void setExtra(String Extra) {
this.Extra = Extra;
}
/**
* Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @return RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @param RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public GetWebVerificationResultIntlResponse() {
}
/**
* 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 GetWebVerificationResultIntlResponse(GetWebVerificationResultIntlResponse source) {
if (source.ErrorCode != null) {
this.ErrorCode = new Long(source.ErrorCode);
}
if (source.ErrorMsg != null) {
this.ErrorMsg = new String(source.ErrorMsg);
}
if (source.VerificationDetailList != null) {
this.VerificationDetailList = new VerificationDetail[source.VerificationDetailList.length];
for (int i = 0; i < source.VerificationDetailList.length; i++) {
this.VerificationDetailList[i] = new VerificationDetail(source.VerificationDetailList[i]);
}
}
if (source.VideoBase64 != null) {
this.VideoBase64 = new String(source.VideoBase64);
}
if (source.BestFrameBase64 != null) {
this.BestFrameBase64 = new String(source.BestFrameBase64);
}
if (source.OCRResult != null) {
this.OCRResult = new OCRResult[source.OCRResult.length];
for (int i = 0; i < source.OCRResult.length; i++) {
this.OCRResult[i] = new OCRResult(source.OCRResult[i]);
}
}
if (source.Extra != null) {
this.Extra = new String(source.Extra);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ErrorCode", this.ErrorCode);
this.setParamSimple(map, prefix + "ErrorMsg", this.ErrorMsg);
this.setParamArrayObj(map, prefix + "VerificationDetailList.", this.VerificationDetailList);
this.setParamSimple(map, prefix + "VideoBase64", this.VideoBase64);
this.setParamSimple(map, prefix + "BestFrameBase64", this.BestFrameBase64);
this.setParamArrayObj(map, prefix + "OCRResult.", this.OCRResult);
this.setParamSimple(map, prefix + "Extra", this.Extra);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy