/* * 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.Postgres.V20170312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SpecItemInfo : AbstractModel { /// /// 规格ID /// [JsonProperty("SpecCode")] public string SpecCode{ get; set; } /// /// PostgreSQL的内核版本编号 /// [JsonProperty("Version")] public string Version{ get; set; } /// /// 内核编号对应的完整版本名称 /// [JsonProperty("VersionName")] public string VersionName{ get; set; } /// /// CPU核数 /// [JsonProperty("Cpu")] public ulong? Cpu{ get; set; } /// /// 内存大小,单位:MB /// [JsonProperty("Memory")] public ulong? Memory{ get; set; } /// /// 该规格所支持最大存储容量,单位:GB /// [JsonProperty("MaxStorage")] public ulong? MaxStorage{ get; set; } /// /// 该规格所支持最小存储容量,单位:GB /// [JsonProperty("MinStorage")] public ulong? MinStorage{ get; set; } /// /// 该规格的预估QPS /// [JsonProperty("Qps")] public ulong? Qps{ get; set; } /// /// 该规格对应的计费ID /// [JsonProperty("Pid")] public ulong? Pid{ get; set; } /// /// 机器类型 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "SpecCode", this.SpecCode); this.SetParamSimple(map, prefix + "Version", this.Version); this.SetParamSimple(map, prefix + "VersionName", this.VersionName); this.SetParamSimple(map, prefix + "Cpu", this.Cpu); this.SetParamSimple(map, prefix + "Memory", this.Memory); this.SetParamSimple(map, prefix + "MaxStorage", this.MaxStorage); this.SetParamSimple(map, prefix + "MinStorage", this.MinStorage); this.SetParamSimple(map, prefix + "Qps", this.Qps); this.SetParamSimple(map, prefix + "Pid", this.Pid); this.SetParamSimple(map, prefix + "Type", this.Type); } } }