/* * 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.Cdb.V20170320.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SellConfig : AbstractModel { /// /// 设备类型 /// [JsonProperty("Device")] public string Device{ get; set; } /// /// 售卖规格描述 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// 实例类型 /// [JsonProperty("CdbType")] public string CdbType{ get; set; } /// /// 内存大小,单位为MB /// [JsonProperty("Memory")] public long? Memory{ get; set; } /// /// CPU核心数 /// [JsonProperty("Cpu")] public long? Cpu{ get; set; } /// /// 磁盘最小规格,单位为GB /// [JsonProperty("VolumeMin")] public long? VolumeMin{ get; set; } /// /// 磁盘最大规格,单位为GB /// [JsonProperty("VolumeMax")] public long? VolumeMax{ get; set; } /// /// 磁盘步长,单位为GB /// [JsonProperty("VolumeStep")] public long? VolumeStep{ get; set; } /// /// 链接数 /// [JsonProperty("Connection")] public long? Connection{ get; set; } /// /// 每秒查询数量 /// [JsonProperty("Qps")] public long? Qps{ get; set; } /// /// 每秒IO数量 /// [JsonProperty("Iops")] public long? Iops{ get; set; } /// /// 应用场景描述 /// [JsonProperty("Info")] public string Info{ get; set; } /// /// 状态值 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 标签值 /// [JsonProperty("Tag")] public long? Tag{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Device", this.Device); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "CdbType", this.CdbType); this.SetParamSimple(map, prefix + "Memory", this.Memory); this.SetParamSimple(map, prefix + "Cpu", this.Cpu); this.SetParamSimple(map, prefix + "VolumeMin", this.VolumeMin); this.SetParamSimple(map, prefix + "VolumeMax", this.VolumeMax); this.SetParamSimple(map, prefix + "VolumeStep", this.VolumeStep); this.SetParamSimple(map, prefix + "Connection", this.Connection); this.SetParamSimple(map, prefix + "Qps", this.Qps); this.SetParamSimple(map, prefix + "Iops", this.Iops); this.SetParamSimple(map, prefix + "Info", this.Info); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "Tag", this.Tag); } } }