/*
* 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.Dts.V20180330.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSubscribeConfResponse : AbstractModel
{
///
/// 订阅实例ID
///
[JsonProperty("SubscribeId")]
public string SubscribeId{ get; set; }
///
/// 订阅实例名称
///
[JsonProperty("SubscribeName")]
public string SubscribeName{ get; set; }
///
/// 订阅通道
///
[JsonProperty("ChannelId")]
public string ChannelId{ get; set; }
///
/// 订阅数据库类型
///
[JsonProperty("Product")]
public string Product{ get; set; }
///
/// 被订阅的实例
///
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
///
/// 被订阅的实例的状态,可能的值有running,offline,isolate
///
[JsonProperty("InstanceStatus")]
public string InstanceStatus{ get; set; }
///
/// 订阅实例状态,可能的值有unconfigure-未配置,configuring-配置中,configured-已配置
///
[JsonProperty("SubsStatus")]
public string SubsStatus{ get; set; }
///
/// 订阅实例生命周期状态,可能的值有:normal-正常,isolating-隔离中,isolated-已隔离,offlining-下线中
///
[JsonProperty("Status")]
public string Status{ get; set; }
///
/// 订阅实例创建时间
///
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
///
/// 订阅实例被隔离时间
///
[JsonProperty("IsolateTime")]
public string IsolateTime{ get; set; }
///
/// 订阅实例到期时间
///
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
///
/// 订阅实例下线时间
///
[JsonProperty("OfflineTime")]
public string OfflineTime{ get; set; }
///
/// 订阅实例消费时间起点。
///
[JsonProperty("ConsumeStartTime")]
public string ConsumeStartTime{ get; set; }
///
/// 订阅实例计费类型,1-小时计费,0-包年包月
///
[JsonProperty("PayType")]
public long? PayType{ get; set; }
///
/// 订阅通道Vip
///
[JsonProperty("Vip")]
public string Vip{ get; set; }
///
/// 订阅通道Port
///
[JsonProperty("Vport")]
public long? Vport{ get; set; }
///
/// 订阅通道所在VpcId
///
[JsonProperty("UniqVpcId")]
public string UniqVpcId{ get; set; }
///
/// 订阅通道所在SubnetId
///
[JsonProperty("UniqSubnetId")]
public string UniqSubnetId{ get; set; }
///
/// 当前SDK消费时间位点
///
[JsonProperty("SdkConsumedTime")]
public string SdkConsumedTime{ get; set; }
///
/// 订阅SDK IP地址
///
[JsonProperty("SdkHost")]
public string SdkHost{ get; set; }
///
/// 订阅对象类型0-全实例订阅,1-DDL数据订阅,2-DML结构订阅,3-DDL数据订阅+DML结构订阅
///
[JsonProperty("SubscribeObjectType")]
public long? SubscribeObjectType{ get; set; }
///
/// 订阅对象,当SubscribeObjectType 为0时,此字段为空数组
///
[JsonProperty("SubscribeObjects")]
public SubscribeObject[] SubscribeObjects{ get; set; }
///
/// 修改时间
///
[JsonProperty("ModifyTime")]
public string ModifyTime{ get; set; }
///
/// 地域
///
[JsonProperty("Region")]
public string Region{ get; set; }
///
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
///
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
this.SetParamSimple(map, prefix + "SubscribeName", this.SubscribeName);
this.SetParamSimple(map, prefix + "ChannelId", this.ChannelId);
this.SetParamSimple(map, prefix + "Product", this.Product);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "InstanceStatus", this.InstanceStatus);
this.SetParamSimple(map, prefix + "SubsStatus", this.SubsStatus);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "IsolateTime", this.IsolateTime);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "OfflineTime", this.OfflineTime);
this.SetParamSimple(map, prefix + "ConsumeStartTime", this.ConsumeStartTime);
this.SetParamSimple(map, prefix + "PayType", this.PayType);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "Vport", this.Vport);
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
this.SetParamSimple(map, prefix + "SdkConsumedTime", this.SdkConsumedTime);
this.SetParamSimple(map, prefix + "SdkHost", this.SdkHost);
this.SetParamSimple(map, prefix + "SubscribeObjectType", this.SubscribeObjectType);
this.SetParamArrayObj(map, prefix + "SubscribeObjects.", this.SubscribeObjects);
this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}