Class: TencentCloud::Mrs::V20200910::ImageToObjectRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

ImageToObject请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, isusedclassify = nil, handleparam = nil, imageinfolist = nil, usertype = nil, reporttypeversion = nil, ocrinfolist = nil) ⇒ ImageToObjectRequest



5121
5122
5123
5124
5125
5126
5127
5128
5129
# File 'lib/v20200910/models.rb', line 5121

def initialize(type=nil, isusedclassify=nil, handleparam=nil, imageinfolist=nil, usertype=nil, reporttypeversion=nil, ocrinfolist=nil)
  @Type = type
  @IsUsedClassify = isusedclassify
  @HandleParam = handleparam
  @ImageInfoList = imageinfolist
  @UserType = usertype
  @ReportTypeVersion = reporttypeversion
  @OcrInfoList = ocrinfolist
end

Instance Attribute Details

#HandleParamObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def HandleParam
  @HandleParam
end

#ImageInfoListObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def ImageInfoList
  @ImageInfoList
end

#IsUsedClassifyObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def IsUsedClassify
  @IsUsedClassify
end

#OcrInfoListObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def OcrInfoList
  @OcrInfoList
end

#ReportTypeVersionObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def ReportTypeVersion
  @ReportTypeVersion
end

#TypeObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def Type
  @Type
end

#UserTypeObject

注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](cloud.tencent.com/document/product/1314/54264)。(1)检验报告 11,默认使用 V2,最高支持 V3。(2)病理报告 15,默认使用 V1,最高支持 V2。(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。



5119
5120
5121
# File 'lib/v20200910/models.rb', line 5119

def UserType
  @UserType
end

Instance Method Details

#deserialize(params) ⇒ Object



5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
# File 'lib/v20200910/models.rb', line 5131

def deserialize(params)
  @Type = params['Type']
  @IsUsedClassify = params['IsUsedClassify']
  unless params['HandleParam'].nil?
    @HandleParam = HandleParam.new
    @HandleParam.deserialize(params['HandleParam'])
  end
  unless params['ImageInfoList'].nil?
    @ImageInfoList = []
    params['ImageInfoList'].each do |i|
      imageinfo_tmp = ImageInfo.new
      imageinfo_tmp.deserialize(i)
      @ImageInfoList << imageinfo_tmp
    end
  end
  @UserType = params['UserType']
  unless params['ReportTypeVersion'].nil?
    @ReportTypeVersion = []
    params['ReportTypeVersion'].each do |i|
      reporttypeversion_tmp = ReportTypeVersion.new
      reporttypeversion_tmp.deserialize(i)
      @ReportTypeVersion << reporttypeversion_tmp
    end
  end
  unless params['OcrInfoList'].nil?
    @OcrInfoList = []
    params['OcrInfoList'].each do |i|
      ocrinfo_tmp = OcrInfo.new
      ocrinfo_tmp.deserialize(i)
      @OcrInfoList << ocrinfo_tmp
    end
  end
end