/*
* 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.Bm.V20180423.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeviceClass : AbstractModel
{
///
/// 机型ID
///
[JsonProperty("DeviceClassCode")]
public string DeviceClassCode{ get; set; }
///
/// CPU描述
///
[JsonProperty("CpuDescription")]
public string CpuDescription{ get; set; }
///
/// 内存描述
///
[JsonProperty("MemDescription")]
public string MemDescription{ get; set; }
///
/// 硬盘描述
///
[JsonProperty("DiskDescription")]
public string DiskDescription{ get; set; }
///
/// 是否支持RAID. 0:不支持; 1:支持
///
[JsonProperty("HaveRaidCard")]
public ulong? HaveRaidCard{ get; set; }
///
/// 网卡描述
///
[JsonProperty("NicDescription")]
public string NicDescription{ get; set; }
///
/// GPU描述
///
[JsonProperty("GpuDescription")]
public string GpuDescription{ get; set; }
///
/// 单价折扣
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Discount")]
public float? Discount{ get; set; }
///
/// 用户刊例价格
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("UnitPrice")]
public ulong? UnitPrice{ get; set; }
///
/// 实际价格
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("RealPrice")]
public ulong? RealPrice{ get; set; }
///
/// 官网刊例价格
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("NormalPrice")]
public ulong? NormalPrice{ get; set; }
///
/// 设备使用场景类型
///
[JsonProperty("DeviceType")]
public string DeviceType{ get; set; }
///
/// 机型系列
///
[JsonProperty("Series")]
public ulong? Series{ get; set; }
///
/// cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
///
[JsonProperty("Cpu")]
public ulong? Cpu{ get; set; }
///
/// 内存容量。单位G
///
[JsonProperty("Mem")]
public ulong? Mem{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "DeviceClassCode", this.DeviceClassCode);
this.SetParamSimple(map, prefix + "CpuDescription", this.CpuDescription);
this.SetParamSimple(map, prefix + "MemDescription", this.MemDescription);
this.SetParamSimple(map, prefix + "DiskDescription", this.DiskDescription);
this.SetParamSimple(map, prefix + "HaveRaidCard", this.HaveRaidCard);
this.SetParamSimple(map, prefix + "NicDescription", this.NicDescription);
this.SetParamSimple(map, prefix + "GpuDescription", this.GpuDescription);
this.SetParamSimple(map, prefix + "Discount", this.Discount);
this.SetParamSimple(map, prefix + "UnitPrice", this.UnitPrice);
this.SetParamSimple(map, prefix + "RealPrice", this.RealPrice);
this.SetParamSimple(map, prefix + "NormalPrice", this.NormalPrice);
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
this.SetParamSimple(map, prefix + "Series", this.Series);
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
this.SetParamSimple(map, prefix + "Mem", this.Mem);
}
}
}