/*
* 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
{
///
/// SubscriptionName
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("SubscriptionName")]
public string SubscriptionName{ get; set; }
///
/// SubscriptionId
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("SubscriptionId")]
public string SubscriptionId{ get; set; }
///
/// TopicOwner
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("TopicOwner")]
public ulong? TopicOwner{ get; set; }
///
/// MsgCount
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MsgCount")]
public ulong? MsgCount{ get; set; }
///
/// LastModifyTime
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("LastModifyTime")]
public ulong? LastModifyTime{ get; set; }
///
/// CreateTime
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
///
/// BindingKey
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("BindingKey")]
public string[] BindingKey{ get; set; }
///
/// Endpoint
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Endpoint")]
public string Endpoint{ get; set; }
///
/// FilterTags
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("FilterTags")]
public string[] FilterTags{ get; set; }
///
/// Protocol
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
///
/// NotifyStrategy
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("NotifyStrategy")]
public string NotifyStrategy{ get; set; }
///
/// NotifyContentFormat
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("NotifyContentFormat")]
public string NotifyContentFormat{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}