/* * 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 WaterPrintPolicy : AbstractModel { /// /// TCP端口段,例如["2000-3000","3500-4000"] /// [JsonProperty("TcpPortList")] public string[] TcpPortList{ get; set; } /// /// UDP端口段,例如["2000-3000","3500-4000"] /// [JsonProperty("UdpPortList")] public string[] UdpPortList{ get; set; } /// /// 水印偏移量,取值范围[0, 100) /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 是否自动剥离,取值[0(不自动剥离),1(自动剥离)] /// [JsonProperty("RemoveSwitch")] public ulong? RemoveSwitch{ get; set; } /// /// 是否开启,取值[0(没有开启),1(已开启)] /// [JsonProperty("OpenStatus")] public ulong? OpenStatus{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "TcpPortList.", this.TcpPortList); this.SetParamArraySimple(map, prefix + "UdpPortList.", this.UdpPortList); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "RemoveSwitch", this.RemoveSwitch); this.SetParamSimple(map, prefix + "OpenStatus", this.OpenStatus); } } }