首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/*
* 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 ClearQueueRequest : AbstractModel
{
/// <summary>
/// 队列名字在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ 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 + "QueueName", this.QueueName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ClearQueueResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 ClearSubscriptionFilterTagsRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 订阅名字在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "SubscriptionName", this.SubscriptionName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ClearSubscriptionFilterTagsResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,141 @@
/*
* 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 CreateQueueRequest : AbstractModel
{
/// <summary>
/// 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ get; set; }
/// <summary>
/// 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000正式上线后为 100,000,000。
/// </summary>
[JsonProperty("MaxMsgHeapNum")]
public ulong? MaxMsgHeapNum{ get; set; }
/// <summary>
/// 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
/// </summary>
[JsonProperty("PollingWaitSeconds")]
public ulong? PollingWaitSeconds{ get; set; }
/// <summary>
/// 消息可见性超时。取值范围 1-43200 秒即12小时内默认值 30。
/// </summary>
[JsonProperty("VisibilityTimeout")]
public ulong? VisibilityTimeout{ get; set; }
/// <summary>
/// 消息最大长度。取值范围 1024-65536 Byte即1-64K默认值 65536。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// 消息保留周期。取值范围 60-1296000 秒1min-15天默认值 345600 (4 天)。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// 队列是否开启回溯消息能力该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期0表示不开启。
/// </summary>
[JsonProperty("RewindSeconds")]
public ulong? RewindSeconds{ get; set; }
/// <summary>
/// 1 表示事务队列0 表示普通队列
/// </summary>
[JsonProperty("Transaction")]
public ulong? Transaction{ get; set; }
/// <summary>
/// 第一次回查间隔
/// </summary>
[JsonProperty("FirstQueryInterval")]
public ulong? FirstQueryInterval{ get; set; }
/// <summary>
/// 最大回查次数
/// </summary>
[JsonProperty("MaxQueryCount")]
public ulong? MaxQueryCount{ get; set; }
/// <summary>
/// 死信队列名称
/// </summary>
[JsonProperty("DeadLetterQueueName")]
public string DeadLetterQueueName{ get; set; }
/// <summary>
/// 死信策略。0为消息被多次消费未删除1为Time-To-Live过期
/// </summary>
[JsonProperty("Policy")]
public ulong? Policy{ get; set; }
/// <summary>
/// 最大接收次数 1-1000
/// </summary>
[JsonProperty("MaxReceiveCount")]
public ulong? MaxReceiveCount{ get; set; }
/// <summary>
/// policy为1时必选。最大未消费过期时间。范围300-43200单位秒需要小于消息最大保留时间msgRetentionSeconds
/// </summary>
[JsonProperty("MaxTimeToLive")]
public ulong? MaxTimeToLive{ get; set; }
/// <summary>
/// 是否开启消息轨迹追踪当不设置字段时默认为不开启该字段为true表示开启为false表示不开启
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "QueueName", this.QueueName);
this.SetParamSimple(map, prefix + "MaxMsgHeapNum", this.MaxMsgHeapNum);
this.SetParamSimple(map, prefix + "PollingWaitSeconds", this.PollingWaitSeconds);
this.SetParamSimple(map, prefix + "VisibilityTimeout", this.VisibilityTimeout);
this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize);
this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds);
this.SetParamSimple(map, prefix + "RewindSeconds", this.RewindSeconds);
this.SetParamSimple(map, prefix + "Transaction", this.Transaction);
this.SetParamSimple(map, prefix + "FirstQueryInterval", this.FirstQueryInterval);
this.SetParamSimple(map, prefix + "MaxQueryCount", this.MaxQueryCount);
this.SetParamSimple(map, prefix + "DeadLetterQueueName", this.DeadLetterQueueName);
this.SetParamSimple(map, prefix + "Policy", this.Policy);
this.SetParamSimple(map, prefix + "MaxReceiveCount", this.MaxReceiveCount);
this.SetParamSimple(map, prefix + "MaxTimeToLive", this.MaxTimeToLive);
this.SetParamSimple(map, prefix + "Trace", this.Trace);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 CreateQueueResponse : AbstractModel
{
/// <summary>
/// 创建成功的queueId
/// </summary>
[JsonProperty("QueueId")]
public string QueueId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "QueueId", this.QueueId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* 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 CreateSubscribeRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 订阅名字在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ get; set; }
/// <summary>
/// 订阅的协议目前支持两种协议http、queue。使用http协议用户需自己搭建接受消息的web server。使用queue消息会自动推送到CMQ queue用户可以并发地拉取消息。
/// </summary>
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
/// <summary>
/// 接收通知的Endpoint根据协议Protocol区分对于httpEndpoint必须以“`http://`”开头host可以是域名或IP对于Queue则填QueueName。 请注意目前推送服务不能推送到私有网络中因此Endpoint填写为私有网络域名或地址将接收不到推送的消息目前支持推送到公网和基础网络。
/// </summary>
[JsonProperty("Endpoint")]
public string Endpoint{ get; set; }
/// <summary>
/// 向Endpoint推送消息出现错误时CMQ推送服务器的重试策略。取值有1BACKOFF_RETRY退避重试。每隔一定时间重试一次重试够一定次数后就把该消息丢弃继续推送下一条消息2EXPONENTIAL_DECAY_RETRY指数衰退重试。每次重试的间隔是指数递增的例如开始1s后面是2s4s8s...由于Topic消息的周期是一天所以最多重试一天就把消息丢弃。默认值是EXPONENTIAL_DECAY_RETRY。
/// </summary>
[JsonProperty("NotifyStrategy")]
public string NotifyStrategy{ get; set; }
/// <summary>
/// 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用规则1如果FilterTag没有设置则无论MsgTag是否有设置订阅接收所有发布到Topic的消息2如果FilterTag数组有值则只有数组中至少有一个值在MsgTag数组中也存在时即FilterTag和MsgTag有交集订阅才接收该发布到Topic的消息3如果FilterTag数组有值但MsgTag没设置则不接收任何发布到Topic的消息可以认为是2的一种特例此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。
/// </summary>
[JsonProperty("FilterTag")]
public string[] FilterTag{ get; set; }
/// <summary>
/// BindingKey数量不超过5个 每个BindingKey长度不超过64字节该字段表示订阅接收消息的过滤策略每个BindingKey最多含有15个“.”, 即最多16个词组。
/// </summary>
[JsonProperty("BindingKey")]
public string[] BindingKey{ get; set; }
/// <summary>
/// 推送内容的格式。取值1JSON2SIMPLIFIED即raw格式。如果Protocol是queue则取值必须为SIMPLIFIED。如果Protocol是http两个值均可以默认值是JSON。
/// </summary>
[JsonProperty("NotifyContentFormat")]
public string NotifyContentFormat{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "SubscriptionName", this.SubscriptionName);
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
this.SetParamSimple(map, prefix + "Endpoint", this.Endpoint);
this.SetParamSimple(map, prefix + "NotifyStrategy", this.NotifyStrategy);
this.SetParamArraySimple(map, prefix + "FilterTag.", this.FilterTag);
this.SetParamArraySimple(map, prefix + "BindingKey.", this.BindingKey);
this.SetParamSimple(map, prefix + "NotifyContentFormat", this.NotifyContentFormat);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 CreateSubscribeResponse : AbstractModel
{
/// <summary>
/// SubscriptionId
/// </summary>
[JsonProperty("SubscriptionId")]
public string SubscriptionId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "SubscriptionId", this.SubscriptionId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* 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 CreateTopicRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 消息最大长度。取值范围 1024-65536 Byte即1-64K默认值 65536。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// 用于指定主题的消息匹配策略。
/// </summary>
[JsonProperty("FilterType")]
public ulong? FilterType{ get; set; }
/// <summary>
/// 消息保存时间。取值范围60 - 86400 s即1分钟 - 1天默认值86400。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// 是否开启消息轨迹标识true表示开启false表示不开启不填表示不开启。
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize);
this.SetParamSimple(map, prefix + "FilterType", this.FilterType);
this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds);
this.SetParamSimple(map, prefix + "Trace", this.Trace);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 CreateTopicResponse : AbstractModel
{
/// <summary>
/// TopicName
/// </summary>
[JsonProperty("TopicId")]
public string TopicId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "TopicId", this.TopicId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* 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 DeadLetterPolicy : AbstractModel
{
/// <summary>
/// DeadLetterQueueName
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeadLetterQueueName")]
public string DeadLetterQueueName{ get; set; }
/// <summary>
/// DeadLetterQueue
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeadLetterQueue")]
public string DeadLetterQueue{ get; set; }
/// <summary>
/// Policy
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Policy")]
public ulong? Policy{ get; set; }
/// <summary>
/// MaxTimeToLive
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxTimeToLive")]
public ulong? MaxTimeToLive{ get; set; }
/// <summary>
/// MaxReceiveCount
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxReceiveCount")]
public ulong? MaxReceiveCount{ 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 + "DeadLetterQueueName", this.DeadLetterQueueName);
this.SetParamSimple(map, prefix + "DeadLetterQueue", this.DeadLetterQueue);
this.SetParamSimple(map, prefix + "Policy", this.Policy);
this.SetParamSimple(map, prefix + "MaxTimeToLive", this.MaxTimeToLive);
this.SetParamSimple(map, prefix + "MaxReceiveCount", this.MaxReceiveCount);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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 DeadLetterSource : AbstractModel
{
/// <summary>
/// QueueId
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("QueueId")]
public string QueueId{ get; set; }
/// <summary>
/// QueueName
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ 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 + "QueueId", this.QueueId);
this.SetParamSimple(map, prefix + "QueueName", this.QueueName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteQueueRequest : AbstractModel
{
/// <summary>
/// 队列名字在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ 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 + "QueueName", this.QueueName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteQueueResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 DeleteSubscribeRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 订阅名字在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "SubscriptionName", this.SubscriptionName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteSubscribeResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteTopicRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ 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 + "TopicName", this.TopicName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 DeleteTopicResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* 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 DescribeDeadLetterSourceQueuesRequest : AbstractModel
{
/// <summary>
/// 死信队列名称
/// </summary>
[JsonProperty("DeadLetterQueueName")]
public string DeadLetterQueueName{ get; set; }
/// <summary>
/// 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 分页时本页获取主题的个数如果不传递该参数则该参数默认为20最大值为50。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 过滤死信队列源队列名称目前仅支持SourceQueueName过滤
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ 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 + "DeadLetterQueueName", this.DeadLetterQueueName);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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 DescribeDeadLetterSourceQueuesResponse : AbstractModel
{
/// <summary>
/// 满足本次条件的队列个数
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 死信队列源队列
/// </summary>
[JsonProperty("QueueSet")]
public DeadLetterSource[] QueueSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "TotalCount", this.TotalCount);
this.SetParamArrayObj(map, prefix + "QueueSet.", this.QueueSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* 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 DescribeQueueDetailRequest : AbstractModel
{
/// <summary>
/// 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 分页时本页获取队列的个数如果不传递该参数则该参数默认为20最大值为50。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 筛选参数目前支持QueueName筛选且仅支持一个关键字
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 标签搜索
/// </summary>
[JsonProperty("TagKey")]
public string TagKey{ get; set; }
/// <summary>
/// 精确匹配QueueName
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "TagKey", this.TagKey);
this.SetParamSimple(map, prefix + "QueueName", this.QueueName);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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 DescribeQueueDetailResponse : AbstractModel
{
/// <summary>
/// queue总数量
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// queue列表
/// </summary>
[JsonProperty("QueueSet")]
public QueueSet[] QueueSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "TotalCount", this.TotalCount);
this.SetParamArrayObj(map, prefix + "QueueSet.", this.QueueSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* 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 DescribeSubscriptionDetailRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 分页时本页获取主题的个数如果不传递该参数则该参数默认为20最大值为50。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 筛选参数目前只支持SubscriptionName且仅支持一个关键字。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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 DescribeSubscriptionDetailResponse : AbstractModel
{
/// <summary>
/// 总数
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// Subscription属性集合
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubscriptionSet")]
public Subscription[] SubscriptionSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "TotalCount", this.TotalCount);
this.SetParamArrayObj(map, prefix + "SubscriptionSet.", this.SubscriptionSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* 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 DescribeTopicDetailRequest : AbstractModel
{
/// <summary>
/// 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 分页时本页获取队列的个数如果不传递该参数则该参数默认为20最大值为50。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 目前只支持过滤TopicName 且只能填一个过滤值
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 标签匹配
/// </summary>
[JsonProperty("TagKey")]
public string TagKey{ get; set; }
/// <summary>
/// 精确匹配TopicName
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "TagKey", this.TagKey);
this.SetParamSimple(map, prefix + "TopicName", this.TopicName);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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 DescribeTopicDetailResponse : AbstractModel
{
/// <summary>
/// TotalCount
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// TopicSet
/// </summary>
[JsonProperty("TopicSet")]
public TopicSet[] TopicSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "TotalCount", this.TotalCount);
this.SetParamArrayObj(map, prefix + "TopicSet.", this.TopicSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 Filter : AbstractModel
{
/// <summary>
/// 过滤参数的名字
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 数值
/// </summary>
[JsonProperty("Values")]
public string[] Values{ 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 + "Name", this.Name);
this.SetParamArraySimple(map, prefix + "Values.", this.Values);
}
}
}

View File

@@ -0,0 +1,134 @@
/*
* 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 ModifyQueueAttributeRequest : AbstractModel
{
/// <summary>
/// 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ get; set; }
/// <summary>
/// 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000正式上线后为 100,000,000。
/// </summary>
[JsonProperty("MaxMsgHeapNum")]
public ulong? MaxMsgHeapNum{ get; set; }
/// <summary>
/// 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
/// </summary>
[JsonProperty("PollingWaitSeconds")]
public ulong? PollingWaitSeconds{ get; set; }
/// <summary>
/// 消息可见性超时。取值范围 1-43200 秒即12小时内默认值 30。
/// </summary>
[JsonProperty("VisibilityTimeout")]
public ulong? VisibilityTimeout{ get; set; }
/// <summary>
/// 消息最大长度。取值范围 1024-65536 Byte即1-64K默认值 65536。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// 消息保留周期。取值范围 60-1296000 秒1min-15天默认值 345600 (4 天)。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// 消息最长回溯时间取值范围0-msgRetentionSeconds消息的最大回溯之间为消息在队列中的保存周期0表示不开启消息回溯。
/// </summary>
[JsonProperty("RewindSeconds")]
public ulong? RewindSeconds{ get; set; }
/// <summary>
/// 第一次查询时间
/// </summary>
[JsonProperty("FirstQueryInterval")]
public ulong? FirstQueryInterval{ get; set; }
/// <summary>
/// 最大查询次数
/// </summary>
[JsonProperty("MaxQueryCount")]
public ulong? MaxQueryCount{ get; set; }
/// <summary>
/// 死信队列名称
/// </summary>
[JsonProperty("DeadLetterQueueName")]
public string DeadLetterQueueName{ get; set; }
/// <summary>
/// MaxTimeToLivepolicy为1时必选。最大未消费过期时间。范围300-43200单位秒需要小于消息最大保留时间MsgRetentionSeconds
/// </summary>
[JsonProperty("MaxTimeToLive")]
public ulong? MaxTimeToLive{ get; set; }
/// <summary>
/// 最大接收次数
/// </summary>
[JsonProperty("MaxReceiveCount")]
public ulong? MaxReceiveCount{ get; set; }
/// <summary>
/// 死信队列策略
/// </summary>
[JsonProperty("Policy")]
public ulong? Policy{ get; set; }
/// <summary>
/// 是否开启消息轨迹标识true表示开启false表示不开启不填表示不开启。
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "QueueName", this.QueueName);
this.SetParamSimple(map, prefix + "MaxMsgHeapNum", this.MaxMsgHeapNum);
this.SetParamSimple(map, prefix + "PollingWaitSeconds", this.PollingWaitSeconds);
this.SetParamSimple(map, prefix + "VisibilityTimeout", this.VisibilityTimeout);
this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize);
this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds);
this.SetParamSimple(map, prefix + "RewindSeconds", this.RewindSeconds);
this.SetParamSimple(map, prefix + "FirstQueryInterval", this.FirstQueryInterval);
this.SetParamSimple(map, prefix + "MaxQueryCount", this.MaxQueryCount);
this.SetParamSimple(map, prefix + "DeadLetterQueueName", this.DeadLetterQueueName);
this.SetParamSimple(map, prefix + "MaxTimeToLive", this.MaxTimeToLive);
this.SetParamSimple(map, prefix + "MaxReceiveCount", this.MaxReceiveCount);
this.SetParamSimple(map, prefix + "Policy", this.Policy);
this.SetParamSimple(map, prefix + "Trace", this.Trace);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ModifyQueueAttributeResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,80 @@
/*
* 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 ModifySubscriptionAttributeRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 订阅名字在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ get; set; }
/// <summary>
/// 向 Endpoint 推送消息出现错误时CMQ 推送服务器的重试策略。取值如下:
/// 1BACKOFF_RETRY退避重试。每隔一定时间重试一次重试够一定次数后就把该消息丢弃继续推送下一条消息。
/// 2EXPONENTIAL_DECAY_RETRY指数衰退重试。每次重试的间隔是指数递增的例如开始1s后面是2s4s8s···由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
/// </summary>
[JsonProperty("NotifyStrategy")]
public string NotifyStrategy{ get; set; }
/// <summary>
/// 推送内容的格式。取值1JSON2SIMPLIFIED即 raw 格式。如果 Protocol 是 queue则取值必须为 SIMPLIFIED。如果 Protocol 是 HTTP两个值均可以默认值是 JSON。
/// </summary>
[JsonProperty("NotifyContentFormat")]
public string NotifyContentFormat{ get; set; }
/// <summary>
/// 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用规则1如果FilterTag没有设置则无论MsgTag是否有设置订阅接收所有发布到Topic的消息2如果FilterTag数组有值则只有数组中至少有一个值在MsgTag数组中也存在时即FilterTag和MsgTag有交集订阅才接收该发布到Topic的消息3如果FilterTag数组有值但MsgTag没设置则不接收任何发布到Topic的消息可以认为是2的一种特例此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。
/// </summary>
[JsonProperty("FilterTags")]
public string[] FilterTags{ get; set; }
/// <summary>
/// BindingKey数量不超过5个 每个BindingKey长度不超过64字节该字段表示订阅接收消息的过滤策略每个BindingKey最多含有15个“.”, 即最多16个词组。
/// </summary>
[JsonProperty("BindingKey")]
public string[] BindingKey{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "SubscriptionName", this.SubscriptionName);
this.SetParamSimple(map, prefix + "NotifyStrategy", this.NotifyStrategy);
this.SetParamSimple(map, prefix + "NotifyContentFormat", this.NotifyContentFormat);
this.SetParamArraySimple(map, prefix + "FilterTags.", this.FilterTags);
this.SetParamArraySimple(map, prefix + "BindingKey.", this.BindingKey);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ModifySubscriptionAttributeResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* 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 ModifyTopicAttributeRequest : AbstractModel
{
/// <summary>
/// 主题名字在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// 消息最大长度。取值范围1024 - 65536 Byte即1 - 64K默认值65536。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// 消息保存时间。取值范围60 - 86400 s即1分钟 - 1天默认值86400。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// 是否开启消息轨迹标识true表示开启false表示不开启不填表示不开启。
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "MaxMsgSize", this.MaxMsgSize);
this.SetParamSimple(map, prefix + "MsgRetentionSeconds", this.MsgRetentionSeconds);
this.SetParamSimple(map, prefix + "Trace", this.Trace);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 ModifyTopicAttributeResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,234 @@
/*
* 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
{
/// <summary>
/// QueueId
/// </summary>
[JsonProperty("QueueId")]
public string QueueId{ get; set; }
/// <summary>
/// QueueName
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ get; set; }
/// <summary>
/// Qps
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
/// <summary>
/// Bps
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Bps")]
public ulong? Bps{ get; set; }
/// <summary>
/// MaxDelaySeconds
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxDelaySeconds")]
public ulong? MaxDelaySeconds{ get; set; }
/// <summary>
/// MaxMsgHeapNum
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxMsgHeapNum")]
public ulong? MaxMsgHeapNum{ get; set; }
/// <summary>
/// PollingWaitSeconds
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PollingWaitSeconds")]
public ulong? PollingWaitSeconds{ get; set; }
/// <summary>
/// MsgRetentionSeconds
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// VisibilityTimeout
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VisibilityTimeout")]
public ulong? VisibilityTimeout{ get; set; }
/// <summary>
/// MaxMsgSize
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// RewindSeconds
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RewindSeconds")]
public ulong? RewindSeconds{ get; set; }
/// <summary>
/// CreateTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
/// <summary>
/// LastModifyTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LastModifyTime")]
public ulong? LastModifyTime{ get; set; }
/// <summary>
/// ActiveMsgNum
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ActiveMsgNum")]
public ulong? ActiveMsgNum{ get; set; }
/// <summary>
/// InactiveMsgNum
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InactiveMsgNum")]
public ulong? InactiveMsgNum{ get; set; }
/// <summary>
/// DelayMsgNum
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DelayMsgNum")]
public ulong? DelayMsgNum{ get; set; }
/// <summary>
/// RewindMsgNum
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RewindMsgNum")]
public ulong? RewindMsgNum{ get; set; }
/// <summary>
/// MinMsgTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MinMsgTime")]
public ulong? MinMsgTime{ get; set; }
/// <summary>
/// Transaction
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Transaction")]
public bool? Transaction{ get; set; }
/// <summary>
/// DeadLetterSource
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeadLetterSource")]
public DeadLetterSource[] DeadLetterSource{ get; set; }
/// <summary>
/// DeadLetterPolicy
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeadLetterPolicy")]
public DeadLetterPolicy DeadLetterPolicy{ get; set; }
/// <summary>
/// TransactionPolicy
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TransactionPolicy")]
public TransactionPolicy TransactionPolicy{ get; set; }
/// <summary>
/// 创建者uin
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateUin")]
public ulong? CreateUin{ get; set; }
/// <summary>
/// 标签
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// 消息轨迹表示true表示开启false表示不开启
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "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);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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 RewindQueueRequest : AbstractModel
{
/// <summary>
/// 队列名字在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串必须以字母为首字符剩余部分可以包含字母、数字和横划线(-)。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ get; set; }
/// <summary>
/// 设定该时间BatchreceiveMessage接口会按照生产消息的先后顺序消费该时间戳以后的消息。
/// </summary>
[JsonProperty("StartConsumeTime")]
public ulong? StartConsumeTime{ 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 + "QueueName", this.QueueName);
this.SetParamSimple(map, prefix + "StartConsumeTime", this.StartConsumeTime);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 RewindQueueResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,132 @@
/*
* 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 Subscription : AbstractModel
{
/// <summary>
/// SubscriptionName
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ get; set; }
/// <summary>
/// SubscriptionId
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubscriptionId")]
public string SubscriptionId{ get; set; }
/// <summary>
/// TopicOwner
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TopicOwner")]
public ulong? TopicOwner{ get; set; }
/// <summary>
/// MsgCount
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MsgCount")]
public ulong? MsgCount{ get; set; }
/// <summary>
/// LastModifyTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LastModifyTime")]
public ulong? LastModifyTime{ get; set; }
/// <summary>
/// CreateTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
/// <summary>
/// BindingKey
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BindingKey")]
public string[] BindingKey{ get; set; }
/// <summary>
/// Endpoint
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Endpoint")]
public string Endpoint{ get; set; }
/// <summary>
/// FilterTags
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("FilterTags")]
public string[] FilterTags{ get; set; }
/// <summary>
/// Protocol
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
/// <summary>
/// NotifyStrategy
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NotifyStrategy")]
public string NotifyStrategy{ get; set; }
/// <summary>
/// NotifyContentFormat
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NotifyContentFormat")]
public string NotifyContentFormat{ 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 + "SubscriptionName", this.SubscriptionName);
this.SetParamSimple(map, prefix + "SubscriptionId", this.SubscriptionId);
this.SetParamSimple(map, prefix + "TopicOwner", this.TopicOwner);
this.SetParamSimple(map, prefix + "MsgCount", this.MsgCount);
this.SetParamSimple(map, prefix + "LastModifyTime", this.LastModifyTime);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamArraySimple(map, prefix + "BindingKey.", this.BindingKey);
this.SetParamSimple(map, prefix + "Endpoint", this.Endpoint);
this.SetParamArraySimple(map, prefix + "FilterTags.", this.FilterTags);
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
this.SetParamSimple(map, prefix + "NotifyStrategy", this.NotifyStrategy);
this.SetParamSimple(map, prefix + "NotifyContentFormat", this.NotifyContentFormat);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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 Tag : AbstractModel
{
/// <summary>
/// 标签Key
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TagKey")]
public string TagKey{ get; set; }
/// <summary>
/// 标签值
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TagValue")]
public string TagValue{ 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 + "TagKey", this.TagKey);
this.SetParamSimple(map, prefix + "TagValue", this.TagValue);
}
}
}

View File

@@ -0,0 +1,132 @@
/*
* 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
{
/// <summary>
/// TopicId
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TopicId")]
public string TopicId{ get; set; }
/// <summary>
/// TopicName
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// MsgRetentionSeconds
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MsgRetentionSeconds")]
public ulong? MsgRetentionSeconds{ get; set; }
/// <summary>
/// MaxMsgSize
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxMsgSize")]
public ulong? MaxMsgSize{ get; set; }
/// <summary>
/// Qps
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
/// <summary>
/// FilterType
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("FilterType")]
public ulong? FilterType{ get; set; }
/// <summary>
/// CreateTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
/// <summary>
/// LastModifyTime
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LastModifyTime")]
public ulong? LastModifyTime{ get; set; }
/// <summary>
/// MsgCount
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MsgCount")]
public ulong? MsgCount{ get; set; }
/// <summary>
/// CreateUin
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateUin")]
public ulong? CreateUin{ get; set; }
/// <summary>
/// Tags
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// 主题是否开启消息轨迹true表示开启false表示不开启
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Trace")]
public bool? Trace{ 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 + "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);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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 TransactionPolicy : AbstractModel
{
/// <summary>
/// FirstQueryInterval
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("FirstQueryInterval")]
public ulong? FirstQueryInterval{ get; set; }
/// <summary>
/// MaxQueryCount
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MaxQueryCount")]
public ulong? MaxQueryCount{ 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 + "FirstQueryInterval", this.FirstQueryInterval);
this.SetParamSimple(map, prefix + "MaxQueryCount", this.MaxQueryCount);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 UnbindDeadLetterRequest : AbstractModel
{
/// <summary>
/// 死信策略源队列名称,调用本接口会清空该队列的死信队列策略。
/// </summary>
[JsonProperty("QueueName")]
public string QueueName{ 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 + "QueueName", this.QueueName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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 UnbindDeadLetterResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "RequestId", this.RequestId);
}
}
}