
com.tencentcloudapi.tcss.v20201101.models.AccessControlEventDescription 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.tcss.v20201101.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AccessControlEventDescription extends AbstractModel{
/**
* 事件规则
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 解决方案
*/
@SerializedName("Solution")
@Expose
private String Solution;
/**
* 事件备注信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Remark")
@Expose
private String Remark;
/**
* 命中规则详细信息
*/
@SerializedName("MatchRule")
@Expose
private AccessControlChildRuleInfo MatchRule;
/**
* 命中规则名字
*/
@SerializedName("RuleName")
@Expose
private String RuleName;
/**
* 命中规则id
*/
@SerializedName("RuleId")
@Expose
private String RuleId;
/**
* 事件最后一次处理的时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("OperationTime")
@Expose
private String OperationTime;
/**
* Get 事件规则
* @return Description 事件规则
*/
public String getDescription() {
return this.Description;
}
/**
* Set 事件规则
* @param Description 事件规则
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 解决方案
* @return Solution 解决方案
*/
public String getSolution() {
return this.Solution;
}
/**
* Set 解决方案
* @param Solution 解决方案
*/
public void setSolution(String Solution) {
this.Solution = Solution;
}
/**
* Get 事件备注信息
注意:此字段可能返回 null,表示取不到有效值。
* @return Remark 事件备注信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRemark() {
return this.Remark;
}
/**
* Set 事件备注信息
注意:此字段可能返回 null,表示取不到有效值。
* @param Remark 事件备注信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRemark(String Remark) {
this.Remark = Remark;
}
/**
* Get 命中规则详细信息
* @return MatchRule 命中规则详细信息
*/
public AccessControlChildRuleInfo getMatchRule() {
return this.MatchRule;
}
/**
* Set 命中规则详细信息
* @param MatchRule 命中规则详细信息
*/
public void setMatchRule(AccessControlChildRuleInfo MatchRule) {
this.MatchRule = MatchRule;
}
/**
* Get 命中规则名字
* @return RuleName 命中规则名字
*/
public String getRuleName() {
return this.RuleName;
}
/**
* Set 命中规则名字
* @param RuleName 命中规则名字
*/
public void setRuleName(String RuleName) {
this.RuleName = RuleName;
}
/**
* Get 命中规则id
* @return RuleId 命中规则id
*/
public String getRuleId() {
return this.RuleId;
}
/**
* Set 命中规则id
* @param RuleId 命中规则id
*/
public void setRuleId(String RuleId) {
this.RuleId = RuleId;
}
/**
* Get 事件最后一次处理的时间
注意:此字段可能返回 null,表示取不到有效值。
* @return OperationTime 事件最后一次处理的时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getOperationTime() {
return this.OperationTime;
}
/**
* Set 事件最后一次处理的时间
注意:此字段可能返回 null,表示取不到有效值。
* @param OperationTime 事件最后一次处理的时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setOperationTime(String OperationTime) {
this.OperationTime = OperationTime;
}
public AccessControlEventDescription() {
}
/**
* 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 AccessControlEventDescription(AccessControlEventDescription source) {
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.Solution != null) {
this.Solution = new String(source.Solution);
}
if (source.Remark != null) {
this.Remark = new String(source.Remark);
}
if (source.MatchRule != null) {
this.MatchRule = new AccessControlChildRuleInfo(source.MatchRule);
}
if (source.RuleName != null) {
this.RuleName = new String(source.RuleName);
}
if (source.RuleId != null) {
this.RuleId = new String(source.RuleId);
}
if (source.OperationTime != null) {
this.OperationTime = new String(source.OperationTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "Solution", this.Solution);
this.setParamSimple(map, prefix + "Remark", this.Remark);
this.setParamObj(map, prefix + "MatchRule.", this.MatchRule);
this.setParamSimple(map, prefix + "RuleName", this.RuleName);
this.setParamSimple(map, prefix + "RuleId", this.RuleId);
this.setParamSimple(map, prefix + "OperationTime", this.OperationTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy