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 `1 OK`: Verification passed
`7 captcha no match`: The passed in `Randstr` is invalid.
|
String |
getCaptchaMsg()
Get Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
|
Long |
getEvilBitmap()
Get Blocking type
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getEvilLevel()
Get This parameter returns the result of imperceptible verification.
|
Long |
getGetCaptchaTime()
Get The timestamp when the frontend obtains the CAPTCHA.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getSubmitCaptchaTime()
Get The time when the CAPTCHA is submitted.
|
void |
setCaptchaCode(Long CaptchaCode)
Set `1 OK`: Verification passed
`7 captcha no match`: The passed in `Randstr` is invalid.
|
void |
setCaptchaMsg(String CaptchaMsg)
Set Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
|
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 This parameter returns the result of imperceptible verification.
|
void |
setGetCaptchaTime(Long GetCaptchaTime)
Set The timestamp when the frontend obtains the CAPTCHA.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeCaptchaResultResponse()
public DescribeCaptchaResultResponse(DescribeCaptchaResultResponse source)
public Long getCaptchaCode()
public void setCaptchaCode(Long CaptchaCode)
CaptchaCode
- `1 OK`: Verification passed
`7 captcha no match`: The passed in `Randstr` is invalid. Make sure it is the same as the `Randstr` returned from the frontend.
`8 ticket expired`: The `Ticket` has expired. A ticket is valid for five minutes. Please generate a new `Ticket` and `Randstr`.
`9 ticket reused`: The specified `Ticket` has been used. Please generate a new `Ticket` and `Randstr`.
`15 decrypt fail`: The specified `Ticket` is invalid. Make sure it’s the same as the Ticket returned from the frontend.
`16 appid-ticket mismatch`: The specified `CaptchaAppId` is invalid. Make sure it’s the same as the `CaptchaAppId` returned from the frontend. You can obtain it from the CAPTCHA console in **Verification management** > **Basic configuration**.
`21 diff`. Ticket verification error. Possible reasons: 1) If the ticket contains the `terror` prefix, it’s usually the case that a disaster recovery ticket is generated due to the network connection problems of the user. You can choose to ignore it or verify again. 2) If the ticket does not include the `terror` prefix, Captcha detects security risk on this request . You can choose to block it or not.
`100 appid-secretkey-ticket mismatch`: Parameter error. 1) Make sure `CaptchaAppId` and `AppSecretKey` are correct. `CaptchaAppId` and `AppSecretKey` in the CAPTACHA console under **Verification management** > **Basic configuration**. 2) Make sure the passed-in `Ticket` is generated by using the passed-in `CaptchaAppId`.public String getCaptchaMsg()
public void setCaptchaMsg(String CaptchaMsg)
CaptchaMsg
- Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.public Long getEvilLevel()
public void setEvilLevel(Long EvilLevel)
EvilLevel
- This parameter returns the result of imperceptible verification. This parameter is not available for Tencent Cloud International yet.
`0`: The request is trusted.
`100`: The request is malicious.
Note: This field may return `null`, indicating that no valid value was found.public Long getGetCaptchaTime()
public void setGetCaptchaTime(Long GetCaptchaTime)
GetCaptchaTime
- The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.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 getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2024. All rights reserved.