Files
g.hnyhua.cn/TencentCloud/Dts/V20180330/Models/DescribeSubscribeConfResponse.cs
2026-02-07 15:48:27 +08:00

212 lines
7.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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
{
/// <summary>
/// 订阅实例ID
/// </summary>
[JsonProperty("SubscribeId")]
public string SubscribeId{ get; set; }
/// <summary>
/// 订阅实例名称
/// </summary>
[JsonProperty("SubscribeName")]
public string SubscribeName{ get; set; }
/// <summary>
/// 订阅通道
/// </summary>
[JsonProperty("ChannelId")]
public string ChannelId{ get; set; }
/// <summary>
/// 订阅数据库类型
/// </summary>
[JsonProperty("Product")]
public string Product{ get; set; }
/// <summary>
/// 被订阅的实例
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 被订阅的实例的状态可能的值有running,offline,isolate
/// </summary>
[JsonProperty("InstanceStatus")]
public string InstanceStatus{ get; set; }
/// <summary>
/// 订阅实例状态可能的值有unconfigure-未配置configuring-配置中configured-已配置
/// </summary>
[JsonProperty("SubsStatus")]
public string SubsStatus{ get; set; }
/// <summary>
/// 订阅实例生命周期状态可能的值有normal-正常isolating-隔离中isolated-已隔离offlining-下线中
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 订阅实例创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 订阅实例被隔离时间
/// </summary>
[JsonProperty("IsolateTime")]
public string IsolateTime{ get; set; }
/// <summary>
/// 订阅实例到期时间
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 订阅实例下线时间
/// </summary>
[JsonProperty("OfflineTime")]
public string OfflineTime{ get; set; }
/// <summary>
/// 订阅实例消费时间起点。
/// </summary>
[JsonProperty("ConsumeStartTime")]
public string ConsumeStartTime{ get; set; }
/// <summary>
/// 订阅实例计费类型1-小时计费0-包年包月
/// </summary>
[JsonProperty("PayType")]
public long? PayType{ get; set; }
/// <summary>
/// 订阅通道Vip
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 订阅通道Port
/// </summary>
[JsonProperty("Vport")]
public long? Vport{ get; set; }
/// <summary>
/// 订阅通道所在VpcId
/// </summary>
[JsonProperty("UniqVpcId")]
public string UniqVpcId{ get; set; }
/// <summary>
/// 订阅通道所在SubnetId
/// </summary>
[JsonProperty("UniqSubnetId")]
public string UniqSubnetId{ get; set; }
/// <summary>
/// 当前SDK消费时间位点
/// </summary>
[JsonProperty("SdkConsumedTime")]
public string SdkConsumedTime{ get; set; }
/// <summary>
/// 订阅SDK IP地址
/// </summary>
[JsonProperty("SdkHost")]
public string SdkHost{ get; set; }
/// <summary>
/// 订阅对象类型0-全实例订阅1-DDL数据订阅2-DML结构订阅3-DDL数据订阅+DML结构订阅
/// </summary>
[JsonProperty("SubscribeObjectType")]
public long? SubscribeObjectType{ get; set; }
/// <summary>
/// 订阅对象当SubscribeObjectType 为0时此字段为空数组
/// </summary>
[JsonProperty("SubscribeObjects")]
public SubscribeObject[] SubscribeObjects{ get; set; }
/// <summary>
/// 修改时间
/// </summary>
[JsonProperty("ModifyTime")]
public string ModifyTime{ get; set; }
/// <summary>
/// 地域
/// </summary>
[JsonProperty("Region")]
public string Region{ 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 + "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);
}
}
}