首次推送
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 产品ID
|
||||
/// </summary>
|
||||
[JsonProperty("ProductId")]
|
||||
public string ProductId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息队列类型 1-CMQ; 2-Ckafka
|
||||
/// </summary>
|
||||
[JsonProperty("MsgQueueType")]
|
||||
public ulong? MsgQueueType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息类型,整型值(0-31)之间以“,”分隔
|
||||
/// 0:在线状态变更
|
||||
/// 1.固件版本变更
|
||||
/// 2.设置参数变更
|
||||
/// 3.控制状态变更
|
||||
/// 4.状态信息变更
|
||||
/// 5.事件发布
|
||||
/// </summary>
|
||||
[JsonProperty("MsgType")]
|
||||
public string MsgType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息队列主题,不超过32字符
|
||||
/// </summary>
|
||||
[JsonProperty("Topic")]
|
||||
public string Topic{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// kafka消息队列的实例名,不超过64字符
|
||||
/// </summary>
|
||||
[JsonProperty("Instance")]
|
||||
public string Instance{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息地域,不超过32字符
|
||||
/// </summary>
|
||||
[JsonProperty("MsgRegion")]
|
||||
public string MsgRegion{ 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 + "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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user