class TencentCloud::Lkeap::V20240522::UploadDocRequest

def deserialize(params)

def deserialize(params)
  @KnowledgeBaseId = params['KnowledgeBaseId']
  @FileName = params['FileName']
  @FileType = params['FileType']
  @FileUrl = params['FileUrl']
  unless params['AttributeLabel'].nil?
    @AttributeLabel = []
    params['AttributeLabel'].each do |i|
      attributelabelreferitem_tmp = AttributeLabelReferItem.new
      attributelabelreferitem_tmp.deserialize(i)
      @AttributeLabel << attributelabelreferitem_tmp
    end
  end
  unless params['AttributeLabels'].nil?
    @AttributeLabels = []
    params['AttributeLabels'].each do |i|
      attributelabelreferitem_tmp = AttributeLabelReferItem.new
      attributelabelreferitem_tmp.deserialize(i)
      @AttributeLabels << attributelabelreferitem_tmp
    end
  end
  unless params['Config'].nil?
    @Config = SegmentationConfig.new
    @Config.deserialize(params['Config'])
  end
end