class TencentCloud::Cdc::V20201214::CreateDedicatedClusterOrderRequest
CreateDedicatedClusterOrder请求参数结构体
def deserialize(params)
def deserialize(params) @DedicatedClusterId = params['DedicatedClusterId'] unless params['DedicatedClusterTypes'].nil? @DedicatedClusterTypes = [] params['DedicatedClusterTypes'].each do |i| dedicatedclustertypeinfo_tmp = DedicatedClusterTypeInfo.new dedicatedclustertypeinfo_tmp.deserialize(i) @DedicatedClusterTypes << dedicatedclustertypeinfo_tmp end end unless params['CosInfo'].nil? @CosInfo = CosInfo.new @CosInfo.deserialize(params['CosInfo']) end unless params['CbsInfo'].nil? @CbsInfo = CbsInfo.new @CbsInfo.deserialize(params['CbsInfo']) end @PurchaseSource = params['PurchaseSource'] @DedicatedClusterOrderId = params['DedicatedClusterOrderId'] end
def initialize(dedicatedclusterid=nil, dedicatedclustertypes=nil, cosinfo=nil, cbsinfo=nil, purchasesource=nil, dedicatedclusterorderid=nil)
def initialize(dedicatedclusterid=nil, dedicatedclustertypes=nil, cosinfo=nil, cbsinfo=nil, purchasesource=nil, dedicatedclusterorderid=nil) @DedicatedClusterId = dedicatedclusterid @DedicatedClusterTypes = dedicatedclustertypes @CosInfo = cosinfo @CbsInfo = cbsinfo @PurchaseSource = purchasesource @DedicatedClusterOrderId = dedicatedclusterorderid end