/* * 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.Emr.V20190103.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class PriceResource : AbstractModel { /// /// 需要的规格 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Spec")] public string Spec{ get; set; } /// /// 硬盘类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("StorageType")] public ulong? StorageType{ get; set; } /// /// 硬盘类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DiskType")] public string DiskType{ get; set; } /// /// 系统盘大小 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RootSize")] public long? RootSize{ get; set; } /// /// 内存大小 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MemSize")] public long? MemSize{ get; set; } /// /// 核心数量 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Cpu")] public long? Cpu{ get; set; } /// /// 硬盘大小 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DiskSize")] public long? DiskSize{ get; set; } /// /// 云盘列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MultiDisks")] public MultiDisk[] MultiDisks{ get; set; } /// /// 磁盘数量 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DiskCnt")] public long? DiskCnt{ get; set; } /// /// 规格 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceType")] public string InstanceType{ get; set; } /// /// 标签 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// 磁盘数量 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DiskNum")] public long? DiskNum{ get; set; } /// /// 本地盘的数量 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LocalDiskNum")] public long? LocalDiskNum{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Spec", this.Spec); this.SetParamSimple(map, prefix + "StorageType", this.StorageType); this.SetParamSimple(map, prefix + "DiskType", this.DiskType); this.SetParamSimple(map, prefix + "RootSize", this.RootSize); this.SetParamSimple(map, prefix + "MemSize", this.MemSize); this.SetParamSimple(map, prefix + "Cpu", this.Cpu); this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize); this.SetParamArrayObj(map, prefix + "MultiDisks.", this.MultiDisks); this.SetParamSimple(map, prefix + "DiskCnt", this.DiskCnt); this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "DiskNum", this.DiskNum); this.SetParamSimple(map, prefix + "LocalDiskNum", this.LocalDiskNum); } } }