/* * 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.Cmq.V20190304.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class TopicSet : AbstractModel { /// /// TopicId /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TopicId")] public string TopicId{ get; set; } /// /// TopicName /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TopicName")] public string TopicName{ get; set; } /// /// MsgRetentionSeconds /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MsgRetentionSeconds")] public ulong? MsgRetentionSeconds{ get; set; } /// /// MaxMsgSize /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MaxMsgSize")] public ulong? MaxMsgSize{ get; set; } /// /// Qps /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Qps")] public ulong? Qps{ get; set; } /// /// FilterType /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("FilterType")] public ulong? FilterType{ get; set; } /// /// CreateTime /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CreateTime")] public ulong? CreateTime{ get; set; } /// /// LastModifyTime /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LastModifyTime")] public ulong? LastModifyTime{ get; set; } /// /// MsgCount /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MsgCount")] public ulong? MsgCount{ get; set; } /// /// CreateUin /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CreateUin")] public ulong? CreateUin{ get; set; } /// /// Tags /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// 主题是否开启消息轨迹,true表示开启,false表示不开启 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Trace")] public bool? Trace{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "TopicId", this.TopicId); this.SetParamSimple(map, prefix + "TopicName", this.TopicName); this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds); this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize); this.SetParamSimple(map, prefix + "Qps", this.Qps); this.SetParamSimple(map, prefix + "FilterType", this.FilterType); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "LastModifyTime", this.LastModifyTime); this.SetParamSimple(map, prefix + "MsgCount", this.MsgCount); this.SetParamSimple(map, prefix + "CreateUin", this.CreateUin); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "Trace", this.Trace); } } }