lib/v20180709/models.rb in tencentcloud-sdk-billing-1.0.207 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-1.0.208

- old
+ new

@@ -1421,24 +1421,27 @@ # @param EndTime: 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询) # @type EndTime: String # @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页 # 1-表示需要, 0-表示不需要 # @type NeedRecordNum: Integer - # @param ProductCode: 查询指定产品信息(暂时未开放获取) + # @param ProductCode: 已废弃参数,未开放 # @type ProductCode: String # @param PayMode: 付费模式 prePay/postPay # @type PayMode: String # @param ResourceId: 查询指定资源信息 # @type ResourceId: String # @param ActionType: 查询交易类型。如 按量计费日结,按量计费小时结 等 # @type ActionType: String # @param ProjectId: 项目ID:资源所属项目ID # @type ProjectId: Integer + # @param BusinessCode: 商品名称代码 + # 备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a> + # @type BusinessCode: String - attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId + attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode - def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil) + def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil) @Offset = offset @Limit = limit @PeriodType = periodtype @Month = month @BeginTime = begintime @@ -1447,10 +1450,11 @@ @ProductCode = productcode @PayMode = paymode @ResourceId = resourceid @ActionType = actiontype @ProjectId = projectid + @BusinessCode = businesscode end def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @@ -1462,10 +1466,11 @@ @ProductCode = params['ProductCode'] @PayMode = params['PayMode'] @ResourceId = params['ResourceId'] @ActionType = params['ActionType'] @ProjectId = params['ProjectId'] + @BusinessCode = params['BusinessCode'] end end # DescribeBillDetail返回参数结构体 class DescribeBillDetailResponse < TencentCloud::Common::AbstractModel @@ -1679,22 +1684,26 @@ # @type ActionType: String # @param ResourceId: 查询指定资源信息 # @type ResourceId: String # @param PayMode: 付费模式 prePay/postPay # @type PayMode: String + # @param BusinessCode: 商品名称代码 + # 备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a> + # @type BusinessCode: String - attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode + attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode - def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil) + def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil) @Offset = offset @Limit = limit @Month = month @PeriodType = periodtype @NeedRecordNum = needrecordnum @ActionType = actiontype @ResourceId = resourceid @PayMode = paymode + @BusinessCode = businesscode end def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @@ -1702,9 +1711,10 @@ @PeriodType = params['PeriodType'] @NeedRecordNum = params['NeedRecordNum'] @ActionType = params['ActionType'] @ResourceId = params['ResourceId'] @PayMode = params['PayMode'] + @BusinessCode = params['BusinessCode'] end end # DescribeBillResourceSummary返回参数结构体 class DescribeBillResourceSummaryResponse < TencentCloud::Common::AbstractModel