lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.402 vs lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.403
- old
+ new
@@ -17036,23 +17036,30 @@
# @type ProductInstanceStatus: String
# @param RefundStatus: 资源包实例的可退还状态,取值有:
# <li>FullRefund:可全额退款。</li>
# <li>Denied:不可退款。</li>
# @type RefundStatus: String
+ # @param RenewStatus: 自动续费状态,取值有:
+ # <li>Never:不自动续费。</li>
+ # <li>Expire:到期自动续费。</li>
+ # <li>ExpireOrUseOut:到期或用完自动续费。</li>
+ # <li>NotSupport:不支持。</li>
+ # @type RenewStatus: String
- attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ProductInstanceStatus, :RefundStatus
+ attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ProductInstanceStatus, :RefundStatus, :RenewStatus
- def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, productinstancestatus=nil, refundstatus=nil)
+ def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, productinstancestatus=nil, refundstatus=nil, renewstatus=nil)
@ProductType = producttype
@StartTime = starttime
@ExpireTime = expiretime
@ProductInstanceId = productinstanceid
@LastConsumeDate = lastconsumedate
@BindStatus = bindstatus
@ProductInstanceResourceSet = productinstanceresourceset
@ProductInstanceStatus = productinstancestatus
@RefundStatus = refundstatus
+ @RenewStatus = renewstatus
end
def deserialize(params)
@ProductType = params['ProductType']
@StartTime = params['StartTime']
@@ -17068,9 +17075,10 @@
@ProductInstanceResourceSet << productinstancerecource_tmp
end
end
@ProductInstanceStatus = params['ProductInstanceStatus']
@RefundStatus = params['RefundStatus']
+ @RenewStatus = params['RenewStatus']
end
end
# 资源包中包含的资源。
class ProductInstanceRecource < TencentCloud::Common::AbstractModel