public class CompareResult extends AbstractModel
Constructor and Description |
---|
CompareResult() |
CompareResult(CompareResult source)
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.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
getBestFrame()
Get The best face screenshot in this liveness detection.
|
FileInfo |
getCardInfoInputJson()
Get The identity document photo info edited by the user in JSON.
|
String |
getCompareErrorCode()
Get The code of the face comparison result.
|
String |
getCompareErrorMsg()
Get The description of the face comparison result.
|
String |
getErrorCode()
Get The final comparison result.
|
String |
getErrorMsg()
Get The description of the final comparison result.
|
Boolean |
getIsNeedCharge()
Get This field is disused.
|
FileInfo |
getLiveData()
Get
|
String |
getLiveErrorCode()
Get The code of the liveness detection result.
|
String |
getLiveErrorMsg()
Get The description of the liveness detection result.
|
FileInfo |
getLiveVideo()
Get The video for this liveness detection process.
|
FileInfo |
getProfileImage()
Get The profile photo screenshot from the identity document.
|
String |
getRequestId()
Get The request ID of this verification process.
|
Float |
getSim()
Get Similarity
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setBestFrame(FileInfo BestFrame)
Set The best face screenshot in this liveness detection.
|
void |
setCardInfoInputJson(FileInfo CardInfoInputJson)
Set The identity document photo info edited by the user in JSON.
|
void |
setCompareErrorCode(String CompareErrorCode)
Set The code of the face comparison result.
|
void |
setCompareErrorMsg(String CompareErrorMsg)
Set The description of the face comparison result.
|
void |
setErrorCode(String ErrorCode)
Set The final comparison result.
|
void |
setErrorMsg(String ErrorMsg)
Set The description of the final comparison result.
|
void |
setIsNeedCharge(Boolean IsNeedCharge)
Set This field is disused.
|
void |
setLiveData(FileInfo LiveData)
Set
|
void |
setLiveErrorCode(String LiveErrorCode)
Set The code of the liveness detection result.
|
void |
setLiveErrorMsg(String LiveErrorMsg)
Set The description of the liveness detection result.
|
void |
setLiveVideo(FileInfo LiveVideo)
Set The video for this liveness detection process.
|
void |
setProfileImage(FileInfo ProfileImage)
Set The profile photo screenshot from the identity document.
|
void |
setRequestId(String RequestId)
Set The request ID of this verification process.
|
void |
setSim(Float Sim)
Set Similarity
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CompareResult()
public CompareResult(CompareResult source)
public String getErrorCode()
public void setErrorCode(String ErrorCode)
ErrorCode
- The final comparison result.public String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg
- The description of the final comparison result.public FileInfo getLiveData()
public void setLiveData(FileInfo LiveData)
LiveData
- public FileInfo getLiveVideo()
public void setLiveVideo(FileInfo LiveVideo)
LiveVideo
- The video for this liveness detection process. The URL is valid for 10 minutes.public String getLiveErrorCode()
public void setLiveErrorCode(String LiveErrorCode)
LiveErrorCode
- The code of the liveness detection result.public String getLiveErrorMsg()
public void setLiveErrorMsg(String LiveErrorMsg)
LiveErrorMsg
- The description of the liveness detection result.public FileInfo getBestFrame()
public void setBestFrame(FileInfo BestFrame)
BestFrame
- The best face screenshot in this liveness detection. The URL is valid for 10 minutes.
Note: This field may return null, indicating that no valid values can be obtained.public FileInfo getProfileImage()
public void setProfileImage(FileInfo ProfileImage)
ProfileImage
- The profile photo screenshot from the identity document. The URL is valid for 10 minutes.public String getCompareErrorCode()
public void setCompareErrorCode(String CompareErrorCode)
CompareErrorCode
- The code of the face comparison result.
Note: This field may return null, indicating that no valid values can be obtained.public String getCompareErrorMsg()
public void setCompareErrorMsg(String CompareErrorMsg)
CompareErrorMsg
- The description of the face comparison result.
Note: This field may return null, indicating that no valid values can be obtained.public Float getSim()
public void setSim(Float Sim)
Sim
- Similarity
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsNeedCharge()
public void setIsNeedCharge(Boolean IsNeedCharge)
IsNeedCharge
- This field is disused.public FileInfo getCardInfoInputJson()
public void setCardInfoInputJson(FileInfo CardInfoInputJson)
CardInfoInputJson
- The identity document photo info edited by the user in JSON. If the value of `DisableChangeOcrResult` is `true`, the editing feature is disabled and this field does not exist. The URL is valid for 10 minutes.
When the value of `IdCardType` is `HK`:
- CnName string: Chinese name
- EnName string: English name
- TelexCode string: The code corresponding to the Chinese name
- Sex string: Gender. Valid values: `M` (male) and `F` (female).
- Birthday string: Date of birth.
- Permanent int: Whether it is a permanent residence identity card. Valid values: `0` (non-permanent), `1` (permanent), and `-1` (unknown).
- IdNum string: ID number.
- Symbol string: The ID symbol below the date of birth, such as "***AZ".
- FirstIssueDate string: The date of first issuance.
- CurrentIssueDate string: The date of latest issuance.
When the value of `IdCardType` is `ML`:
- Sex string: `LELAKI` (male) and `PEREMPUAN` (female).
- Birthday string
- ID string
- Name string
- Address string
- Type string: Identity document type.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The request ID of this verification process.Copyright © 2023. All rights reserved.