lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.709 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.710
- old
+ new
@@ -1778,22 +1778,25 @@
# @type CommodityCode: String
# @param PromiseUseAmount: 承诺时长内的小额金额(单位:分)
# @type PromiseUseAmount: Integer
# @param SpecifyEffectTime: 节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻
# @type SpecifyEffectTime: String
+ # @param ClientToken: 可重入ID
+ # @type ClientToken: String
- attr_accessor :RegionId, :ZoneId, :PrePayType, :TimeSpan, :TimeUnit, :CommodityCode, :PromiseUseAmount, :SpecifyEffectTime
+ attr_accessor :RegionId, :ZoneId, :PrePayType, :TimeSpan, :TimeUnit, :CommodityCode, :PromiseUseAmount, :SpecifyEffectTime, :ClientToken
- def initialize(regionid=nil, zoneid=nil, prepaytype=nil, timespan=nil, timeunit=nil, commoditycode=nil, promiseuseamount=nil, specifyeffecttime=nil)
+ def initialize(regionid=nil, zoneid=nil, prepaytype=nil, timespan=nil, timeunit=nil, commoditycode=nil, promiseuseamount=nil, specifyeffecttime=nil, clienttoken=nil)
@RegionId = regionid
@ZoneId = zoneid
@PrePayType = prepaytype
@TimeSpan = timespan
@TimeUnit = timeunit
@CommodityCode = commoditycode
@PromiseUseAmount = promiseuseamount
@SpecifyEffectTime = specifyeffecttime
+ @ClientToken = clienttoken
end
def deserialize(params)
@RegionId = params['RegionId']
@ZoneId = params['ZoneId']
@@ -1801,9 +1804,10 @@
@TimeSpan = params['TimeSpan']
@TimeUnit = params['TimeUnit']
@CommodityCode = params['CommodityCode']
@PromiseUseAmount = params['PromiseUseAmount']
@SpecifyEffectTime = params['SpecifyEffectTime']
+ @ClientToken = params['ClientToken']
end
end
# CreateSavingPlanOrder返回参数结构体
class CreateSavingPlanOrderResponse < TencentCloud::Common::AbstractModel