/* * 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.Bmlb.V20180625.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeTrafficMirrorsRequest : AbstractModel { /// /// 流量镜像实例ID的数组,支持批量查询 /// [JsonProperty("TrafficMirrorIds")] public string[] TrafficMirrorIds{ get; set; } /// /// 流量镜像实例别名数组。 /// [JsonProperty("Aliases")] public string[] Aliases{ get; set; } /// /// 流量镜像实例所属的私有网络ID数组,形如:vpc-xxx。 /// [JsonProperty("VpcIds")] public string[] VpcIds{ get; set; } /// /// 分页的偏移量,也即从第几条记录开始查询 /// [JsonProperty("Offset")] public long? Offset{ get; set; } /// /// 单次查询返回的条目数,默认值:500。 /// [JsonProperty("Limit")] public long? Limit{ get; set; } /// /// 排序字段。trafficMirrorId或者createTime。 /// [JsonProperty("OrderField")] public string OrderField{ get; set; } /// /// 排序方式,取值:0:增序(默认),1:降序 /// [JsonProperty("Order")] public long? Order{ get; set; } /// /// 模糊匹配trafficMirrorId或者alias字段。 /// [JsonProperty("SearchKey")] public string SearchKey{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "TrafficMirrorIds.", this.TrafficMirrorIds); this.SetParamArraySimple(map, prefix + "Aliases.", this.Aliases); this.SetParamArraySimple(map, prefix + "VpcIds.", this.VpcIds); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "OrderField", this.OrderField); this.SetParamSimple(map, prefix + "Order", this.Order); this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey); } } }