Files
g.hnyhua.cn/TencentCloud/Dayu/V20180709/Models/DescribleNewL7RulesRequest.cs

86 lines
3.0 KiB
C#
Raw Normal View History

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