Class: TencentCloud::Mrs::V20200910::TextToObjectRequest

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

Overview

TextToObject请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text = nil, type = nil, isusedclassify = nil, usertype = nil, reporttypeversion = nil) ⇒ TextToObjectRequest



10510
10511
10512
10513
10514
10515
10516
# File 'lib/v20200910/models.rb', line 10510

def initialize(text=nil, type=nil, isusedclassify=nil, usertype=nil, reporttypeversion=nil)
  @Text = text
  @Type = type
  @IsUsedClassify = isusedclassify
  @UserType = usertype
  @ReportTypeVersion = reporttypeversion
end

Instance Attribute Details

#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。



10508
10509
10510
# File 'lib/v20200910/models.rb', line 10508

def IsUsedClassify
  @IsUsedClassify
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。



10508
10509
10510
# File 'lib/v20200910/models.rb', line 10508

def ReportTypeVersion
  @ReportTypeVersion
end

#TextObject

注意:当 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。



10508
10509
10510
# File 'lib/v20200910/models.rb', line 10508

def Text
  @Text
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。



10508
10509
10510
# File 'lib/v20200910/models.rb', line 10508

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。



10508
10509
10510
# File 'lib/v20200910/models.rb', line 10508

def UserType
  @UserType
end

Instance Method Details

#deserialize(params) ⇒ Object



10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
# File 'lib/v20200910/models.rb', line 10518

def deserialize(params)
  @Text = params['Text']
  @Type = params['Type']
  @IsUsedClassify = params['IsUsedClassify']
  @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
end