/*
* 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 QueueSet : AbstractModel
{
///
/// QueueId
///
[JsonProperty("QueueId")]
public string QueueId{ get; set; }
///
/// QueueName
///
[JsonProperty("QueueName")]
public string QueueName{ get; set; }
///
/// Qps
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
///
/// Bps
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Bps")]
public ulong? Bps{ get; set; }
///
/// MaxDelaySeconds
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MaxDelaySeconds")]
public ulong? MaxDelaySeconds{ get; set; }
///
/// MaxMsgHeapNum
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MaxMsgHeapNum")]
public ulong? MaxMsgHeapNum{ get; set; }
///
/// PollingWaitSeconds
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("PollingWaitSeconds")]
public ulong? PollingWaitSeconds{ get; set; }
///
/// MsgRetentionSeconds
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
///
/// VisibilityTimeout
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("VisibilityTimeout")]
public ulong? VisibilityTimeout{ get; set; }
///
/// MaxMsgSize
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
///
/// RewindSeconds
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("RewindSeconds")]
public ulong? RewindSeconds{ get; set; }
///
/// CreateTime
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
///
/// LastModifyTime
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("LastModifyTime")]
public ulong? LastModifyTime{ get; set; }
///
/// ActiveMsgNum
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ActiveMsgNum")]
public ulong? ActiveMsgNum{ get; set; }
///
/// InactiveMsgNum
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("InactiveMsgNum")]
public ulong? InactiveMsgNum{ get; set; }
///
/// DelayMsgNum
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("DelayMsgNum")]
public ulong? DelayMsgNum{ get; set; }
///
/// RewindMsgNum
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("RewindMsgNum")]
public ulong? RewindMsgNum{ get; set; }
///
/// MinMsgTime
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MinMsgTime")]
public ulong? MinMsgTime{ get; set; }
///
/// Transaction
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Transaction")]
public bool? Transaction{ get; set; }
///
/// DeadLetterSource
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("DeadLetterSource")]
public DeadLetterSource[] DeadLetterSource{ get; set; }
///
/// DeadLetterPolicy
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("DeadLetterPolicy")]
public DeadLetterPolicy DeadLetterPolicy{ get; set; }
///
/// TransactionPolicy
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("TransactionPolicy")]
public TransactionPolicy TransactionPolicy{ get; set; }
///
/// 创建者uin
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("CreateUin")]
public ulong? CreateUin{ get; set; }
///
/// 标签
/// 注意:此字段可能返回 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 + "QueueId", this.QueueId);
this.SetParamSimple(map, prefix + "QueueName", this.QueueName);
this.SetParamSimple(map, prefix + "Qps", this.Qps);
this.SetParamSimple(map, prefix + "Bps", this.Bps);
this.SetParamSimple(map, prefix + "MaxDelaySeconds", this.MaxDelaySeconds);
this.SetParamSimple(map, prefix + "MaxMsgHeapNum", this.MaxMsgHeapNum);
this.SetParamSimple(map, prefix + "PollingWaitSeconds", this.PollingWaitSeconds);
this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds);
this.SetParamSimple(map, prefix + "VisibilityTimeout", this.VisibilityTimeout);
this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize);
this.SetParamSimple(map, prefix + "RewindSeconds", this.RewindSeconds);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "LastModifyTime", this.LastModifyTime);
this.SetParamSimple(map, prefix + "ActiveMsgNum", this.ActiveMsgNum);
this.SetParamSimple(map, prefix + "InactiveMsgNum", this.InactiveMsgNum);
this.SetParamSimple(map, prefix + "DelayMsgNum", this.DelayMsgNum);
this.SetParamSimple(map, prefix + "RewindMsgNum", this.RewindMsgNum);
this.SetParamSimple(map, prefix + "MinMsgTime", this.MinMsgTime);
this.SetParamSimple(map, prefix + "Transaction", this.Transaction);
this.SetParamArrayObj(map, prefix + "DeadLetterSource.", this.DeadLetterSource);
this.SetParamObj(map, prefix + "DeadLetterPolicy.", this.DeadLetterPolicy);
this.SetParamObj(map, prefix + "TransactionPolicy.", this.TransactionPolicy);
this.SetParamSimple(map, prefix + "CreateUin", this.CreateUin);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "Trace", this.Trace);
}
}
}