/* * Copyright (c) 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. */ namespace TencentCloud.Dayu.V20180709.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CCEventRecord : AbstractModel { /// /// 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) /// [JsonProperty("Business")] public string Business{ get; set; } /// /// 资源ID /// [JsonProperty("Id")] public string Id{ get; set; } /// /// 资源的IP /// [JsonProperty("Vip")] public string Vip{ get; set; } /// /// 攻击开始时间 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 攻击结束时间 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 总请求QPS峰值 /// [JsonProperty("ReqQps")] public ulong? ReqQps{ get; set; } /// /// 攻击QPS峰值 /// [JsonProperty("DropQps")] public ulong? DropQps{ get; set; } /// /// 攻击状态,取值[0(攻击中), 1(攻击结束)] /// [JsonProperty("AttackStatus")] public ulong? AttackStatus{ get; set; } /// /// 资源名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ResourceName")] public string ResourceName{ get; set; } /// /// 域名列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DomainList")] public string DomainList{ get; set; } /// /// uri列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("UriList")] public string UriList{ get; set; } /// /// 攻击源列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AttackipList")] public string AttackipList{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Business", this.Business); this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Vip", this.Vip); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "ReqQps", this.ReqQps); this.SetParamSimple(map, prefix + "DropQps", this.DropQps); this.SetParamSimple(map, prefix + "AttackStatus", this.AttackStatus); this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName); this.SetParamSimple(map, prefix + "DomainList", this.DomainList); this.SetParamSimple(map, prefix + "UriList", this.UriList); this.SetParamSimple(map, prefix + "AttackipList", this.AttackipList); } } }