lib/v20201101/models.rb in tencentcloud-sdk-tcss-1.0.293 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-1.0.294

- old
+ new

@@ -8753,29 +8753,40 @@ # @param MaxPostPayCoresCnt: 弹性计费上限 # @type MaxPostPayCoresCnt: Integer # @param ResourceId: 资源ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceId: String + # @param BuyStatus: 购买状态 + # 待购: Pending + # 已购: Normal + # 隔离: Isolate + # @type BuyStatus: String + # @param IsPurchased: 是否曾经购买过(false:未曾 true:曾经购买过) + # @type IsPurchased: Boolean # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :StartTime, :EndTime, :CoresCnt, :MaxPostPayCoresCnt, :ResourceId, :RequestId + attr_accessor :StartTime, :EndTime, :CoresCnt, :MaxPostPayCoresCnt, :ResourceId, :BuyStatus, :IsPurchased, :RequestId - def initialize(starttime=nil, endtime=nil, corescnt=nil, maxpostpaycorescnt=nil, resourceid=nil, requestid=nil) + def initialize(starttime=nil, endtime=nil, corescnt=nil, maxpostpaycorescnt=nil, resourceid=nil, buystatus=nil, ispurchased=nil, requestid=nil) @StartTime = starttime @EndTime = endtime @CoresCnt = corescnt @MaxPostPayCoresCnt = maxpostpaycorescnt @ResourceId = resourceid + @BuyStatus = buystatus + @IsPurchased = ispurchased @RequestId = requestid end def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @CoresCnt = params['CoresCnt'] @MaxPostPayCoresCnt = params['MaxPostPayCoresCnt'] @ResourceId = params['ResourceId'] + @BuyStatus = params['BuyStatus'] + @IsPurchased = params['IsPurchased'] @RequestId = params['RequestId'] end end # DescribePurchaseStateInfo请求参数结构体