/* * 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.Iotvideo.V20191126.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SetMessageQueueRequest : AbstractModel { /// /// 产品ID /// [JsonProperty("ProductId")] public string ProductId{ get; set; } /// /// 消息队列类型 1-CMQ; 2-Ckafka /// [JsonProperty("MsgQueueType")] public ulong? MsgQueueType{ get; set; } /// /// 消息类型,整型值(0-31)之间以“,”分隔 /// 0:在线状态变更 /// 1.固件版本变更 /// 2.设置参数变更 /// 3.控制状态变更 /// 4.状态信息变更 /// 5.事件发布 /// [JsonProperty("MsgType")] public string MsgType{ get; set; } /// /// 消息队列主题,不超过32字符 /// [JsonProperty("Topic")] public string Topic{ get; set; } /// /// kafka消息队列的实例名,不超过64字符 /// [JsonProperty("Instance")] public string Instance{ get; set; } /// /// 消息地域,不超过32字符 /// [JsonProperty("MsgRegion")] public string MsgRegion{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ProductId", this.ProductId); this.SetParamSimple(map, prefix + "MsgQueueType", this.MsgQueueType); this.SetParamSimple(map, prefix + "MsgType", this.MsgType); this.SetParamSimple(map, prefix + "Topic", this.Topic); this.SetParamSimple(map, prefix + "Instance", this.Instance); this.SetParamSimple(map, prefix + "MsgRegion", this.MsgRegion); } } }