代码修改后的版本,全部提交
This commit is contained in:
268
TencentCloud/Billing/V20180709/Models/BillResourceSummary.cs
Normal file
268
TencentCloud/Billing/V20180709/Models/BillResourceSummary.cs
Normal file
@@ -0,0 +1,268 @@
|
||||
/*
|
||||
* 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 BillResourceSummary : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
||||
/// </summary>
|
||||
[JsonProperty("BusinessCodeName")]
|
||||
public string BusinessCodeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子产品:云产品子类,如云服务器CVM-标准型S1, 当没有获取到子产品名称时,返回"-"
|
||||
/// </summary>
|
||||
[JsonProperty("ProductCodeName")]
|
||||
public string ProductCodeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计费模式:包年包月和按量计费
|
||||
/// </summary>
|
||||
[JsonProperty("PayModeName")]
|
||||
public string PayModeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目
|
||||
/// </summary>
|
||||
[JsonProperty("ProjectName")]
|
||||
public string ProjectName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地域
|
||||
/// </summary>
|
||||
[JsonProperty("RegionName")]
|
||||
public string RegionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区
|
||||
/// </summary>
|
||||
[JsonProperty("ZoneName")]
|
||||
public string ZoneName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceId")]
|
||||
public string ResourceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源实例名称
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceName")]
|
||||
public string ResourceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型
|
||||
/// </summary>
|
||||
[JsonProperty("ActionTypeName")]
|
||||
public string ActionTypeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
[JsonProperty("OrderId")]
|
||||
public string OrderId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扣费时间
|
||||
/// </summary>
|
||||
[JsonProperty("PayTime")]
|
||||
public string PayTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始使用时间
|
||||
/// </summary>
|
||||
[JsonProperty("FeeBeginTime")]
|
||||
public string FeeBeginTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束使用时间
|
||||
/// </summary>
|
||||
[JsonProperty("FeeEndTime")]
|
||||
public string FeeEndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置描述
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigDesc")]
|
||||
public string ConfigDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段1
|
||||
/// </summary>
|
||||
[JsonProperty("ExtendField1")]
|
||||
public string ExtendField1{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段2
|
||||
/// </summary>
|
||||
[JsonProperty("ExtendField2")]
|
||||
public string ExtendField2{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原价,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCost")]
|
||||
public string TotalCost{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 折扣率
|
||||
/// </summary>
|
||||
[JsonProperty("Discount")]
|
||||
public string Discount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠类型
|
||||
/// </summary>
|
||||
[JsonProperty("ReduceType")]
|
||||
public string ReduceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠后总价,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("RealTotalCost")]
|
||||
public string RealTotalCost{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代金券支付金额,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("VoucherPayAmount")]
|
||||
public string VoucherPayAmount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 现金账户支付金额,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("CashPayAmount")]
|
||||
public string CashPayAmount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 赠送账户支付金额,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("IncentivePayAmount")]
|
||||
public string IncentivePayAmount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段3
|
||||
/// </summary>
|
||||
[JsonProperty("ExtendField3")]
|
||||
public string ExtendField3{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段4
|
||||
/// </summary>
|
||||
[JsonProperty("ExtendField4")]
|
||||
public string ExtendField4{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段5
|
||||
/// </summary>
|
||||
[JsonProperty("ExtendField5")]
|
||||
public string ExtendField5{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tag 信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public BillTagInfo[] Tags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 付款方uin
|
||||
/// </summary>
|
||||
[JsonProperty("PayerUin")]
|
||||
public string PayerUin{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源所有者uin,无值则返回"-"
|
||||
/// </summary>
|
||||
[JsonProperty("OwnerUin")]
|
||||
public string OwnerUin{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作者uin,无值则返回"-"
|
||||
/// </summary>
|
||||
[JsonProperty("OperateUin")]
|
||||
public string OperateUin{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品名称代码
|
||||
/// </summary>
|
||||
[JsonProperty("BusinessCode")]
|
||||
public string BusinessCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子商品名称代码
|
||||
/// </summary>
|
||||
[JsonProperty("ProductCode")]
|
||||
public string ProductCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 区域ID
|
||||
/// </summary>
|
||||
[JsonProperty("RegionId")]
|
||||
public long? RegionId{ 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 + "BusinessCodeName", this.BusinessCodeName);
|
||||
this.SetParamSimple(map, prefix + "ProductCodeName", this.ProductCodeName);
|
||||
this.SetParamSimple(map, prefix + "PayModeName", this.PayModeName);
|
||||
this.SetParamSimple(map, prefix + "ProjectName", this.ProjectName);
|
||||
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
|
||||
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
|
||||
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
|
||||
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
|
||||
this.SetParamSimple(map, prefix + "ActionTypeName", this.ActionTypeName);
|
||||
this.SetParamSimple(map, prefix + "OrderId", this.OrderId);
|
||||
this.SetParamSimple(map, prefix + "PayTime", this.PayTime);
|
||||
this.SetParamSimple(map, prefix + "FeeBeginTime", this.FeeBeginTime);
|
||||
this.SetParamSimple(map, prefix + "FeeEndTime", this.FeeEndTime);
|
||||
this.SetParamSimple(map, prefix + "ConfigDesc", this.ConfigDesc);
|
||||
this.SetParamSimple(map, prefix + "ExtendField1", this.ExtendField1);
|
||||
this.SetParamSimple(map, prefix + "ExtendField2", this.ExtendField2);
|
||||
this.SetParamSimple(map, prefix + "TotalCost", this.TotalCost);
|
||||
this.SetParamSimple(map, prefix + "Discount", this.Discount);
|
||||
this.SetParamSimple(map, prefix + "ReduceType", this.ReduceType);
|
||||
this.SetParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost);
|
||||
this.SetParamSimple(map, prefix + "VoucherPayAmount", this.VoucherPayAmount);
|
||||
this.SetParamSimple(map, prefix + "CashPayAmount", this.CashPayAmount);
|
||||
this.SetParamSimple(map, prefix + "IncentivePayAmount", this.IncentivePayAmount);
|
||||
this.SetParamSimple(map, prefix + "ExtendField3", this.ExtendField3);
|
||||
this.SetParamSimple(map, prefix + "ExtendField4", this.ExtendField4);
|
||||
this.SetParamSimple(map, prefix + "ExtendField5", this.ExtendField5);
|
||||
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
|
||||
this.SetParamSimple(map, prefix + "PayerUin", this.PayerUin);
|
||||
this.SetParamSimple(map, prefix + "OwnerUin", this.OwnerUin);
|
||||
this.SetParamSimple(map, prefix + "OperateUin", this.OperateUin);
|
||||
this.SetParamSimple(map, prefix + "BusinessCode", this.BusinessCode);
|
||||
this.SetParamSimple(map, prefix + "ProductCode", this.ProductCode);
|
||||
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user