All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.aa.v20200224.models.QueryActivityAntiRushResponse Maven / Gradle / Ivy

/*
 * 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.aa.v20200224.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class QueryActivityAntiRushResponse extends AbstractModel{

    /**
    * 操作时间戳,单位:秒。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("PostTime")
    @Expose
    private String PostTime;

    /**
    * 用户操作的真实外网 IP。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("UserIp")
    @Expose
    private String UserIp;

    /**
    * 0:表示无恶意。
1 - 4:恶意等级由低到高。
    */
    @SerializedName("Level")
    @Expose
    private Long Level;

    /**
    * 风险类型。

账号风险:

1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
4,黑名单,该账号在业务侧有过拉黑记录
5,白名单,该账号在业务侧有过加白名单记录

行为风险:
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
102,自动机,疑似自动机批量请求;
104,微信登录态无效,检查wxToken参数,是否已经失效;

环境风险:
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
206,设备异常,该设备存在异常的使用行为
    */
    @SerializedName("RiskType")
    @Expose
    private Long [] RiskType;

    /**
    * accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("AssociateAccount")
    @Expose
    private String AssociateAccount;

    /**
    * uid值
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Uid")
    @Expose
    private String Uid;

    /**
    * 用户操作的目的ID 
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("RootId")
    @Expose
    private String RootId;

    /**
    * 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("CodeDesc")
    @Expose
    private String CodeDesc;

    /**
    * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
    */
    @SerializedName("RequestId")
    @Expose
    private String RequestId;

    /**
     * Get 操作时间戳,单位:秒。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return PostTime 操作时间戳,单位:秒。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getPostTime() {
        return this.PostTime;
    }

    /**
     * Set 操作时间戳,单位:秒。
注意:此字段可能返回 null,表示取不到有效值。
     * @param PostTime 操作时间戳,单位:秒。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setPostTime(String PostTime) {
        this.PostTime = PostTime;
    }

    /**
     * Get 用户操作的真实外网 IP。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return UserIp 用户操作的真实外网 IP。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUserIp() {
        return this.UserIp;
    }

    /**
     * Set 用户操作的真实外网 IP。
注意:此字段可能返回 null,表示取不到有效值。
     * @param UserIp 用户操作的真实外网 IP。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setUserIp(String UserIp) {
        this.UserIp = UserIp;
    }

    /**
     * Get 0:表示无恶意。
1 - 4:恶意等级由低到高。 
     * @return Level 0:表示无恶意。
1 - 4:恶意等级由低到高。
     */
    public Long getLevel() {
        return this.Level;
    }

    /**
     * Set 0:表示无恶意。
1 - 4:恶意等级由低到高。
     * @param Level 0:表示无恶意。
1 - 4:恶意等级由低到高。
     */
    public void setLevel(Long Level) {
        this.Level = Level;
    }

    /**
     * Get 风险类型。

账号风险:

1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
4,黑名单,该账号在业务侧有过拉黑记录
5,白名单,该账号在业务侧有过加白名单记录

行为风险:
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
102,自动机,疑似自动机批量请求;
104,微信登录态无效,检查wxToken参数,是否已经失效;

环境风险:
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
206,设备异常,该设备存在异常的使用行为 
     * @return RiskType 风险类型。

账号风险:

1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
4,黑名单,该账号在业务侧有过拉黑记录
5,白名单,该账号在业务侧有过加白名单记录

行为风险:
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
102,自动机,疑似自动机批量请求;
104,微信登录态无效,检查wxToken参数,是否已经失效;

环境风险:
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
206,设备异常,该设备存在异常的使用行为
     */
    public Long [] getRiskType() {
        return this.RiskType;
    }

    /**
     * Set 风险类型。

账号风险:

1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
4,黑名单,该账号在业务侧有过拉黑记录
5,白名单,该账号在业务侧有过加白名单记录

行为风险:
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
102,自动机,疑似自动机批量请求;
104,微信登录态无效,检查wxToken参数,是否已经失效;

环境风险:
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
206,设备异常,该设备存在异常的使用行为
     * @param RiskType 风险类型。

账号风险:

1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
4,黑名单,该账号在业务侧有过拉黑记录
5,白名单,该账号在业务侧有过加白名单记录

行为风险:
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
102,自动机,疑似自动机批量请求;
104,微信登录态无效,检查wxToken参数,是否已经失效;

环境风险:
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
206,设备异常,该设备存在异常的使用行为
     */
    public void setRiskType(Long [] RiskType) {
        this.RiskType = RiskType;
    }

    /**
     * Get accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
注意:此字段可能返回 null,表示取不到有效值。 
     * @return AssociateAccount accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getAssociateAccount() {
        return this.AssociateAccount;
    }

    /**
     * Set accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
注意:此字段可能返回 null,表示取不到有效值。
     * @param AssociateAccount accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setAssociateAccount(String AssociateAccount) {
        this.AssociateAccount = AssociateAccount;
    }

    /**
     * Get uid值
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Uid uid值
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUid() {
        return this.Uid;
    }

    /**
     * Set uid值
注意:此字段可能返回 null,表示取不到有效值。
     * @param Uid uid值
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setUid(String Uid) {
        this.Uid = Uid;
    }

    /**
     * Get 用户操作的目的ID 
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RootId 用户操作的目的ID 
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getRootId() {
        return this.RootId;
    }

    /**
     * Set 用户操作的目的ID 
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
注意:此字段可能返回 null,表示取不到有效值。
     * @param RootId 用户操作的目的ID 
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setRootId(String RootId) {
        this.RootId = RootId;
    }

    /**
     * Get 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return CodeDesc 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getCodeDesc() {
        return this.CodeDesc;
    }

    /**
     * Set 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
注意:此字段可能返回 null,表示取不到有效值。
     * @param CodeDesc 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setCodeDesc(String CodeDesc) {
        this.CodeDesc = CodeDesc;
    }

    /**
     * Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 
     * @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     */
    public String getRequestId() {
        return this.RequestId;
    }

    /**
     * Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     * @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
     */
    public void setRequestId(String RequestId) {
        this.RequestId = RequestId;
    }

    public QueryActivityAntiRushResponse() {
    }

    /**
     * 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 QueryActivityAntiRushResponse(QueryActivityAntiRushResponse source) {
        if (source.PostTime != null) {
            this.PostTime = new String(source.PostTime);
        }
        if (source.UserIp != null) {
            this.UserIp = new String(source.UserIp);
        }
        if (source.Level != null) {
            this.Level = new Long(source.Level);
        }
        if (source.RiskType != null) {
            this.RiskType = new Long[source.RiskType.length];
            for (int i = 0; i < source.RiskType.length; i++) {
                this.RiskType[i] = new Long(source.RiskType[i]);
            }
        }
        if (source.AssociateAccount != null) {
            this.AssociateAccount = new String(source.AssociateAccount);
        }
        if (source.Uid != null) {
            this.Uid = new String(source.Uid);
        }
        if (source.RootId != null) {
            this.RootId = new String(source.RootId);
        }
        if (source.CodeDesc != null) {
            this.CodeDesc = new String(source.CodeDesc);
        }
        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 + "PostTime", this.PostTime);
        this.setParamSimple(map, prefix + "UserIp", this.UserIp);
        this.setParamSimple(map, prefix + "Level", this.Level);
        this.setParamArraySimple(map, prefix + "RiskType.", this.RiskType);
        this.setParamSimple(map, prefix + "AssociateAccount", this.AssociateAccount);
        this.setParamSimple(map, prefix + "Uid", this.Uid);
        this.setParamSimple(map, prefix + "RootId", this.RootId);
        this.setParamSimple(map, prefix + "CodeDesc", this.CodeDesc);
        this.setParamSimple(map, prefix + "RequestId", this.RequestId);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy