public class DescribeCaptchaResultResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeCaptchaResultResponse() |
DescribeCaptchaResultResponse(DescribeCaptchaResultResponse 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 |
|---|---|
Long |
getCaptchaCode()
Get OK indicates verification passed.
|
String |
getCaptchaMsg()
Get Status description and verification error message.
|
String |
getDeviceRiskCategory()
Get Device risk category.
|
Long |
getEvilBitmap()
Get Blocking type
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getEvilLevel()
Get In invisible verification mode, this parameter returns the verification result.
|
Long |
getGetCaptchaTime()
Get Frontend retrieval time of the captcha-intl, timestamp format.
|
String |
getRequestId()
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).
|
Long |
getScore()
Get CAPTCHA-Intl score.
|
Long |
getSubmitCaptchaTime()
Get The time when the CAPTCHA is submitted.
|
void |
setCaptchaCode(Long CaptchaCode)
Set OK indicates verification passed.
|
void |
setCaptchaMsg(String CaptchaMsg)
Set Status description and verification error message.
|
void |
setDeviceRiskCategory(String DeviceRiskCategory)
Set Device risk category.
|
void |
setEvilBitmap(Long EvilBitmap)
Set Blocking type
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setEvilLevel(Long EvilLevel)
Set In invisible verification mode, this parameter returns the verification result.
|
void |
setGetCaptchaTime(Long GetCaptchaTime)
Set Frontend retrieval time of the captcha-intl, timestamp format.
|
void |
setRequestId(String 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).
|
void |
setScore(Long Score)
Set CAPTCHA-Intl score.
|
void |
setSubmitCaptchaTime(Long SubmitCaptchaTime)
Set The time when the CAPTCHA is submitted.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeCaptchaResultResponse()
public DescribeCaptchaResultResponse(DescribeCaptchaResultResponse source)
public Long getCaptchaCode()
public void setCaptchaCode(Long CaptchaCode)
CaptchaCode - OK indicates verification passed.
7 captcha no match. the passed in Randstr is invalid. please check if the Randstr is consistent with the Randstr returned by the frontend.
The passed-in ticket has expired (the valid period of the ticket is 5 minutes). generate the ticket and Randstr again for validation.
The passed-in ticket is reused. generate the ticket and Randstr again for verification.
15 decrypt fail. the passed-in Ticket is invalid. please check if the Ticket is consistent with the Ticket returned by the frontend.
16 appid-ticket mismatch. the passed in CaptchaAppId is incorrect. please check if the CaptchaAppId is consistent with the CaptchaAppId passed in by the frontend, and ensure that the CaptchaAppId is obtained from the verification code console [verification management] -> [basic configuration].
21 diff invoice verification exception. possible reasons: (1) if the Ticket contains the trerror prefix, generally because the user has a poor network connection, resulting in the frontend's automatic disaster recovery and generation of a disaster recovery Ticket. the business side may skip or post-process as needed. (2) if the Ticket does not include the trerror prefix, it is because the security risk of the request was detected by the CAPTCHA-intl risk control system. the business side may intercept as needed.
100 appid-secretkey-ticket mismatch. parameter validation error. (1) please check whether the CaptchaAppId and AppSecretKey are correct. the CaptchaAppId and AppSecretKey need to be obtained from verification code console > verification management > basic configuration. (2) please check whether the passed-in ticket is generated by the passed-in CaptchaAppId.public String getCaptchaMsg()
public void setCaptchaMsg(String CaptchaMsg)
CaptchaMsg - Status description and verification error message.public Long getEvilLevel()
public void setEvilLevel(Long EvilLevel)
EvilLevel - In invisible verification mode, this parameter returns the verification result.
EvilLevel=0 indicates that the request is not malicious.
The parameter EvilLevel = 100 indicates that the request is malicious.public Long getGetCaptchaTime()
public void setGetCaptchaTime(Long GetCaptchaTime)
GetCaptchaTime - Frontend retrieval time of the captcha-intl, timestamp format.public Long getEvilBitmap()
public void setEvilBitmap(Long EvilBitmap)
EvilBitmap - Blocking type
Note: This field may return null, indicating that no valid values can be obtained.public Long getSubmitCaptchaTime()
public void setSubmitCaptchaTime(Long SubmitCaptchaTime)
SubmitCaptchaTime - The time when the CAPTCHA is submitted.public String getDeviceRiskCategory()
public void setDeviceRiskCategory(String DeviceRiskCategory)
DeviceRiskCategory - Device risk category.
Note: This field may return null, indicating that no valid values can be obtained.public Long getScore()
public void setScore(Long Score)
Score - CAPTCHA-Intl score.
Note:The score ranges from 0 to 100 (e.g., 20, 70, 90).
A higher score indicates a greater probability that the interaction was initiated by a bot or represents a bot attack.
A lower score indicates a greater probability that the interaction was performed by a real human user.public String getRequestId()
public void setRequestId(String RequestId)
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.Copyright © 2025. All rights reserved.