/* * 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 OutterResource : AbstractModel { /// /// 规格 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Spec")] public string Spec{ get; set; } /// /// 规格名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SpecName")] public string SpecName{ get; set; } /// /// 硬盘类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("StorageType")] public long? 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; } /// /// CPU个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Cpu")] public long? Cpu{ get; set; } /// /// 硬盘大小 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DiskSize")] public long? DiskSize{ get; set; } /// /// 规格 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceType")] public string InstanceType{ 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 + "SpecName", this.SpecName); 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.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); } } }