lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.467 vs lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.468
- old
+ new
@@ -1070,17 +1070,20 @@
# @type ImageInfoList: Array
# @param HandleParam: 图片处理参数
# @type HandleParam: :class:`Tencentcloud::Mrs.v20200910.models.HandleParam`
# @param Type: 不填,默认为0
# @type Type: Integer
+ # @param UserType: 用户类型,新客户传1,老客户可不传
+ # @type UserType: Integer
- attr_accessor :ImageInfoList, :HandleParam, :Type
+ attr_accessor :ImageInfoList, :HandleParam, :Type, :UserType
- def initialize(imageinfolist=nil, handleparam=nil, type=nil)
+ def initialize(imageinfolist=nil, handleparam=nil, type=nil, usertype=nil)
@ImageInfoList = imageinfolist
@HandleParam = handleparam
@Type = type
+ @UserType = usertype
end
def deserialize(params)
unless params['ImageInfoList'].nil?
@ImageInfoList = []
@@ -1093,10 +1096,11 @@
unless params['HandleParam'].nil?
@HandleParam = HandleParam.new
@HandleParam.deserialize(params['HandleParam'])
end
@Type = params['Type']
+ @UserType = params['UserType']
end
end
# ImageToClass返回参数结构体
class ImageToClassResponse < TencentCloud::Common::AbstractModel
@@ -1135,18 +1139,21 @@
# @param Type: 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单),219(免疫接种证明),301(C14呼气试验)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
# @type Type: Integer
# @param IsUsedClassify: 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为 False,则 Type 字段不能为 0,否则无法输出结果。
# 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。
# @type IsUsedClassify: Boolean
+ # @param UserType: 用户类型,新客户传1,老客户可不传
+ # @type UserType: Integer
- attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify
+ attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify, :UserType
- def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil)
+ def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil, usertype=nil)
@ImageInfoList = imageinfolist
@HandleParam = handleparam
@Type = type
@IsUsedClassify = isusedclassify
+ @UserType = usertype
end
def deserialize(params)
unless params['ImageInfoList'].nil?
@ImageInfoList = []
@@ -1160,10 +1167,11 @@
@HandleParam = HandleParam.new
@HandleParam.deserialize(params['HandleParam'])
end
@Type = params['Type']
@IsUsedClassify = params['IsUsedClassify']
+ @UserType = params['UserType']
end
end
# ImageToObject返回参数结构体
class ImageToObjectResponse < TencentCloud::Common::AbstractModel
@@ -2776,19 +2784,23 @@
# TextToClass请求参数结构体
class TextToClassRequest < TencentCloud::Common::AbstractModel
# @param Text: 报告文本
# @type Text: String
+ # @param UserType: 用户类型,新客户传1,老客户可不传
+ # @type UserType: Integer
- attr_accessor :Text
+ attr_accessor :Text, :UserType
- def initialize(text=nil)
+ def initialize(text=nil, usertype=nil)
@Text = text
+ @UserType = usertype
end
def deserialize(params)
@Text = params['Text']
+ @UserType = params['UserType']
end
end
# TextToClass返回参数结构体
class TextToClassResponse < TencentCloud::Common::AbstractModel
@@ -2824,22 +2836,26 @@
# @param Type: 报告类型,目前支持12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单),219(免疫接种证明),301(C14呼气试验)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
# @type Type: Integer
# @param IsUsedClassify: 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为False,则Type字段不能为0,否则无法输出结果。
# 注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 [购买指南的产品价格](https://cloud.tencent.com/document/product/1314/54264)。
# @type IsUsedClassify: Boolean
+ # @param UserType: 用户类型,新客户传1,老客户可不传
+ # @type UserType: Integer
- attr_accessor :Text, :Type, :IsUsedClassify
+ attr_accessor :Text, :Type, :IsUsedClassify, :UserType
- def initialize(text=nil, type=nil, isusedclassify=nil)
+ def initialize(text=nil, type=nil, isusedclassify=nil, usertype=nil)
@Text = text
@Type = type
@IsUsedClassify = isusedclassify
+ @UserType = usertype
end
def deserialize(params)
@Text = params['Text']
@Type = params['Type']
@IsUsedClassify = params['IsUsedClassify']
+ @UserType = params['UserType']
end
end
# TextToObject返回参数结构体
class TextToObjectResponse < TencentCloud::Common::AbstractModel