class TencentCloud::Trp::V20210515::TraceCode

溯源码

def deserialize(params)

def deserialize(params)
  @Code = params['Code']
  @CorpId = params['CorpId']
  @PackId = params['PackId']
  @BatchId = params['BatchId']
  @MerchantId = params['MerchantId']
  @ProductId = params['ProductId']
  @Status = params['Status']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @MerchantName = params['MerchantName']
  @ProductName = params['ProductName']
  @AgentId = params['AgentId']
  @Level = params['Level']
  unless params['PackSpec'].nil?
    @PackSpec = []
    params['PackSpec'].each do |i|
      packspec_tmp = PackSpec.new
      packspec_tmp.deserialize(i)
      @PackSpec << packspec_tmp
    end
  end
  @SceneCode = params['SceneCode']
  @SerialCode = params['SerialCode']
end

def initialize(code=nil, corpid=nil, packid=nil, batchid=nil, merchantid=nil, productid=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, agentid=nil, level=nil, packspec=nil, scenecode=nil, serialcode=nil)

def initialize(code=nil, corpid=nil, packid=nil, batchid=nil, merchantid=nil, productid=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, agentid=nil, level=nil, packspec=nil, scenecode=nil, serialcode=nil)
  @Code = code
  @CorpId = corpid
  @PackId = packid
  @BatchId = batchid
  @MerchantId = merchantid
  @ProductId = productid
  @Status = status
  @CreateTime = createtime
  @UpdateTime = updatetime
  @MerchantName = merchantname
  @ProductName = productname
  @AgentId = agentid
  @Level = level
  @PackSpec = packspec
  @SceneCode = scenecode
  @SerialCode = serialcode
end