/* * 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.Cds.V20180420.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CdsAuditInstance : AbstractModel { /// /// 实例ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 用户AppId /// [JsonProperty("AppId")] public string AppId{ get; set; } /// /// 用户Uin /// [JsonProperty("Uin")] public string Uin{ get; set; } /// /// 项目ID /// [JsonProperty("ProjectId")] public ulong? ProjectId{ get; set; } /// /// 续费标识 /// [JsonProperty("RenewFlag")] public ulong? RenewFlag{ get; set; } /// /// 所属地域 /// [JsonProperty("Region")] public string Region{ get; set; } /// /// 付费模式(数据安全审计只支持预付费:1) /// [JsonProperty("PayMode")] public ulong? PayMode{ get; set; } /// /// 实例状态: 0,未生效;1:正常运行; 2:被隔离; 3,已过期 /// [JsonProperty("Status")] public ulong? Status{ get; set; } /// /// 实例被隔离时间,格式:yyyy-mm-dd HH:ii:ss /// [JsonProperty("IsolatedTimestamp")] public string IsolatedTimestamp{ get; set; } /// /// 实例创建时间,格式: yyyy-mm-dd HH:ii:ss /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 实例过期时间,格式:yyyy-mm-dd HH:ii:ss /// [JsonProperty("ExpireTime")] public string ExpireTime{ get; set; } /// /// 实例名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 实例公网IP /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("PublicIp")] public string PublicIp{ get; set; } /// /// 实例私网IP /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("PrivateIp")] public string PrivateIp{ get; set; } /// /// 实例类型(版本) /// [JsonProperty("InstanceType")] public string InstanceType{ get; set; } /// /// 实例域名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Pdomain")] public string Pdomain{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "Uin", this.Uin); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag); this.SetParamSimple(map, prefix + "Region", this.Region); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "IsolatedTimestamp", this.IsolatedTimestamp); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "PublicIp", this.PublicIp); this.SetParamSimple(map, prefix + "PrivateIp", this.PrivateIp); this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); this.SetParamSimple(map, prefix + "Pdomain", this.Pdomain); } } }