tencentcloud-sdk-bma 1.0.364 → 3.0.371
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210624/client.rb +192 -0
- data/lib/v20210624/models.rb +617 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 142b841b4106cb339b2294383fc347298aa9c28f
|
4
|
+
data.tar.gz: f9427e38be5f053280c496c945a15770c0a55171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948484dca011744e78c56573484df14582639ae8c8f91c2471a19a83f2ab3463bafcdcabb8aa62dc187e5f399c83f7063c5607a9a7c9fc3408fc83c8fdf40cd7
|
7
|
+
data.tar.gz: 28770043e54c302cfe244dca74b0967dc3e5ccd304608297eaaf08fbc619ee3569f2fe1c35e184959705cbe0916379235e78fedd05e7baa752863e58f193411d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.371
|
data/lib/v20210624/client.rb
CHANGED
@@ -101,6 +101,78 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 版权保护-添加作品接口
|
105
|
+
|
106
|
+
# @param request: Request instance for CreateCRWork.
|
107
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRWorkRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRWorkResponse`
|
109
|
+
def CreateCRWork(request)
|
110
|
+
body = send_request('CreateCRWork', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = CreateCRWorkResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 版权保护-查询作品监测详情接口
|
129
|
+
|
130
|
+
# @param request: Request instance for DescribeCRMonitorDetail.
|
131
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRMonitorDetailRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRMonitorDetailResponse`
|
133
|
+
def DescribeCRMonitorDetail(request)
|
134
|
+
body = send_request('DescribeCRMonitorDetail', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DescribeCRMonitorDetailResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
152
|
+
# 版权保护-查询监测列表接口
|
153
|
+
|
154
|
+
# @param request: Request instance for DescribeCRMonitors.
|
155
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRMonitorsRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRMonitorsResponse`
|
157
|
+
def DescribeCRMonitors(request)
|
158
|
+
body = send_request('DescribeCRMonitors', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DescribeCRMonitorsResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
104
176
|
# 查询作品基本信息
|
105
177
|
|
106
178
|
# @param request: Request instance for DescribeCRWorkInfo.
|
@@ -125,6 +197,126 @@ module TencentCloud
|
|
125
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
198
|
end
|
127
199
|
|
200
|
+
# 版权保护-拦截申请接口
|
201
|
+
|
202
|
+
# @param request: Request instance for ModifyCRBlockStatus.
|
203
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRBlockStatusRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRBlockStatusResponse`
|
205
|
+
def ModifyCRBlockStatus(request)
|
206
|
+
body = send_request('ModifyCRBlockStatus', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = ModifyCRBlockStatusResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 版权保护-修改监测状态接口
|
225
|
+
|
226
|
+
# @param request: Request instance for ModifyCRMonitor.
|
227
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRMonitorRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRMonitorResponse`
|
229
|
+
def ModifyCRMonitor(request)
|
230
|
+
body = send_request('ModifyCRMonitor', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = ModifyCRMonitorResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 申请取证
|
249
|
+
|
250
|
+
# @param request: Request instance for ModifyCRObtainStatus.
|
251
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRObtainStatusRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRObtainStatusResponse`
|
253
|
+
def ModifyCRObtainStatus(request)
|
254
|
+
body = send_request('ModifyCRObtainStatus', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = ModifyCRObtainStatusResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 版权保护-维权申请接口
|
273
|
+
|
274
|
+
# @param request: Request instance for ModifyCRRightStatus.
|
275
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRRightStatusRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRRightStatusResponse`
|
277
|
+
def ModifyCRRightStatus(request)
|
278
|
+
body = send_request('ModifyCRRightStatus', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = ModifyCRRightStatusResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
296
|
+
# 更新作品
|
297
|
+
|
298
|
+
# @param request: Request instance for UpdateCRWork.
|
299
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::UpdateCRWorkRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::UpdateCRWorkResponse`
|
301
|
+
def UpdateCRWork(request)
|
302
|
+
body = send_request('UpdateCRWork', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = UpdateCRWorkResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
128
320
|
|
129
321
|
end
|
130
322
|
end
|
data/lib/v20210624/models.rb
CHANGED
@@ -109,6 +109,8 @@ module TencentCloud
|
|
109
109
|
class CreateCRCompanyVerifyRequest < TencentCloud::Common::AbstractModel
|
110
110
|
# @param CompanyName: 企业名称
|
111
111
|
# @type CompanyName: String
|
112
|
+
# @param CompanyIDType: 企业认证号码类型 1:社会信用代码 2:组织机构代码 3:企业工商注册码 4:其他 默认为1
|
113
|
+
# @type CompanyIDType: String
|
112
114
|
# @param CompanyID: 企业证件号码
|
113
115
|
# @type CompanyID: String
|
114
116
|
# @param CompanyLegalName: 企业法人姓名
|
@@ -119,32 +121,30 @@ module TencentCloud
|
|
119
121
|
# @type ManagerPhone: String
|
120
122
|
# @param VerificationCode: 手机验证码
|
121
123
|
# @type VerificationCode: String
|
122
|
-
# @param CompanyIDType: 企业认证号码类型 1:社会信用代码 2:组织机构代码 3:企业工商注册码 4:其他 默认为1
|
123
|
-
# @type CompanyIDType: String
|
124
124
|
# @param Type: xxx
|
125
125
|
# @type Type: String
|
126
126
|
|
127
|
-
attr_accessor :CompanyName, :CompanyID, :CompanyLegalName, :ManagerName, :ManagerPhone, :VerificationCode, :
|
127
|
+
attr_accessor :CompanyName, :CompanyIDType, :CompanyID, :CompanyLegalName, :ManagerName, :ManagerPhone, :VerificationCode, :Type
|
128
128
|
|
129
|
-
def initialize(companyname=nil, companyid=nil, companylegalname=nil, managername=nil, managerphone=nil, verificationcode=nil,
|
129
|
+
def initialize(companyname=nil, companyidtype=nil, companyid=nil, companylegalname=nil, managername=nil, managerphone=nil, verificationcode=nil, type=nil)
|
130
130
|
@CompanyName = companyname
|
131
|
+
@CompanyIDType = companyidtype
|
131
132
|
@CompanyID = companyid
|
132
133
|
@CompanyLegalName = companylegalname
|
133
134
|
@ManagerName = managername
|
134
135
|
@ManagerPhone = managerphone
|
135
136
|
@VerificationCode = verificationcode
|
136
|
-
@CompanyIDType = companyidtype
|
137
137
|
@Type = type
|
138
138
|
end
|
139
139
|
|
140
140
|
def deserialize(params)
|
141
141
|
@CompanyName = params['CompanyName']
|
142
|
+
@CompanyIDType = params['CompanyIDType']
|
142
143
|
@CompanyID = params['CompanyID']
|
143
144
|
@CompanyLegalName = params['CompanyLegalName']
|
144
145
|
@ManagerName = params['ManagerName']
|
145
146
|
@ManagerPhone = params['ManagerPhone']
|
146
147
|
@VerificationCode = params['VerificationCode']
|
147
|
-
@CompanyIDType = params['CompanyIDType']
|
148
148
|
@Type = params['Type']
|
149
149
|
end
|
150
150
|
end
|
@@ -269,6 +269,286 @@ module TencentCloud
|
|
269
269
|
end
|
270
270
|
end
|
271
271
|
|
272
|
+
# CreateCRWork请求参数结构体
|
273
|
+
class CreateCRWorkRequest < TencentCloud::Common::AbstractModel
|
274
|
+
# @param WorkName: 作品名称
|
275
|
+
# @type WorkName: String
|
276
|
+
# @param WorkCategory: 作品分类
|
277
|
+
# @type WorkCategory: String
|
278
|
+
# @param WorkType: 作品内容类型
|
279
|
+
# @type WorkType: String
|
280
|
+
# @param WorkSign: 作品标签
|
281
|
+
# @type WorkSign: String
|
282
|
+
# @param WorkPic: 作品图片
|
283
|
+
# @type WorkPic: String
|
284
|
+
# @param WorkDesc: 创作描述
|
285
|
+
# @type WorkDesc: String
|
286
|
+
# @param IsOriginal: 是否原创 0:否 1:是
|
287
|
+
# @type IsOriginal: String
|
288
|
+
# @param IsRelease: 是否发布 0:未发布 1:已发布
|
289
|
+
# @type IsRelease: String
|
290
|
+
# @param ProducerID: 著作权人ID
|
291
|
+
# @type ProducerID: Integer
|
292
|
+
# @param ProduceTime: 创作时间
|
293
|
+
# @type ProduceTime: String
|
294
|
+
# @param SampleContentURL: 样品文件路径
|
295
|
+
# @type SampleContentURL: String
|
296
|
+
# @param SampleDownloadURL: 样本下载Url
|
297
|
+
# @type SampleDownloadURL: String
|
298
|
+
# @param GrantType: 授予类型
|
299
|
+
# @type GrantType: String
|
300
|
+
# @param SamplePublicURL: 作品发布Url
|
301
|
+
# @type SamplePublicURL: String
|
302
|
+
# @param IsMonitor: 是否启用监测 0:不启用 1:启用 默认为0
|
303
|
+
# @type IsMonitor: String
|
304
|
+
# @param IsCert: 是否启用存证0:不启用 1:启用 默认为1
|
305
|
+
# @type IsCert: String
|
306
|
+
# @param CertUrl: 存证回调地址
|
307
|
+
# @type CertUrl: String
|
308
|
+
# @param MonitorUrl: 监测回调地址
|
309
|
+
# @type MonitorUrl: String
|
310
|
+
# @param ProduceType: 创作性质(原创,改编,翻译,汇编,注释,整理,其他)
|
311
|
+
# @type ProduceType: String
|
312
|
+
# @param WhiteLists: xxx
|
313
|
+
# @type WhiteLists: Array
|
314
|
+
# @param WorkId: x
|
315
|
+
# @type WorkId: Integer
|
316
|
+
# @param ProducerName: xx
|
317
|
+
# @type ProducerName: String
|
318
|
+
# @param Nickname: xx
|
319
|
+
# @type Nickname: String
|
320
|
+
# @param Authorization: x
|
321
|
+
# @type Authorization: String
|
322
|
+
# @param AuthorizationStartTime: x
|
323
|
+
# @type AuthorizationStartTime: String
|
324
|
+
# @param AuthorizationEndTime: x
|
325
|
+
# @type AuthorizationEndTime: String
|
326
|
+
# @param ContentType: x
|
327
|
+
# @type ContentType: String
|
328
|
+
# @param Content: x
|
329
|
+
# @type Content: String
|
330
|
+
|
331
|
+
attr_accessor :WorkName, :WorkCategory, :WorkType, :WorkSign, :WorkPic, :WorkDesc, :IsOriginal, :IsRelease, :ProducerID, :ProduceTime, :SampleContentURL, :SampleDownloadURL, :GrantType, :SamplePublicURL, :IsMonitor, :IsCert, :CertUrl, :MonitorUrl, :ProduceType, :WhiteLists, :WorkId, :ProducerName, :Nickname, :Authorization, :AuthorizationStartTime, :AuthorizationEndTime, :ContentType, :Content
|
332
|
+
|
333
|
+
def initialize(workname=nil, workcategory=nil, worktype=nil, worksign=nil, workpic=nil, workdesc=nil, isoriginal=nil, isrelease=nil, producerid=nil, producetime=nil, samplecontenturl=nil, sampledownloadurl=nil, granttype=nil, samplepublicurl=nil, ismonitor=nil, iscert=nil, certurl=nil, monitorurl=nil, producetype=nil, whitelists=nil, workid=nil, producername=nil, nickname=nil, authorization=nil, authorizationstarttime=nil, authorizationendtime=nil, contenttype=nil, content=nil)
|
334
|
+
@WorkName = workname
|
335
|
+
@WorkCategory = workcategory
|
336
|
+
@WorkType = worktype
|
337
|
+
@WorkSign = worksign
|
338
|
+
@WorkPic = workpic
|
339
|
+
@WorkDesc = workdesc
|
340
|
+
@IsOriginal = isoriginal
|
341
|
+
@IsRelease = isrelease
|
342
|
+
@ProducerID = producerid
|
343
|
+
@ProduceTime = producetime
|
344
|
+
@SampleContentURL = samplecontenturl
|
345
|
+
@SampleDownloadURL = sampledownloadurl
|
346
|
+
@GrantType = granttype
|
347
|
+
@SamplePublicURL = samplepublicurl
|
348
|
+
@IsMonitor = ismonitor
|
349
|
+
@IsCert = iscert
|
350
|
+
@CertUrl = certurl
|
351
|
+
@MonitorUrl = monitorurl
|
352
|
+
@ProduceType = producetype
|
353
|
+
@WhiteLists = whitelists
|
354
|
+
@WorkId = workid
|
355
|
+
@ProducerName = producername
|
356
|
+
@Nickname = nickname
|
357
|
+
@Authorization = authorization
|
358
|
+
@AuthorizationStartTime = authorizationstarttime
|
359
|
+
@AuthorizationEndTime = authorizationendtime
|
360
|
+
@ContentType = contenttype
|
361
|
+
@Content = content
|
362
|
+
end
|
363
|
+
|
364
|
+
def deserialize(params)
|
365
|
+
@WorkName = params['WorkName']
|
366
|
+
@WorkCategory = params['WorkCategory']
|
367
|
+
@WorkType = params['WorkType']
|
368
|
+
@WorkSign = params['WorkSign']
|
369
|
+
@WorkPic = params['WorkPic']
|
370
|
+
@WorkDesc = params['WorkDesc']
|
371
|
+
@IsOriginal = params['IsOriginal']
|
372
|
+
@IsRelease = params['IsRelease']
|
373
|
+
@ProducerID = params['ProducerID']
|
374
|
+
@ProduceTime = params['ProduceTime']
|
375
|
+
@SampleContentURL = params['SampleContentURL']
|
376
|
+
@SampleDownloadURL = params['SampleDownloadURL']
|
377
|
+
@GrantType = params['GrantType']
|
378
|
+
@SamplePublicURL = params['SamplePublicURL']
|
379
|
+
@IsMonitor = params['IsMonitor']
|
380
|
+
@IsCert = params['IsCert']
|
381
|
+
@CertUrl = params['CertUrl']
|
382
|
+
@MonitorUrl = params['MonitorUrl']
|
383
|
+
@ProduceType = params['ProduceType']
|
384
|
+
@WhiteLists = params['WhiteLists']
|
385
|
+
@WorkId = params['WorkId']
|
386
|
+
@ProducerName = params['ProducerName']
|
387
|
+
@Nickname = params['Nickname']
|
388
|
+
@Authorization = params['Authorization']
|
389
|
+
@AuthorizationStartTime = params['AuthorizationStartTime']
|
390
|
+
@AuthorizationEndTime = params['AuthorizationEndTime']
|
391
|
+
@ContentType = params['ContentType']
|
392
|
+
@Content = params['Content']
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# CreateCRWork返回参数结构体
|
397
|
+
class CreateCRWorkResponse < TencentCloud::Common::AbstractModel
|
398
|
+
# @param WorkId: 作品ID
|
399
|
+
# @type WorkId: Integer
|
400
|
+
# @param EvidenceId: x
|
401
|
+
# @type EvidenceId: Integer
|
402
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
403
|
+
# @type RequestId: String
|
404
|
+
|
405
|
+
attr_accessor :WorkId, :EvidenceId, :RequestId
|
406
|
+
|
407
|
+
def initialize(workid=nil, evidenceid=nil, requestid=nil)
|
408
|
+
@WorkId = workid
|
409
|
+
@EvidenceId = evidenceid
|
410
|
+
@RequestId = requestid
|
411
|
+
end
|
412
|
+
|
413
|
+
def deserialize(params)
|
414
|
+
@WorkId = params['WorkId']
|
415
|
+
@EvidenceId = params['EvidenceId']
|
416
|
+
@RequestId = params['RequestId']
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# DescribeCRMonitorDetail请求参数结构体
|
421
|
+
class DescribeCRMonitorDetailRequest < TencentCloud::Common::AbstractModel
|
422
|
+
# @param WorkId: 作品ID
|
423
|
+
# @type WorkId: Integer
|
424
|
+
# @param PageSize: 页数
|
425
|
+
# @type PageSize: Integer
|
426
|
+
# @param PageNumber: 页码
|
427
|
+
# @type PageNumber: Integer
|
428
|
+
# @param Filters: x
|
429
|
+
# @type Filters: Array
|
430
|
+
|
431
|
+
attr_accessor :WorkId, :PageSize, :PageNumber, :Filters
|
432
|
+
|
433
|
+
def initialize(workid=nil, pagesize=nil, pagenumber=nil, filters=nil)
|
434
|
+
@WorkId = workid
|
435
|
+
@PageSize = pagesize
|
436
|
+
@PageNumber = pagenumber
|
437
|
+
@Filters = filters
|
438
|
+
end
|
439
|
+
|
440
|
+
def deserialize(params)
|
441
|
+
@WorkId = params['WorkId']
|
442
|
+
@PageSize = params['PageSize']
|
443
|
+
@PageNumber = params['PageNumber']
|
444
|
+
unless params['Filters'].nil?
|
445
|
+
@Filters = []
|
446
|
+
params['Filters'].each do |i|
|
447
|
+
filter_tmp = Filter.new
|
448
|
+
filter_tmp.deserialize(i)
|
449
|
+
@Filters << filter_tmp
|
450
|
+
end
|
451
|
+
end
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
# DescribeCRMonitorDetail返回参数结构体
|
456
|
+
class DescribeCRMonitorDetailResponse < TencentCloud::Common::AbstractModel
|
457
|
+
# @param Torts: MonitorTort数组
|
458
|
+
# @type Torts: Array
|
459
|
+
# @param TotalCount: 总记录数
|
460
|
+
# @type TotalCount: Integer
|
461
|
+
# @param MonitorStatus: x
|
462
|
+
# @type MonitorStatus: Integer
|
463
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
464
|
+
# @type RequestId: String
|
465
|
+
|
466
|
+
attr_accessor :Torts, :TotalCount, :MonitorStatus, :RequestId
|
467
|
+
|
468
|
+
def initialize(torts=nil, totalcount=nil, monitorstatus=nil, requestid=nil)
|
469
|
+
@Torts = torts
|
470
|
+
@TotalCount = totalcount
|
471
|
+
@MonitorStatus = monitorstatus
|
472
|
+
@RequestId = requestid
|
473
|
+
end
|
474
|
+
|
475
|
+
def deserialize(params)
|
476
|
+
unless params['Torts'].nil?
|
477
|
+
@Torts = []
|
478
|
+
params['Torts'].each do |i|
|
479
|
+
monitortort_tmp = MonitorTort.new
|
480
|
+
monitortort_tmp.deserialize(i)
|
481
|
+
@Torts << monitortort_tmp
|
482
|
+
end
|
483
|
+
end
|
484
|
+
@TotalCount = params['TotalCount']
|
485
|
+
@MonitorStatus = params['MonitorStatus']
|
486
|
+
@RequestId = params['RequestId']
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
# DescribeCRMonitors请求参数结构体
|
491
|
+
class DescribeCRMonitorsRequest < TencentCloud::Common::AbstractModel
|
492
|
+
# @param Filters: 过滤条件
|
493
|
+
# @type Filters: Array
|
494
|
+
# @param PageSize: 页数
|
495
|
+
# @type PageSize: Integer
|
496
|
+
# @param PageNumber: 页码
|
497
|
+
# @type PageNumber: Integer
|
498
|
+
|
499
|
+
attr_accessor :Filters, :PageSize, :PageNumber
|
500
|
+
|
501
|
+
def initialize(filters=nil, pagesize=nil, pagenumber=nil)
|
502
|
+
@Filters = filters
|
503
|
+
@PageSize = pagesize
|
504
|
+
@PageNumber = pagenumber
|
505
|
+
end
|
506
|
+
|
507
|
+
def deserialize(params)
|
508
|
+
unless params['Filters'].nil?
|
509
|
+
@Filters = []
|
510
|
+
params['Filters'].each do |i|
|
511
|
+
filter_tmp = Filter.new
|
512
|
+
filter_tmp.deserialize(i)
|
513
|
+
@Filters << filter_tmp
|
514
|
+
end
|
515
|
+
end
|
516
|
+
@PageSize = params['PageSize']
|
517
|
+
@PageNumber = params['PageNumber']
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
# DescribeCRMonitors返回参数结构体
|
522
|
+
class DescribeCRMonitorsResponse < TencentCloud::Common::AbstractModel
|
523
|
+
# @param Monitors: 监测结果
|
524
|
+
# @type Monitors: Array
|
525
|
+
# @param TotalCount: 记录总条数
|
526
|
+
# @type TotalCount: Integer
|
527
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
528
|
+
# @type RequestId: String
|
529
|
+
|
530
|
+
attr_accessor :Monitors, :TotalCount, :RequestId
|
531
|
+
|
532
|
+
def initialize(monitors=nil, totalcount=nil, requestid=nil)
|
533
|
+
@Monitors = monitors
|
534
|
+
@TotalCount = totalcount
|
535
|
+
@RequestId = requestid
|
536
|
+
end
|
537
|
+
|
538
|
+
def deserialize(params)
|
539
|
+
unless params['Monitors'].nil?
|
540
|
+
@Monitors = []
|
541
|
+
params['Monitors'].each do |i|
|
542
|
+
monitor_tmp = Monitor.new
|
543
|
+
monitor_tmp.deserialize(i)
|
544
|
+
@Monitors << monitor_tmp
|
545
|
+
end
|
546
|
+
end
|
547
|
+
@TotalCount = params['TotalCount']
|
548
|
+
@RequestId = params['RequestId']
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
272
552
|
# DescribeCRWorkInfo请求参数结构体
|
273
553
|
class DescribeCRWorkInfoRequest < TencentCloud::Common::AbstractModel
|
274
554
|
# @param WorkId: xxx
|
@@ -321,6 +601,337 @@ module TencentCloud
|
|
321
601
|
end
|
322
602
|
end
|
323
603
|
|
604
|
+
# 过滤参数
|
605
|
+
class Filter < TencentCloud::Common::AbstractModel
|
606
|
+
|
607
|
+
|
608
|
+
def initialize()
|
609
|
+
end
|
610
|
+
|
611
|
+
def deserialize(params)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# ModifyCRBlockStatus请求参数结构体
|
616
|
+
class ModifyCRBlockStatusRequest < TencentCloud::Common::AbstractModel
|
617
|
+
# @param TortId: 侵权ID
|
618
|
+
# @type TortId: Integer
|
619
|
+
# @param BlockUrl: 拦截结果回调地址
|
620
|
+
# @type BlockUrl: String
|
621
|
+
|
622
|
+
attr_accessor :TortId, :BlockUrl
|
623
|
+
|
624
|
+
def initialize(tortid=nil, blockurl=nil)
|
625
|
+
@TortId = tortid
|
626
|
+
@BlockUrl = blockurl
|
627
|
+
end
|
628
|
+
|
629
|
+
def deserialize(params)
|
630
|
+
@TortId = params['TortId']
|
631
|
+
@BlockUrl = params['BlockUrl']
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
# ModifyCRBlockStatus返回参数结构体
|
636
|
+
class ModifyCRBlockStatusResponse < TencentCloud::Common::AbstractModel
|
637
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
638
|
+
# @type RequestId: String
|
639
|
+
|
640
|
+
attr_accessor :RequestId
|
641
|
+
|
642
|
+
def initialize(requestid=nil)
|
643
|
+
@RequestId = requestid
|
644
|
+
end
|
645
|
+
|
646
|
+
def deserialize(params)
|
647
|
+
@RequestId = params['RequestId']
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
# ModifyCRMonitor请求参数结构体
|
652
|
+
class ModifyCRMonitorRequest < TencentCloud::Common::AbstractModel
|
653
|
+
# @param WorkId: 作品ID
|
654
|
+
# @type WorkId: Integer
|
655
|
+
# @param MonitorStatus: 监测状态 1-开启监测 2-关闭监测 默认为1
|
656
|
+
# @type MonitorStatus: String
|
657
|
+
|
658
|
+
attr_accessor :WorkId, :MonitorStatus
|
659
|
+
|
660
|
+
def initialize(workid=nil, monitorstatus=nil)
|
661
|
+
@WorkId = workid
|
662
|
+
@MonitorStatus = monitorstatus
|
663
|
+
end
|
664
|
+
|
665
|
+
def deserialize(params)
|
666
|
+
@WorkId = params['WorkId']
|
667
|
+
@MonitorStatus = params['MonitorStatus']
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
# ModifyCRMonitor返回参数结构体
|
672
|
+
class ModifyCRMonitorResponse < TencentCloud::Common::AbstractModel
|
673
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
674
|
+
# @type RequestId: String
|
675
|
+
|
676
|
+
attr_accessor :RequestId
|
677
|
+
|
678
|
+
def initialize(requestid=nil)
|
679
|
+
@RequestId = requestid
|
680
|
+
end
|
681
|
+
|
682
|
+
def deserialize(params)
|
683
|
+
@RequestId = params['RequestId']
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
# ModifyCRObtainStatus请求参数结构体
|
688
|
+
class ModifyCRObtainStatusRequest < TencentCloud::Common::AbstractModel
|
689
|
+
# @param TortId: xxx
|
690
|
+
# @type TortId: Integer
|
691
|
+
# @param ObtainType: xxx
|
692
|
+
# @type ObtainType: Integer
|
693
|
+
# @param ObtainDuration: xxx
|
694
|
+
# @type ObtainDuration: Integer
|
695
|
+
# @param ObtainUrl: xxx
|
696
|
+
# @type ObtainUrl: String
|
697
|
+
|
698
|
+
attr_accessor :TortId, :ObtainType, :ObtainDuration, :ObtainUrl
|
699
|
+
|
700
|
+
def initialize(tortid=nil, obtaintype=nil, obtainduration=nil, obtainurl=nil)
|
701
|
+
@TortId = tortid
|
702
|
+
@ObtainType = obtaintype
|
703
|
+
@ObtainDuration = obtainduration
|
704
|
+
@ObtainUrl = obtainurl
|
705
|
+
end
|
706
|
+
|
707
|
+
def deserialize(params)
|
708
|
+
@TortId = params['TortId']
|
709
|
+
@ObtainType = params['ObtainType']
|
710
|
+
@ObtainDuration = params['ObtainDuration']
|
711
|
+
@ObtainUrl = params['ObtainUrl']
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
# ModifyCRObtainStatus返回参数结构体
|
716
|
+
class ModifyCRObtainStatusResponse < TencentCloud::Common::AbstractModel
|
717
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
718
|
+
# @type RequestId: String
|
719
|
+
|
720
|
+
attr_accessor :RequestId
|
721
|
+
|
722
|
+
def initialize(requestid=nil)
|
723
|
+
@RequestId = requestid
|
724
|
+
end
|
725
|
+
|
726
|
+
def deserialize(params)
|
727
|
+
@RequestId = params['RequestId']
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
# ModifyCRRightStatus请求参数结构体
|
732
|
+
class ModifyCRRightStatusRequest < TencentCloud::Common::AbstractModel
|
733
|
+
# @param TortId: 侵权ID
|
734
|
+
# @type TortId: Integer
|
735
|
+
# @param RightUrl: 发函结果回调地址
|
736
|
+
# @type RightUrl: String
|
737
|
+
|
738
|
+
attr_accessor :TortId, :RightUrl
|
739
|
+
|
740
|
+
def initialize(tortid=nil, righturl=nil)
|
741
|
+
@TortId = tortid
|
742
|
+
@RightUrl = righturl
|
743
|
+
end
|
744
|
+
|
745
|
+
def deserialize(params)
|
746
|
+
@TortId = params['TortId']
|
747
|
+
@RightUrl = params['RightUrl']
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# ModifyCRRightStatus返回参数结构体
|
752
|
+
class ModifyCRRightStatusResponse < TencentCloud::Common::AbstractModel
|
753
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
754
|
+
# @type RequestId: String
|
755
|
+
|
756
|
+
attr_accessor :RequestId
|
757
|
+
|
758
|
+
def initialize(requestid=nil)
|
759
|
+
@RequestId = requestid
|
760
|
+
end
|
761
|
+
|
762
|
+
def deserialize(params)
|
763
|
+
@RequestId = params['RequestId']
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# 版权保护-监测结果
|
768
|
+
class Monitor < TencentCloud::Common::AbstractModel
|
769
|
+
# @param WorkId: 作品ID
|
770
|
+
# @type WorkId: Integer
|
771
|
+
# @param WorkName: 作品名称
|
772
|
+
# @type WorkName: String
|
773
|
+
# @param WorkType: 作品内容类型 01-视频 02-音频 03-文本 04-图片
|
774
|
+
# @type WorkType: String
|
775
|
+
# @param TortPlatNum: 侵权平台数量
|
776
|
+
# @type TortPlatNum: Integer
|
777
|
+
# @param TortURLNum: 侵权链接数量
|
778
|
+
# @type TortURLNum: Integer
|
779
|
+
# @param MonitorTime: 监测时间
|
780
|
+
# @type MonitorTime: String
|
781
|
+
# @param MonitorStatus: 0-待监测 1-监测中 2-不监测 3-暂停监测
|
782
|
+
# @type MonitorStatus: Integer
|
783
|
+
# @param WorkCategory: 作品类型
|
784
|
+
# @type WorkCategory: String
|
785
|
+
# @param InsertTime: xx
|
786
|
+
# @type InsertTime: String
|
787
|
+
# @param MonitorNote: xx
|
788
|
+
# @type MonitorNote: String
|
789
|
+
|
790
|
+
attr_accessor :WorkId, :WorkName, :WorkType, :TortPlatNum, :TortURLNum, :MonitorTime, :MonitorStatus, :WorkCategory, :InsertTime, :MonitorNote
|
791
|
+
|
792
|
+
def initialize(workid=nil, workname=nil, worktype=nil, tortplatnum=nil, torturlnum=nil, monitortime=nil, monitorstatus=nil, workcategory=nil, inserttime=nil, monitornote=nil)
|
793
|
+
@WorkId = workid
|
794
|
+
@WorkName = workname
|
795
|
+
@WorkType = worktype
|
796
|
+
@TortPlatNum = tortplatnum
|
797
|
+
@TortURLNum = torturlnum
|
798
|
+
@MonitorTime = monitortime
|
799
|
+
@MonitorStatus = monitorstatus
|
800
|
+
@WorkCategory = workcategory
|
801
|
+
@InsertTime = inserttime
|
802
|
+
@MonitorNote = monitornote
|
803
|
+
end
|
804
|
+
|
805
|
+
def deserialize(params)
|
806
|
+
@WorkId = params['WorkId']
|
807
|
+
@WorkName = params['WorkName']
|
808
|
+
@WorkType = params['WorkType']
|
809
|
+
@TortPlatNum = params['TortPlatNum']
|
810
|
+
@TortURLNum = params['TortURLNum']
|
811
|
+
@MonitorTime = params['MonitorTime']
|
812
|
+
@MonitorStatus = params['MonitorStatus']
|
813
|
+
@WorkCategory = params['WorkCategory']
|
814
|
+
@InsertTime = params['InsertTime']
|
815
|
+
@MonitorNote = params['MonitorNote']
|
816
|
+
end
|
817
|
+
end
|
818
|
+
|
819
|
+
# 监测侵权信息详情
|
820
|
+
class MonitorTort < TencentCloud::Common::AbstractModel
|
821
|
+
# @param TortId: 侵权信息ID
|
822
|
+
# @type TortId: Integer
|
823
|
+
# @param TortTitle: 侵权标题
|
824
|
+
# @type TortTitle: String
|
825
|
+
# @param TortPlat: 侵权平台
|
826
|
+
# @type TortPlat: String
|
827
|
+
# @param TortURL: 侵权链接
|
828
|
+
# @type TortURL: String
|
829
|
+
# @param PubTime: 侵权链接发布时间
|
830
|
+
# @type PubTime: String
|
831
|
+
# @param Author: 作者
|
832
|
+
# @type Author: String
|
833
|
+
# @param DetectTime: xxx
|
834
|
+
# @type DetectTime: String
|
835
|
+
# @param ObtainStatus: 1
|
836
|
+
# @type ObtainStatus: Integer
|
837
|
+
# @param RightStatus: 1
|
838
|
+
# @type RightStatus: Integer
|
839
|
+
# @param BlockStatus: 1
|
840
|
+
# @type BlockStatus: Integer
|
841
|
+
# @param TortNum: 1
|
842
|
+
# @type TortNum: String
|
843
|
+
# @param ObtainNote: 1
|
844
|
+
# @type ObtainNote: String
|
845
|
+
# @param WorkTitle: 1
|
846
|
+
# @type WorkTitle: String
|
847
|
+
|
848
|
+
attr_accessor :TortId, :TortTitle, :TortPlat, :TortURL, :PubTime, :Author, :DetectTime, :ObtainStatus, :RightStatus, :BlockStatus, :TortNum, :ObtainNote, :WorkTitle
|
849
|
+
|
850
|
+
def initialize(tortid=nil, torttitle=nil, tortplat=nil, torturl=nil, pubtime=nil, author=nil, detecttime=nil, obtainstatus=nil, rightstatus=nil, blockstatus=nil, tortnum=nil, obtainnote=nil, worktitle=nil)
|
851
|
+
@TortId = tortid
|
852
|
+
@TortTitle = torttitle
|
853
|
+
@TortPlat = tortplat
|
854
|
+
@TortURL = torturl
|
855
|
+
@PubTime = pubtime
|
856
|
+
@Author = author
|
857
|
+
@DetectTime = detecttime
|
858
|
+
@ObtainStatus = obtainstatus
|
859
|
+
@RightStatus = rightstatus
|
860
|
+
@BlockStatus = blockstatus
|
861
|
+
@TortNum = tortnum
|
862
|
+
@ObtainNote = obtainnote
|
863
|
+
@WorkTitle = worktitle
|
864
|
+
end
|
865
|
+
|
866
|
+
def deserialize(params)
|
867
|
+
@TortId = params['TortId']
|
868
|
+
@TortTitle = params['TortTitle']
|
869
|
+
@TortPlat = params['TortPlat']
|
870
|
+
@TortURL = params['TortURL']
|
871
|
+
@PubTime = params['PubTime']
|
872
|
+
@Author = params['Author']
|
873
|
+
@DetectTime = params['DetectTime']
|
874
|
+
@ObtainStatus = params['ObtainStatus']
|
875
|
+
@RightStatus = params['RightStatus']
|
876
|
+
@BlockStatus = params['BlockStatus']
|
877
|
+
@TortNum = params['TortNum']
|
878
|
+
@ObtainNote = params['ObtainNote']
|
879
|
+
@WorkTitle = params['WorkTitle']
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
883
|
+
# UpdateCRWork请求参数结构体
|
884
|
+
class UpdateCRWorkRequest < TencentCloud::Common::AbstractModel
|
885
|
+
# @param WorkId: xx
|
886
|
+
# @type WorkId: Integer
|
887
|
+
# @param ContentType: xx
|
888
|
+
# @type ContentType: String
|
889
|
+
# @param Content: xx
|
890
|
+
# @type Content: String
|
891
|
+
# @param CertType: xx
|
892
|
+
# @type CertType: String
|
893
|
+
|
894
|
+
attr_accessor :WorkId, :ContentType, :Content, :CertType
|
895
|
+
|
896
|
+
def initialize(workid=nil, contenttype=nil, content=nil, certtype=nil)
|
897
|
+
@WorkId = workid
|
898
|
+
@ContentType = contenttype
|
899
|
+
@Content = content
|
900
|
+
@CertType = certtype
|
901
|
+
end
|
902
|
+
|
903
|
+
def deserialize(params)
|
904
|
+
@WorkId = params['WorkId']
|
905
|
+
@ContentType = params['ContentType']
|
906
|
+
@Content = params['Content']
|
907
|
+
@CertType = params['CertType']
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
# UpdateCRWork返回参数结构体
|
912
|
+
class UpdateCRWorkResponse < TencentCloud::Common::AbstractModel
|
913
|
+
# @param WorkId: xx
|
914
|
+
# @type WorkId: Integer
|
915
|
+
# @param EvidenceId: xx
|
916
|
+
# @type EvidenceId: Integer
|
917
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
918
|
+
# @type RequestId: String
|
919
|
+
|
920
|
+
attr_accessor :WorkId, :EvidenceId, :RequestId
|
921
|
+
|
922
|
+
def initialize(workid=nil, evidenceid=nil, requestid=nil)
|
923
|
+
@WorkId = workid
|
924
|
+
@EvidenceId = evidenceid
|
925
|
+
@RequestId = requestid
|
926
|
+
end
|
927
|
+
|
928
|
+
def deserialize(params)
|
929
|
+
@WorkId = params['WorkId']
|
930
|
+
@EvidenceId = params['EvidenceId']
|
931
|
+
@RequestId = params['RequestId']
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
324
935
|
end
|
325
936
|
end
|
326
937
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-bma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.371
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|