109 lines
3.7 KiB
C#
109 lines
3.7 KiB
C#
/*
|
||
* 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
|
||
{
|
||
|
||
/// <summary>
|
||
/// 规格
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Spec")]
|
||
public string Spec{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 规格名
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SpecName")]
|
||
public string SpecName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("StorageType")]
|
||
public long? StorageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("DiskType")]
|
||
public string DiskType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 系统盘大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RootSize")]
|
||
public long? RootSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内存大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("MemSize")]
|
||
public long? MemSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// CPU个数
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Cpu")]
|
||
public long? Cpu{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("DiskSize")]
|
||
public long? DiskSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 规格
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("InstanceType")]
|
||
public string InstanceType{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> 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);
|
||
}
|
||
}
|
||
}
|
||
|