class TencentCloud::Cdc::V20201214::DedicatedClusterOrder
专用集群订单
def deserialize(params)
def deserialize(params) @DedicatedClusterId = params['DedicatedClusterId'] @DedicatedClusterTypeId = params['DedicatedClusterTypeId'] @SupportedStorageType = params['SupportedStorageType'] @SupportedUplinkSpeed = params['SupportedUplinkSpeed'] @SupportedInstanceFamily = params['SupportedInstanceFamily'] @Weight = params['Weight'] @PowerDraw = params['PowerDraw'] @OrderStatus = params['OrderStatus'] @CreateTime = params['CreateTime'] @DedicatedClusterOrderId = params['DedicatedClusterOrderId'] @Action = params['Action'] unless params['DedicatedClusterOrderItems'].nil? @DedicatedClusterOrderItems = [] params['DedicatedClusterOrderItems'].each do |i| dedicatedclusterorderitem_tmp = DedicatedClusterOrderItem.new dedicatedclusterorderitem_tmp.deserialize(i) @DedicatedClusterOrderItems << dedicatedclusterorderitem_tmp end end @Cpu = params['Cpu'] @Mem = params['Mem'] @Gpu = params['Gpu'] @PayStatus = params['PayStatus'] @PayType = params['PayType'] @TimeUnit = params['TimeUnit'] @TimeSpan = params['TimeSpan'] @OrderType = params['OrderType'] @CheckStatus = params['CheckStatus'] @DeliverExpectTime = params['DeliverExpectTime'] @DeliverFinishTime = params['DeliverFinishTime'] @CheckExpectTime = params['CheckExpectTime'] @CheckFinishTime = params['CheckFinishTime'] @OrderSLA = params['OrderSLA'] @OrderPayPlan = params['OrderPayPlan'] end
def initialize(dedicatedclusterid=nil, dedicatedclustertypeid=nil, supportedstoragetype=nil, supporteduplinkspeed=nil, supportedinstancefamily=nil, weight=nil, powerdraw=nil, orderstatus=nil, createtime=nil, dedicatedclusterorderid=nil, action=nil, dedicatedclusterorderitems=nil, cpu=nil, mem=nil, gpu=nil, paystatus=nil, paytype=nil, timeunit=nil, timespan=nil, ordertype=nil, checkstatus=nil, deliverexpecttime=nil, deliverfinishtime=nil, checkexpecttime=nil, checkfinishtime=nil, ordersla=nil, orderpayplan=nil)
def initialize(dedicatedclusterid=nil, dedicatedclustertypeid=nil, supportedstoragetype=nil, supporteduplinkspeed=nil, supportedinstancefamily=nil, weight=nil, powerdraw=nil, orderstatus=nil, createtime=nil, dedicatedclusterorderid=nil, action=nil, dedicatedclusterorderitems=nil, cpu=nil, mem=nil, gpu=nil, paystatus=nil, paytype=nil, timeunit=nil, timespan=nil, ordertype=nil, checkstatus=nil, deliverexpecttime=nil, deliverfinishtime=nil, checkexpecttime=nil, checkfinishtime=nil, ordersla=nil, orderpayplan=nil) @DedicatedClusterId = dedicatedclusterid @DedicatedClusterTypeId = dedicatedclustertypeid @SupportedStorageType = supportedstoragetype @SupportedUplinkSpeed = supporteduplinkspeed @SupportedInstanceFamily = supportedinstancefamily @Weight = weight @PowerDraw = powerdraw @OrderStatus = orderstatus @CreateTime = createtime @DedicatedClusterOrderId = dedicatedclusterorderid @Action = action @DedicatedClusterOrderItems = dedicatedclusterorderitems @Cpu = cpu @Mem = mem @Gpu = gpu @PayStatus = paystatus @PayType = paytype @TimeUnit = timeunit @TimeSpan = timespan @OrderType = ordertype @CheckStatus = checkstatus @DeliverExpectTime = deliverexpecttime @DeliverFinishTime = deliverfinishtime @CheckExpectTime = checkexpecttime @CheckFinishTime = checkfinishtime @OrderSLA = ordersla @OrderPayPlan = orderpayplan end