/* * 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.Billing.V20180709.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ConsumptionResourceSummaryDataItem : AbstractModel { /// /// 资源ID /// [JsonProperty("ResourceId")] public string ResourceId{ get; set; } /// /// 资源名称 /// [JsonProperty("ResourceName")] public string ResourceName{ get; set; } /// /// 折后总价 /// [JsonProperty("RealTotalCost")] public string RealTotalCost{ get; set; } /// /// 现金花费 /// [JsonProperty("CashPayAmount")] public string CashPayAmount{ get; set; } /// /// 项目ID /// [JsonProperty("ProjectId")] public string ProjectId{ get; set; } /// /// 项目名称 /// [JsonProperty("ProjectName")] public string ProjectName{ get; set; } /// /// 地域ID /// [JsonProperty("RegionId")] public string RegionId{ get; set; } /// /// 地域名称 /// [JsonProperty("RegionName")] public string RegionName{ get; set; } /// /// 付费模式 /// [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 付费模式名称 /// [JsonProperty("PayModeName")] public string PayModeName{ get; set; } /// /// 产品码 /// [JsonProperty("BusinessCode")] public string BusinessCode{ get; set; } /// /// 产品名称 /// [JsonProperty("BusinessCodeName")] public string BusinessCodeName{ get; set; } /// /// 消耗类型 /// [JsonProperty("ConsumptionTypeName")] public string ConsumptionTypeName{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId); this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName); this.SetParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost); this.SetParamSimple(map, prefix + "CashPayAmount", this.CashPayAmount); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "ProjectName", this.ProjectName); this.SetParamSimple(map, prefix + "RegionId", this.RegionId); this.SetParamSimple(map, prefix + "RegionName", this.RegionName); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "PayModeName", this.PayModeName); this.SetParamSimple(map, prefix + "BusinessCode", this.BusinessCode); this.SetParamSimple(map, prefix + "BusinessCodeName", this.BusinessCodeName); this.SetParamSimple(map, prefix + "ConsumptionTypeName", this.ConsumptionTypeName); } } }