
com.tencentcloudapi.teo.v20220901.models.BotLog 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.v20220901.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class BotLog extends AbstractModel{
/**
* 攻击时间,采用unix秒级时间戳。
*/
@SerializedName("AttackTime")
@Expose
private Long AttackTime;
/**
* 攻击源(客户端)ip。
*/
@SerializedName("AttackIp")
@Expose
private String AttackIp;
/**
* 受攻击域名。
*/
@SerializedName("Domain")
@Expose
private String Domain;
/**
* URI。
*/
@SerializedName("RequestUri")
@Expose
private String RequestUri;
/**
* 攻击类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AttackType")
@Expose
private String AttackType;
/**
* 请求方法。
*/
@SerializedName("RequestMethod")
@Expose
private String RequestMethod;
/**
* 攻击内容。
*/
@SerializedName("AttackContent")
@Expose
private String AttackContent;
/**
* 攻击等级。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RiskLevel")
@Expose
private String RiskLevel;
/**
* 规则ID。
注意:此字段可能返回 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日志。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("HttpLog")
@Expose
private String HttpLog;
/**
* user agent。
*/
@SerializedName("Ua")
@Expose
private String Ua;
/**
* 检出方法。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DetectionMethod")
@Expose
private String DetectionMethod;
/**
* 置信度。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Confidence")
@Expose
private String Confidence;
/**
* 恶意度。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Maliciousness")
@Expose
private String Maliciousness;
/**
* 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RuleDetailList")
@Expose
private SecRuleRelatedInfo [] RuleDetailList;
/**
* Bot标签。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Label")
@Expose
private String Label;
/**
* 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 攻击源(客户端)ip。
* @return AttackIp 攻击源(客户端)ip。
*/
public String getAttackIp() {
return this.AttackIp;
}
/**
* Set 攻击源(客户端)ip。
* @param AttackIp 攻击源(客户端)ip。
*/
public void setAttackIp(String AttackIp) {
this.AttackIp = AttackIp;
}
/**
* Get 受攻击域名。
* @return Domain 受攻击域名。
*/
public String getDomain() {
return this.Domain;
}
/**
* Set 受攻击域名。
* @param Domain 受攻击域名。
*/
public void setDomain(String Domain) {
this.Domain = Domain;
}
/**
* 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 AttackType 攻击类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAttackType() {
return this.AttackType;
}
/**
* Set 攻击类型。
注意:此字段可能返回 null,表示取不到有效值。
* @param AttackType 攻击类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAttackType(String AttackType) {
this.AttackType = AttackType;
}
/**
* Get 请求方法。
* @return RequestMethod 请求方法。
*/
public String getRequestMethod() {
return this.RequestMethod;
}
/**
* Set 请求方法。
* @param RequestMethod 请求方法。
*/
public void setRequestMethod(String RequestMethod) {
this.RequestMethod = RequestMethod;
}
/**
* Get 攻击内容。
* @return AttackContent 攻击内容。
*/
public String getAttackContent() {
return this.AttackContent;
}
/**
* Set 攻击内容。
* @param AttackContent 攻击内容。
*/
public void setAttackContent(String AttackContent) {
this.AttackContent = AttackContent;
}
/**
* 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 规则ID。
注意:此字段可能返回 null,表示取不到有效值。
* @return RuleId 规则ID。
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getRuleId() {
return this.RuleId;
}
/**
* Set 规则ID。
注意:此字段可能返回 null,表示取不到有效值。
* @param RuleId 规则ID。
注意:此字段可能返回 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日志。
注意:此字段可能返回 null,表示取不到有效值。
* @return HttpLog HTTP日志。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getHttpLog() {
return this.HttpLog;
}
/**
* Set HTTP日志。
注意:此字段可能返回 null,表示取不到有效值。
* @param HttpLog HTTP日志。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHttpLog(String HttpLog) {
this.HttpLog = HttpLog;
}
/**
* Get user agent。
* @return Ua user agent。
*/
public String getUa() {
return this.Ua;
}
/**
* Set user agent。
* @param Ua user agent。
*/
public void setUa(String Ua) {
this.Ua = Ua;
}
/**
* Get 检出方法。
注意:此字段可能返回 null,表示取不到有效值。
* @return DetectionMethod 检出方法。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDetectionMethod() {
return this.DetectionMethod;
}
/**
* Set 检出方法。
注意:此字段可能返回 null,表示取不到有效值。
* @param DetectionMethod 检出方法。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDetectionMethod(String DetectionMethod) {
this.DetectionMethod = DetectionMethod;
}
/**
* Get 置信度。
注意:此字段可能返回 null,表示取不到有效值。
* @return Confidence 置信度。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getConfidence() {
return this.Confidence;
}
/**
* Set 置信度。
注意:此字段可能返回 null,表示取不到有效值。
* @param Confidence 置信度。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setConfidence(String Confidence) {
this.Confidence = Confidence;
}
/**
* Get 恶意度。
注意:此字段可能返回 null,表示取不到有效值。
* @return Maliciousness 恶意度。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMaliciousness() {
return this.Maliciousness;
}
/**
* Set 恶意度。
注意:此字段可能返回 null,表示取不到有效值。
* @param Maliciousness 恶意度。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMaliciousness(String Maliciousness) {
this.Maliciousness = Maliciousness;
}
/**
* Get 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
* @return RuleDetailList 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
*/
public SecRuleRelatedInfo [] getRuleDetailList() {
return this.RuleDetailList;
}
/**
* Set 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
* @param RuleDetailList 规则相关信息列表。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRuleDetailList(SecRuleRelatedInfo [] RuleDetailList) {
this.RuleDetailList = RuleDetailList;
}
/**
* Get Bot标签。
注意:此字段可能返回 null,表示取不到有效值。
* @return Label Bot标签。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getLabel() {
return this.Label;
}
/**
* Set Bot标签。
注意:此字段可能返回 null,表示取不到有效值。
* @param Label Bot标签。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setLabel(String Label) {
this.Label = Label;
}
public BotLog() {
}
/**
* 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 BotLog(BotLog source) {
if (source.AttackTime != null) {
this.AttackTime = new Long(source.AttackTime);
}
if (source.AttackIp != null) {
this.AttackIp = new String(source.AttackIp);
}
if (source.Domain != null) {
this.Domain = new String(source.Domain);
}
if (source.RequestUri != null) {
this.RequestUri = new String(source.RequestUri);
}
if (source.AttackType != null) {
this.AttackType = new String(source.AttackType);
}
if (source.RequestMethod != null) {
this.RequestMethod = new String(source.RequestMethod);
}
if (source.AttackContent != null) {
this.AttackContent = new String(source.AttackContent);
}
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.DetectionMethod != null) {
this.DetectionMethod = new String(source.DetectionMethod);
}
if (source.Confidence != null) {
this.Confidence = new String(source.Confidence);
}
if (source.Maliciousness != null) {
this.Maliciousness = new String(source.Maliciousness);
}
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]);
}
}
if (source.Label != null) {
this.Label = new String(source.Label);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "AttackTime", this.AttackTime);
this.setParamSimple(map, prefix + "AttackIp", this.AttackIp);
this.setParamSimple(map, prefix + "Domain", this.Domain);
this.setParamSimple(map, prefix + "RequestUri", this.RequestUri);
this.setParamSimple(map, prefix + "AttackType", this.AttackType);
this.setParamSimple(map, prefix + "RequestMethod", this.RequestMethod);
this.setParamSimple(map, prefix + "AttackContent", this.AttackContent);
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 + "DetectionMethod", this.DetectionMethod);
this.setParamSimple(map, prefix + "Confidence", this.Confidence);
this.setParamSimple(map, prefix + "Maliciousness", this.Maliciousness);
this.setParamArrayObj(map, prefix + "RuleDetailList.", this.RuleDetailList);
this.setParamSimple(map, prefix + "Label", this.Label);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy