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']
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)

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)
  @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
end