首次推送
This commit is contained in:
85
TencentCloud/Yunjing/V20180228/Models/EditBashRuleRequest.cs
Normal file
85
TencentCloud/Yunjing/V20180228/Models/EditBashRuleRequest.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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.Yunjing.V20180228.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EditBashRuleRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 规则名称
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 危险等级(1: 高危 2:中危 3: 低危)
|
||||
/// </summary>
|
||||
[JsonProperty("Level")]
|
||||
public ulong? Level{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 正则表达式
|
||||
/// </summary>
|
||||
[JsonProperty("Rule")]
|
||||
public string Rule{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规则ID(新增时不填)
|
||||
/// </summary>
|
||||
[JsonProperty("Id")]
|
||||
public ulong? Id{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
|
||||
/// </summary>
|
||||
[JsonProperty("Uuid")]
|
||||
public string Uuid{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
|
||||
/// </summary>
|
||||
[JsonProperty("Hostip")]
|
||||
public string Hostip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否全局规则(默认否)
|
||||
/// </summary>
|
||||
[JsonProperty("IsGlobal")]
|
||||
public ulong? IsGlobal{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Level", this.Level);
|
||||
this.SetParamSimple(map, prefix + "Rule", this.Rule);
|
||||
this.SetParamSimple(map, prefix + "Id", this.Id);
|
||||
this.SetParamSimple(map, prefix + "Uuid", this.Uuid);
|
||||
this.SetParamSimple(map, prefix + "Hostip", this.Hostip);
|
||||
this.SetParamSimple(map, prefix + "IsGlobal", this.IsGlobal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user