/* * 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 DevicePriceInfo : AbstractModel { /// /// 物理机ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 设备型号 /// [JsonProperty("DeviceClassCode")] public string DeviceClassCode{ get; set; } /// /// 是否是弹性机型,1:是,0:否 /// [JsonProperty("IsElastic")] public ulong? IsElastic{ get; set; } /// /// 付费模式ID, 1:预付费; 2:后付费; 3:预付费转后付费中 /// [JsonProperty("CpmPayMode")] public ulong? CpmPayMode{ get; set; } /// /// Cpu信息描述 /// [JsonProperty("CpuDescription")] public string CpuDescription{ get; set; } /// /// 内存信息描述 /// [JsonProperty("MemDescription")] public string MemDescription{ get; set; } /// /// 硬盘信息描述 /// [JsonProperty("DiskDescription")] public string DiskDescription{ get; set; } /// /// 网卡信息描述 /// [JsonProperty("NicDescription")] public string NicDescription{ get; set; } /// /// Gpu信息描述 /// [JsonProperty("GpuDescription")] public string GpuDescription{ get; set; } /// /// Raid信息描述 /// [JsonProperty("RaidDescription")] public string RaidDescription{ get; set; } /// /// 客户的单价 /// [JsonProperty("Price")] public ulong? Price{ get; set; } /// /// 刊例单价 /// [JsonProperty("NormalPrice")] public ulong? NormalPrice{ get; set; } /// /// 原价 /// [JsonProperty("TotalCost")] public ulong? TotalCost{ get; set; } /// /// 折扣价 /// [JsonProperty("RealTotalCost")] public ulong? RealTotalCost{ get; set; } /// /// 计费时长 /// [JsonProperty("TimeSpan")] public ulong? TimeSpan{ get; set; } /// /// 计费时长单位, M:按月计费; D:按天计费 /// [JsonProperty("TimeUnit")] public string TimeUnit{ get; set; } /// /// 商品数量 /// [JsonProperty("GoodsCount")] public ulong? GoodsCount{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "DeviceClassCode", this.DeviceClassCode); this.SetParamSimple(map, prefix + "IsElastic", this.IsElastic); this.SetParamSimple(map, prefix + "CpmPayMode", this.CpmPayMode); 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 + "NicDescription", this.NicDescription); this.SetParamSimple(map, prefix + "GpuDescription", this.GpuDescription); this.SetParamSimple(map, prefix + "RaidDescription", this.RaidDescription); this.SetParamSimple(map, prefix + "Price", this.Price); this.SetParamSimple(map, prefix + "NormalPrice", this.NormalPrice); this.SetParamSimple(map, prefix + "TotalCost", this.TotalCost); this.SetParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost); this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan); this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit); this.SetParamSimple(map, prefix + "GoodsCount", this.GoodsCount); } } }