/* * 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 DescribleNewL7RulesRequest : AbstractModel { /// /// 大禹子产品代号(bgpip表示高防IP) /// [JsonProperty("Business")] public string Business{ get; set; } /// /// 一页条数,填0表示不分页 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 页起始偏移,取值为(页码-1)*一页条数 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 域名搜索,选填,当需要搜索域名请填写 /// [JsonProperty("Domain")] public string Domain{ get; set; } /// /// 转发协议搜索,选填,取值[http, https, http/https] /// [JsonProperty("ProtocolList")] public string[] ProtocolList{ get; set; } /// /// 状态搜索,选填,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)] /// [JsonProperty("StatusList")] public ulong?[] StatusList{ get; set; } /// /// IP搜索,选填,当需要搜索IP请填写 /// [JsonProperty("Ip")] public string Ip{ 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 + "Limit", this.Limit); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Domain", this.Domain); this.SetParamArraySimple(map, prefix + "ProtocolList.", this.ProtocolList); this.SetParamArraySimple(map, prefix + "StatusList.", this.StatusList); this.SetParamSimple(map, prefix + "Ip", this.Ip); } } }