首次推送
This commit is contained in:
43
TencentCloud/Cmq/V20190304/Models/ClearQueueRequest.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/ClearQueueRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/ClearQueueResponse.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/ClearQueueResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
141
TencentCloud/Cmq/V20190304/Models/CreateQueueRequest.cs
Normal file
141
TencentCloud/Cmq/V20190304/Models/CreateQueueRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/CreateQueueResponse.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/CreateQueueResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Cmq/V20190304/Models/CreateSubscribeRequest.cs
Normal file
92
TencentCloud/Cmq/V20190304/Models/CreateSubscribeRequest.cs
Normal 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区分:对于http,Endpoint必须以“`http://`”开头,host可以是域名或IP;对于Queue,则填QueueName。 请注意,目前推送服务不能推送到私有网络中,因此Endpoint填写为私有网络域名或地址将接收不到推送的消息,目前支持推送到公网和基础网络。
|
||||
/// </summary>
|
||||
[JsonProperty("Endpoint")]
|
||||
public string Endpoint{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 向Endpoint推送消息出现错误时,CMQ推送服务器的重试策略。取值有:1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s...由于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>
|
||||
/// 推送内容的格式。取值:1)JSON;2)SIMPLIFIED,即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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/CreateSubscribeResponse.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/CreateSubscribeResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Cmq/V20190304/Models/CreateTopicRequest.cs
Normal file
71
TencentCloud/Cmq/V20190304/Models/CreateTopicRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/CreateTopicResponse.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/CreateTopicResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
76
TencentCloud/Cmq/V20190304/Models/DeadLetterPolicy.cs
Normal file
76
TencentCloud/Cmq/V20190304/Models/DeadLetterPolicy.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Cmq/V20190304/Models/DeadLetterSource.cs
Normal file
52
TencentCloud/Cmq/V20190304/Models/DeadLetterSource.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/DeleteQueueRequest.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/DeleteQueueRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/DeleteQueueResponse.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/DeleteQueueResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/DeleteSubscribeRequest.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/DeleteSubscribeRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/DeleteSubscribeResponse.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/DeleteSubscribeResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/DeleteTopicRequest.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/DeleteTopicRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/DeleteTopicResponse.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/DeleteTopicResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/Filter.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/Filter.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
134
TencentCloud/Cmq/V20190304/Models/ModifyQueueAttributeRequest.cs
Normal file
134
TencentCloud/Cmq/V20190304/Models/ModifyQueueAttributeRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 推送服务器的重试策略。取值如下:
|
||||
/// (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息。
|
||||
/// (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s···由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
|
||||
/// </summary>
|
||||
[JsonProperty("NotifyStrategy")]
|
||||
public string NotifyStrategy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
234
TencentCloud/Cmq/V20190304/Models/QueueSet.cs
Normal file
234
TencentCloud/Cmq/V20190304/Models/QueueSet.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cmq/V20190304/Models/RewindQueueRequest.cs
Normal file
50
TencentCloud/Cmq/V20190304/Models/RewindQueueRequest.cs
Normal 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>
|
||||
/// 设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。
|
||||
/// </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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/RewindQueueResponse.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/RewindQueueResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
132
TencentCloud/Cmq/V20190304/Models/Subscription.cs
Normal file
132
TencentCloud/Cmq/V20190304/Models/Subscription.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Cmq/V20190304/Models/Tag.cs
Normal file
52
TencentCloud/Cmq/V20190304/Models/Tag.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
132
TencentCloud/Cmq/V20190304/Models/TopicSet.cs
Normal file
132
TencentCloud/Cmq/V20190304/Models/TopicSet.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Cmq/V20190304/Models/TransactionPolicy.cs
Normal file
52
TencentCloud/Cmq/V20190304/Models/TransactionPolicy.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cmq/V20190304/Models/UnbindDeadLetterRequest.cs
Normal file
43
TencentCloud/Cmq/V20190304/Models/UnbindDeadLetterRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user