com.tencentcloudapi.captcha.v20190722.models.DescribeCaptchaResultResponse 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.captcha.v20190722.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeCaptchaResultResponse extends AbstractModel{
/**
*
*/
@SerializedName("CaptchaCode")
@Expose
private Long CaptchaCode;
/**
* Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("CaptchaMsg")
@Expose
private String CaptchaMsg;
/**
* 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.
*/
@SerializedName("EvilLevel")
@Expose
private Long EvilLevel;
/**
* The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("GetCaptchaTime")
@Expose
private Long GetCaptchaTime;
/**
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get
* @return CaptchaCode
*/
public Long getCaptchaCode() {
return this.CaptchaCode;
}
/**
* Set
* @param CaptchaCode
*/
public void setCaptchaCode(Long CaptchaCode) {
this.CaptchaCode = CaptchaCode;
}
/**
* Get Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
* @return CaptchaMsg Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
*/
public String getCaptchaMsg() {
return this.CaptchaMsg;
}
/**
* Set Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
* @param CaptchaMsg Status description and verification error message
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setCaptchaMsg(String CaptchaMsg) {
this.CaptchaMsg = CaptchaMsg;
}
/**
* Get 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.
* @return 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 getEvilLevel() {
return this.EvilLevel;
}
/**
* Set 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.
* @param 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 void setEvilLevel(Long EvilLevel) {
this.EvilLevel = EvilLevel;
}
/**
* Get The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.
* @return GetCaptchaTime The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.
*/
public Long getGetCaptchaTime() {
return this.GetCaptchaTime;
}
/**
* Set The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.
* @param GetCaptchaTime The timestamp when the frontend obtains the CAPTCHA.
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setGetCaptchaTime(Long GetCaptchaTime) {
this.GetCaptchaTime = GetCaptchaTime;
}
/**
* Get The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @return RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @param RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeCaptchaResultResponse() {
}
/**
* 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 DescribeCaptchaResultResponse(DescribeCaptchaResultResponse source) {
if (source.CaptchaCode != null) {
this.CaptchaCode = new Long(source.CaptchaCode);
}
if (source.CaptchaMsg != null) {
this.CaptchaMsg = new String(source.CaptchaMsg);
}
if (source.EvilLevel != null) {
this.EvilLevel = new Long(source.EvilLevel);
}
if (source.GetCaptchaTime != null) {
this.GetCaptchaTime = new Long(source.GetCaptchaTime);
}
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 + "CaptchaCode", this.CaptchaCode);
this.setParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
this.setParamSimple(map, prefix + "EvilLevel", this.EvilLevel);
this.setParamSimple(map, prefix + "GetCaptchaTime", this.GetCaptchaTime);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy