tencentcloud-sdk-mrs 3.0.740 → 3.0.741

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fe02f2bc12784c9b17240f631a7cad1cedde1fd
4
- data.tar.gz: 81b2829a9ca94b75d6a91807ff97b1bbb8287365
3
+ metadata.gz: c7d01cb91315d5795a2fd37cf616e53c3f8099ab
4
+ data.tar.gz: eacfde72a2ded0898040eb7d0f3efef2c07ee7f2
5
5
  SHA512:
6
- metadata.gz: 889f5206780e229516bc39df783827551e368449ef7883166c27181c51e6730cd2bc9357371af8171551ec302f7b7022bab224f7302daebaf8a51a4b2959a656
7
- data.tar.gz: 3d358a7fba95f76063e4184db59515e26464343f76e25cbd6fd32c237fce5b58406c1019d44c134b66e78cff3530e239e98ec502b4beaf10fd7e38644f8758d2
6
+ metadata.gz: b4ade40dd4630b49308d010628b5870e68f0d7a346839dee54d1d09aad9ae49543260552fff3af635b89aefda944ac7c8405e8e9ffd10e984373d8254a487520
7
+ data.tar.gz: 8dbcf3bce4440923d6989e8ebaeb28025c4bd1aed9ec84218f5a33e3b0788e2f1a08b79efae4c60ce121b4759ff21e9e53c5f2ede2463681af3a410322623ce4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.740
1
+ 3.0.741
@@ -53,6 +53,54 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 图片脱敏-异步接口
57
+
58
+ # @param request: Request instance for ImageMaskAsync.
59
+ # @type request: :class:`Tencentcloud::mrs::V20200910::ImageMaskAsyncRequest`
60
+ # @rtype: :class:`Tencentcloud::mrs::V20200910::ImageMaskAsyncResponse`
61
+ def ImageMaskAsync(request)
62
+ body = send_request('ImageMaskAsync', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = ImageMaskAsyncResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 图片脱敏-异步获取结果接口
81
+
82
+ # @param request: Request instance for ImageMaskAsyncGetResult.
83
+ # @type request: :class:`Tencentcloud::mrs::V20200910::ImageMaskAsyncGetResultRequest`
84
+ # @rtype: :class:`Tencentcloud::mrs::V20200910::ImageMaskAsyncGetResultResponse`
85
+ def ImageMaskAsyncGetResult(request)
86
+ body = send_request('ImageMaskAsyncGetResult', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = ImageMaskAsyncGetResultResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 图片分类
57
105
 
58
106
  # @param request: Request instance for ImageToClass.
@@ -4008,8 +4008,8 @@ module TencentCloud
4008
4008
 
4009
4009
  attr_accessor :AdmissionTime, :DischargeTime, :AdmissionDays, :AdmissionDignosis, :AdmissionCondition, :DiagnosisTreatment, :DischargeDiagnosis, :DischargeInstruction, :AdmissionDiagnosis
4010
4010
  extend Gem::Deprecate
4011
- deprecate :AdmissionDignosis, :none, 2023, 12
4012
- deprecate :AdmissionDignosis=, :none, 2023, 12
4011
+ deprecate :AdmissionDignosis, :none, 2024, 1
4012
+ deprecate :AdmissionDignosis=, :none, 2024, 1
4013
4013
 
4014
4014
  def initialize(admissiontime=nil, dischargetime=nil, admissiondays=nil, admissiondignosis=nil, admissioncondition=nil, diagnosistreatment=nil, dischargediagnosis=nil, dischargeinstruction=nil, admissiondiagnosis=nil)
4015
4015
  @AdmissionTime = admissiontime
@@ -4188,6 +4188,88 @@ module TencentCloud
4188
4188
  end
4189
4189
  end
4190
4190
 
4191
+ # ImageMaskAsyncGetResult请求参数结构体
4192
+ class ImageMaskAsyncGetResultRequest < TencentCloud::Common::AbstractModel
4193
+ # @param TaskID: 异步任务ID
4194
+ # @type TaskID: String
4195
+
4196
+ attr_accessor :TaskID
4197
+
4198
+ def initialize(taskid=nil)
4199
+ @TaskID = taskid
4200
+ end
4201
+
4202
+ def deserialize(params)
4203
+ @TaskID = params['TaskID']
4204
+ end
4205
+ end
4206
+
4207
+ # ImageMaskAsyncGetResult返回参数结构体
4208
+ class ImageMaskAsyncGetResultResponse < TencentCloud::Common::AbstractModel
4209
+ # @param MaskedImage: 脱敏后图片的base64编码
4210
+ # @type MaskedImage: String
4211
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4212
+ # @type RequestId: String
4213
+
4214
+ attr_accessor :MaskedImage, :RequestId
4215
+
4216
+ def initialize(maskedimage=nil, requestid=nil)
4217
+ @MaskedImage = maskedimage
4218
+ @RequestId = requestid
4219
+ end
4220
+
4221
+ def deserialize(params)
4222
+ @MaskedImage = params['MaskedImage']
4223
+ @RequestId = params['RequestId']
4224
+ end
4225
+ end
4226
+
4227
+ # ImageMaskAsync请求参数结构体
4228
+ class ImageMaskAsyncRequest < TencentCloud::Common::AbstractModel
4229
+ # @param Image: 图片信息,目前只支持传图片base64
4230
+ # @type Image: :class:`Tencentcloud::Mrs.v20200910.models.ImageInfo`
4231
+ # @param MaskFlag: 图片脱敏选项, 不传默认都脱敏
4232
+ # @type MaskFlag: :class:`Tencentcloud::Mrs.v20200910.models.ImageMaskFlags`
4233
+
4234
+ attr_accessor :Image, :MaskFlag
4235
+
4236
+ def initialize(image=nil, maskflag=nil)
4237
+ @Image = image
4238
+ @MaskFlag = maskflag
4239
+ end
4240
+
4241
+ def deserialize(params)
4242
+ unless params['Image'].nil?
4243
+ @Image = ImageInfo.new
4244
+ @Image.deserialize(params['Image'])
4245
+ end
4246
+ unless params['MaskFlag'].nil?
4247
+ @MaskFlag = ImageMaskFlags.new
4248
+ @MaskFlag.deserialize(params['MaskFlag'])
4249
+ end
4250
+ end
4251
+ end
4252
+
4253
+ # ImageMaskAsync返回参数结构体
4254
+ class ImageMaskAsyncResponse < TencentCloud::Common::AbstractModel
4255
+ # @param TaskID: 加密任务ID
4256
+ # @type TaskID: String
4257
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4258
+ # @type RequestId: String
4259
+
4260
+ attr_accessor :TaskID, :RequestId
4261
+
4262
+ def initialize(taskid=nil, requestid=nil)
4263
+ @TaskID = taskid
4264
+ @RequestId = requestid
4265
+ end
4266
+
4267
+ def deserialize(params)
4268
+ @TaskID = params['TaskID']
4269
+ @RequestId = params['RequestId']
4270
+ end
4271
+ end
4272
+
4191
4273
  # 图片脱敏选项
4192
4274
  # 不填默认敏感信息都脱敏
4193
4275
  class ImageMaskFlags < TencentCloud::Common::AbstractModel
@@ -4674,8 +4756,8 @@ module TencentCloud
4674
4756
 
4675
4757
  attr_accessor :TableIndictors, :Version, :TableIndicators
4676
4758
  extend Gem::Deprecate
4677
- deprecate :TableIndictors, :none, 2023, 12
4678
- deprecate :TableIndictors=, :none, 2023, 12
4759
+ deprecate :TableIndictors, :none, 2024, 1
4760
+ deprecate :TableIndictors=, :none, 2024, 1
4679
4761
 
4680
4762
  def initialize(tableindictors=nil, version=nil, tableindicators=nil)
4681
4763
  @TableIndictors = tableindictors
@@ -6935,8 +7017,8 @@ module TencentCloud
6935
7017
 
6936
7018
  attr_accessor :Part, :Size, :Envelope, :Edge, :InnerEcho, :Gland, :Shape, :Thickness, :ShapeAttr, :CDFI, :SymDesc, :SizeStatus, :Outline, :Structure, :Density, :Vas, :Cysticwall, :Capsule, :IsthmusThicknese, :InnerEchoDistribution, :Src, :Index, :Transparent, :MriAdc, :MriDwi, :MriT1, :MriT2, :CtHu, :Suvmax, :Metabolism, :RadioactiveUptake, :LymphEnlargement, :ImageFeature, :Duct, :Trend, :Operation, :Coords, :IsthmusThickness
6937
7019
  extend Gem::Deprecate
6938
- deprecate :IsthmusThicknese, :none, 2023, 12
6939
- deprecate :IsthmusThicknese=, :none, 2023, 12
7020
+ deprecate :IsthmusThicknese, :none, 2024, 1
7021
+ deprecate :IsthmusThicknese=, :none, 2024, 1
6940
7022
 
6941
7023
  def initialize(part=nil, size=nil, envelope=nil, edge=nil, innerecho=nil, gland=nil, shape=nil, thickness=nil, shapeattr=nil, cdfi=nil, symdesc=nil, sizestatus=nil, outline=nil, structure=nil, density=nil, vas=nil, cysticwall=nil, capsule=nil, isthmusthicknese=nil, innerechodistribution=nil, src=nil, index=nil, transparent=nil, mriadc=nil, mridwi=nil, mrit1=nil, mrit2=nil, cthu=nil, suvmax=nil, metabolism=nil, radioactiveuptake=nil, lymphenlargement=nil, imagefeature=nil, duct=nil, trend=nil, operation=nil, coords=nil, isthmusthickness=nil)
6942
7024
  @Part = part
@@ -7527,8 +7609,8 @@ module TencentCloud
7527
7609
 
7528
7610
  attr_accessor :IncisionHealingText, :AuxiliaryExaminationText, :SpecialExamText, :OutpatientDiagnosisText, :AdmissionConditionText, :CheckAndTreatmentProcessText, :SymptomsAndSignsText, :DischargeInstructionsText, :AdmissionDiagnosisText, :SurgeryConditionText, :PathologicalDiagnosisText, :DischargeConditionText, :CheckRecordText, :ChiefComplaintText, :DischargeDiagnosisText, :MainDiseaseHistoryText, :DiseasePresentText, :PersonalHistoryText, :MenstruallHistoryText, :ObstericalHistoryText, :FamilyHistoryText, :AllergyHistoryText, :DiseaseHistoryText, :OtherDiagnosisText, :BodyExaminationText, :SpecialistExaminationText, :TreatmentResultText, :MenstrualHistoryText
7529
7611
  extend Gem::Deprecate
7530
- deprecate :MenstruallHistoryText, :none, 2023, 12
7531
- deprecate :MenstruallHistoryText=, :none, 2023, 12
7612
+ deprecate :MenstruallHistoryText, :none, 2024, 1
7613
+ deprecate :MenstruallHistoryText=, :none, 2024, 1
7532
7614
 
7533
7615
  def initialize(incisionhealingtext=nil, auxiliaryexaminationtext=nil, specialexamtext=nil, outpatientdiagnosistext=nil, admissionconditiontext=nil, checkandtreatmentprocesstext=nil, symptomsandsignstext=nil, dischargeinstructionstext=nil, admissiondiagnosistext=nil, surgeryconditiontext=nil, pathologicaldiagnosistext=nil, dischargeconditiontext=nil, checkrecordtext=nil, chiefcomplainttext=nil, dischargediagnosistext=nil, maindiseasehistorytext=nil, diseasepresenttext=nil, personalhistorytext=nil, menstruallhistorytext=nil, obstericalhistorytext=nil, familyhistorytext=nil, allergyhistorytext=nil, diseasehistorytext=nil, otherdiagnosistext=nil, bodyexaminationtext=nil, specialistexaminationtext=nil, treatmentresulttext=nil, menstrualhistorytext=nil)
7534
7616
  @IncisionHealingText = incisionhealingtext
@@ -10547,8 +10629,8 @@ module TencentCloud
10547
10629
 
10548
10630
  attr_accessor :DmissionCondition, :ChiefComplaint, :DiseasePresent, :SymptomsAndSigns, :AuxiliaryExamination, :BodyExamination, :SpecialistExamination, :MentalExamination, :CheckRecord, :InspectResult, :IncisionHealing, :TreatmentSuggestion, :FollowUpRequirements, :CheckAndTreatmentProcess, :SurgeryCondition, :ConditionChanges, :DischargeCondition, :PTNM, :PTNMM, :PTNMN, :PTNMT, :ECOG, :NRS, :KPS, :DeathDate, :RelapseDate, :ObservationDays, :AdmissionCondition
10549
10631
  extend Gem::Deprecate
10550
- deprecate :DmissionCondition, :none, 2023, 12
10551
- deprecate :DmissionCondition=, :none, 2023, 12
10632
+ deprecate :DmissionCondition, :none, 2024, 1
10633
+ deprecate :DmissionCondition=, :none, 2024, 1
10552
10634
 
10553
10635
  def initialize(dmissioncondition=nil, chiefcomplaint=nil, diseasepresent=nil, symptomsandsigns=nil, auxiliaryexamination=nil, bodyexamination=nil, specialistexamination=nil, mentalexamination=nil, checkrecord=nil, inspectresult=nil, incisionhealing=nil, treatmentsuggestion=nil, followuprequirements=nil, checkandtreatmentprocess=nil, surgerycondition=nil, conditionchanges=nil, dischargecondition=nil, ptnm=nil, ptnmm=nil, ptnmn=nil, ptnmt=nil, ecog=nil, nrs=nil, kps=nil, deathdate=nil, relapsedate=nil, observationdays=nil, admissioncondition=nil)
10554
10636
  @DmissionCondition = dmissioncondition
@@ -11131,8 +11213,8 @@ module TencentCloud
11131
11213
 
11132
11214
  attr_accessor :Type, :Part, :Size, :Multiple, :AspectRatio, :Edge, :InnerEcho, :RearEcho, :Elastic, :Shape, :ShapeAttr, :SkinMedulla, :Trend, :Calcification, :Envelope, :Enhancement, :LymphEnlargement, :LymphDoor, :Activity, :Operation, :CDFI, :Index, :SizeStatus, :InnerEchoDistribution, :InnerEchoType, :Outline, :Structure, :Density, :Vas, :Cysticwall, :Capsule, :IsthmusThicknese, :Src, :Transparent, :MriAdc, :MriDwi, :MriT1, :MriT2, :CtHu, :Suvmax, :Metabolism, :RadioactiveUptake, :SymDesc, :ImageFeature, :Coords, :IsthmusThickness
11133
11215
  extend Gem::Deprecate
11134
- deprecate :IsthmusThicknese, :none, 2023, 12
11135
- deprecate :IsthmusThicknese=, :none, 2023, 12
11216
+ deprecate :IsthmusThicknese, :none, 2024, 1
11217
+ deprecate :IsthmusThicknese=, :none, 2024, 1
11136
11218
 
11137
11219
  def initialize(type=nil, part=nil, size=nil, multiple=nil, aspectratio=nil, edge=nil, innerecho=nil, rearecho=nil, elastic=nil, shape=nil, shapeattr=nil, skinmedulla=nil, trend=nil, calcification=nil, envelope=nil, enhancement=nil, lymphenlargement=nil, lymphdoor=nil, activity=nil, operation=nil, cdfi=nil, index=nil, sizestatus=nil, innerechodistribution=nil, innerechotype=nil, outline=nil, structure=nil, density=nil, vas=nil, cysticwall=nil, capsule=nil, isthmusthicknese=nil, src=nil, transparent=nil, mriadc=nil, mridwi=nil, mrit1=nil, mrit2=nil, cthu=nil, suvmax=nil, metabolism=nil, radioactiveuptake=nil, symdesc=nil, imagefeature=nil, coords=nil, isthmusthickness=nil)
11138
11220
  @Type = type
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.740
4
+ version: 3.0.741
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common