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

com.tencentcloudapi.teo.v20220106.models.WebLogs 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.teo.v20220106.models;

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

public class WebLogs extends AbstractModel{

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

    /**
    * 攻击源(客户端)Ip。
    */
    @SerializedName("AttackIp")
    @Expose
    private String AttackIp;

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

    /**
    * 受攻击子域名。
    */
    @SerializedName("Domain")
    @Expose
    private String Domain;

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

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

    /**
    * URI
    */
    @SerializedName("RequestUri")
    @Expose
    private String RequestUri;

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

    /**
    * 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("RuleId")
    @Expose
    private Long RuleId;

    /**
    * IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
    */
    @SerializedName("SipCountryCode")
    @Expose
    private String SipCountryCode;

    /**
    * 请求(事件)ID。
    */
    @SerializedName("EventId")
    @Expose
    private String EventId;

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

    /**
    * http log。
    */
    @SerializedName("HttpLog")
    @Expose
    private String HttpLog;

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

    /**
    * 攻击时间,采用unix秒级时间戳。
    */
    @SerializedName("AttackTime")
    @Expose
    private Long AttackTime;

    /**
    * 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("RuleDetailList")
    @Expose
    private SecRuleRelatedInfo [] RuleDetailList;

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return AttackContent 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getAttackContent() {
        return this.AttackContent;
    }

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

    /**
     * Get 攻击源(客户端)Ip。 
     * @return AttackIp 攻击源(客户端)Ip。
     */
    public String getAttackIp() {
        return this.AttackIp;
    }

    /**
     * Set 攻击源(客户端)Ip。
     * @param AttackIp 攻击源(客户端)Ip。
     */
    public void setAttackIp(String AttackIp) {
        this.AttackIp = AttackIp;
    }

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return AttackType 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getAttackType() {
        return this.AttackType;
    }

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

    /**
     * Get 受攻击子域名。 
     * @return Domain 受攻击子域名。
     */
    public String getDomain() {
        return this.Domain;
    }

    /**
     * Set 受攻击子域名。
     * @param Domain 受攻击子域名。
     */
    public void setDomain(String Domain) {
        this.Domain = Domain;
    }

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Msuuid 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getMsuuid() {
        return this.Msuuid;
    }

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

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RequestMethod 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getRequestMethod() {
        return this.RequestMethod;
    }

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

    /**
     * Get URI 
     * @return RequestUri URI
     */
    public String getRequestUri() {
        return this.RequestUri;
    }

    /**
     * Set URI
     * @param RequestUri URI
     */
    public void setRequestUri(String RequestUri) {
        this.RequestUri = RequestUri;
    }

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RiskLevel 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getRiskLevel() {
        return this.RiskLevel;
    }

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

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RuleId 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getRuleId() {
        return this.RuleId;
    }

    /**
     * Set 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     * @param RuleId 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setRuleId(Long RuleId) {
        this.RuleId = RuleId;
    }

    /**
     * Get IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json) 
     * @return SipCountryCode IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
     */
    public String getSipCountryCode() {
        return this.SipCountryCode;
    }

    /**
     * Set IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
     * @param SipCountryCode IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
     */
    public void setSipCountryCode(String SipCountryCode) {
        this.SipCountryCode = SipCountryCode;
    }

    /**
     * Get 请求(事件)ID。 
     * @return EventId 请求(事件)ID。
     */
    public String getEventId() {
        return this.EventId;
    }

    /**
     * Set 请求(事件)ID。
     * @param EventId 请求(事件)ID。
     */
    public void setEventId(String EventId) {
        this.EventId = EventId;
    }

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return DisposalMethod 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getDisposalMethod() {
        return this.DisposalMethod;
    }

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

    /**
     * Get http log。 
     * @return HttpLog http log。
     */
    public String getHttpLog() {
        return this.HttpLog;
    }

    /**
     * Set http log。
     * @param HttpLog http log。
     */
    public void setHttpLog(String HttpLog) {
        this.HttpLog = HttpLog;
    }

    /**
     * Get 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Ua 该字段已废弃。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUa() {
        return this.Ua;
    }

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

    /**
     * Get 攻击时间,采用unix秒级时间戳。 
     * @return AttackTime 攻击时间,采用unix秒级时间戳。
     */
    public Long getAttackTime() {
        return this.AttackTime;
    }

    /**
     * Set 攻击时间,采用unix秒级时间戳。
     * @param AttackTime 攻击时间,采用unix秒级时间戳。
     */
    public void setAttackTime(Long AttackTime) {
        this.AttackTime = AttackTime;
    }

    /**
     * Get 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return RuleDetailList 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public SecRuleRelatedInfo [] getRuleDetailList() {
        return this.RuleDetailList;
    }

    /**
     * Set 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
     * @param RuleDetailList 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setRuleDetailList(SecRuleRelatedInfo [] RuleDetailList) {
        this.RuleDetailList = RuleDetailList;
    }

    public WebLogs() {
    }

    /**
     * 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 WebLogs(WebLogs source) {
        if (source.AttackContent != null) {
            this.AttackContent = new String(source.AttackContent);
        }
        if (source.AttackIp != null) {
            this.AttackIp = new String(source.AttackIp);
        }
        if (source.AttackType != null) {
            this.AttackType = new String(source.AttackType);
        }
        if (source.Domain != null) {
            this.Domain = new String(source.Domain);
        }
        if (source.Msuuid != null) {
            this.Msuuid = new String(source.Msuuid);
        }
        if (source.RequestMethod != null) {
            this.RequestMethod = new String(source.RequestMethod);
        }
        if (source.RequestUri != null) {
            this.RequestUri = new String(source.RequestUri);
        }
        if (source.RiskLevel != null) {
            this.RiskLevel = new String(source.RiskLevel);
        }
        if (source.RuleId != null) {
            this.RuleId = new Long(source.RuleId);
        }
        if (source.SipCountryCode != null) {
            this.SipCountryCode = new String(source.SipCountryCode);
        }
        if (source.EventId != null) {
            this.EventId = new String(source.EventId);
        }
        if (source.DisposalMethod != null) {
            this.DisposalMethod = new String(source.DisposalMethod);
        }
        if (source.HttpLog != null) {
            this.HttpLog = new String(source.HttpLog);
        }
        if (source.Ua != null) {
            this.Ua = new String(source.Ua);
        }
        if (source.AttackTime != null) {
            this.AttackTime = new Long(source.AttackTime);
        }
        if (source.RuleDetailList != null) {
            this.RuleDetailList = new SecRuleRelatedInfo[source.RuleDetailList.length];
            for (int i = 0; i < source.RuleDetailList.length; i++) {
                this.RuleDetailList[i] = new SecRuleRelatedInfo(source.RuleDetailList[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "AttackContent", this.AttackContent);
        this.setParamSimple(map, prefix + "AttackIp", this.AttackIp);
        this.setParamSimple(map, prefix + "AttackType", this.AttackType);
        this.setParamSimple(map, prefix + "Domain", this.Domain);
        this.setParamSimple(map, prefix + "Msuuid", this.Msuuid);
        this.setParamSimple(map, prefix + "RequestMethod", this.RequestMethod);
        this.setParamSimple(map, prefix + "RequestUri", this.RequestUri);
        this.setParamSimple(map, prefix + "RiskLevel", this.RiskLevel);
        this.setParamSimple(map, prefix + "RuleId", this.RuleId);
        this.setParamSimple(map, prefix + "SipCountryCode", this.SipCountryCode);
        this.setParamSimple(map, prefix + "EventId", this.EventId);
        this.setParamSimple(map, prefix + "DisposalMethod", this.DisposalMethod);
        this.setParamSimple(map, prefix + "HttpLog", this.HttpLog);
        this.setParamSimple(map, prefix + "Ua", this.Ua);
        this.setParamSimple(map, prefix + "AttackTime", this.AttackTime);
        this.setParamArrayObj(map, prefix + "RuleDetailList.", this.RuleDetailList);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy