tencentcloud-sdk-bma 3.0.402 → 3.0.404

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: 241c0863aef7abb116a35d65120daee780ff4de8
4
- data.tar.gz: e680dfdc5be9c6f9873e6c43316f5e71443c6375
3
+ metadata.gz: c3b8aeb02982e8d250ffa3caec9cae8f5f991dc7
4
+ data.tar.gz: 2c4d12351fc441304b5e92987b7f5711455cbabd
5
5
  SHA512:
6
- metadata.gz: 6cd0cad357fefa22a7a6f8d7369900be863bdf20c82d8801000250c6053ace60e878f60716521e549b0d53dc98ec306cdcde594c52ecf6f7baeac93e96dab27b
7
- data.tar.gz: dd73683044ea544cb2931721128d16e947d0bffbaac1bf388b5f016f8b085a5aa741a8f4e8c4e694f1b4728aa5b818691bc32ba6bca3727446b5cf8b6509141a
6
+ metadata.gz: 8075964b8a8dc387032c89f081d371f9e321bd4e24b4e215fa06e9f8ee88b7c0e0fb30573dcf35163a17ca94c585fcb51ad66b45523e27276fc59e3f3a542af3
7
+ data.tar.gz: 6f0626af0c4fffc7605040b63163de3773768921c468406155e9c663e03ceca4bc9c57d79d52aabd630cc33491de54d83fc2369529f5e95fe6425b0a5925ab20
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.402
1
+ 3.0.404
@@ -221,6 +221,54 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 新增权属文件
225
+
226
+ # @param request: Request instance for CreateCRRightFile.
227
+ # @type request: :class:`Tencentcloud::bma::V20210624::CreateCRRightFileRequest`
228
+ # @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRRightFileResponse`
229
+ def CreateCRRightFile(request)
230
+ body = send_request('CreateCRRightFile', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = CreateCRRightFileResponse.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 CreateCRTort.
251
+ # @type request: :class:`Tencentcloud::bma::V20210624::CreateCRTortRequest`
252
+ # @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRTortResponse`
253
+ def CreateCRTort(request)
254
+ body = send_request('CreateCRTort', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateCRTortResponse.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
+
224
272
  # 品牌经营管家-版权保护个人认证接口
225
273
 
226
274
  # @param request: Request instance for CreateCRUserVerify.
@@ -557,6 +605,30 @@ module TencentCloud
557
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
606
  end
559
607
 
608
+ # 版权保护-白名单修改接口
609
+
610
+ # @param request: Request instance for ModifyCRWhiteList.
611
+ # @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRWhiteListRequest`
612
+ # @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRWhiteListResponse`
613
+ def ModifyCRWhiteList(request)
614
+ body = send_request('ModifyCRWhiteList', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = ModifyCRWhiteListResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
560
632
  # 更新作品
561
633
 
562
634
  # @param request: Request instance for UpdateCRWork.
@@ -413,6 +413,53 @@ module TencentCloud
413
413
  end
414
414
  end
415
415
 
416
+ # CreateCRRightFile请求参数结构体
417
+ class CreateCRRightFileRequest < TencentCloud::Common::AbstractModel
418
+ # @param WorkId: xxx
419
+ # @type WorkId: Integer
420
+ # @param FileList: xxx
421
+ # @type FileList: Array
422
+
423
+ attr_accessor :WorkId, :FileList
424
+
425
+ def initialize(workid=nil, filelist=nil)
426
+ @WorkId = workid
427
+ @FileList = filelist
428
+ end
429
+
430
+ def deserialize(params)
431
+ @WorkId = params['WorkId']
432
+ unless params['FileList'].nil?
433
+ @FileList = []
434
+ params['FileList'].each do |i|
435
+ file_tmp = File.new
436
+ file_tmp.deserialize(i)
437
+ @FileList << file_tmp
438
+ end
439
+ end
440
+ end
441
+ end
442
+
443
+ # CreateCRRightFile返回参数结构体
444
+ class CreateCRRightFileResponse < TencentCloud::Common::AbstractModel
445
+ # @param FileIds: xxx
446
+ # @type FileIds: Array
447
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
448
+ # @type RequestId: String
449
+
450
+ attr_accessor :FileIds, :RequestId
451
+
452
+ def initialize(fileids=nil, requestid=nil)
453
+ @FileIds = fileids
454
+ @RequestId = requestid
455
+ end
456
+
457
+ def deserialize(params)
458
+ @FileIds = params['FileIds']
459
+ @RequestId = params['RequestId']
460
+ end
461
+ end
462
+
416
463
  # CreateCRRight请求参数结构体
417
464
  class CreateCRRightRequest < TencentCloud::Common::AbstractModel
418
465
  # @param WorkId: 已存证的作品ID
@@ -509,6 +556,78 @@ module TencentCloud
509
556
  end
510
557
  end
511
558
 
559
+ # CreateCRTort请求参数结构体
560
+ class CreateCRTortRequest < TencentCloud::Common::AbstractModel
561
+ # @param WorkId: xx
562
+ # @type WorkId: Integer
563
+ # @param TortURL: xx
564
+ # @type TortURL: String
565
+ # @param TortPlat: xx
566
+ # @type TortPlat: String
567
+ # @param TortTitle: xx
568
+ # @type TortTitle: String
569
+
570
+ attr_accessor :WorkId, :TortURL, :TortPlat, :TortTitle
571
+
572
+ def initialize(workid=nil, torturl=nil, tortplat=nil, torttitle=nil)
573
+ @WorkId = workid
574
+ @TortURL = torturl
575
+ @TortPlat = tortplat
576
+ @TortTitle = torttitle
577
+ end
578
+
579
+ def deserialize(params)
580
+ @WorkId = params['WorkId']
581
+ @TortURL = params['TortURL']
582
+ @TortPlat = params['TortPlat']
583
+ @TortTitle = params['TortTitle']
584
+ end
585
+ end
586
+
587
+ # CreateCRTort返回参数结构体
588
+ class CreateCRTortResponse < TencentCloud::Common::AbstractModel
589
+ # @param WorkId: xx
590
+ # @type WorkId: Integer
591
+ # @param TortId: xx
592
+ # @type TortId: Integer
593
+ # @param TortTitle: xx
594
+ # @type TortTitle: String
595
+ # @param TortPlat: xx
596
+ # @type TortPlat: String
597
+ # @param TortURL: xx
598
+ # @type TortURL: String
599
+ # @param TortDomain: xx
600
+ # @type TortDomain: String
601
+ # @param TortBodyName: xx
602
+ # @type TortBodyName: String
603
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
604
+ # @type RequestId: String
605
+
606
+ attr_accessor :WorkId, :TortId, :TortTitle, :TortPlat, :TortURL, :TortDomain, :TortBodyName, :RequestId
607
+
608
+ def initialize(workid=nil, tortid=nil, torttitle=nil, tortplat=nil, torturl=nil, tortdomain=nil, tortbodyname=nil, requestid=nil)
609
+ @WorkId = workid
610
+ @TortId = tortid
611
+ @TortTitle = torttitle
612
+ @TortPlat = tortplat
613
+ @TortURL = torturl
614
+ @TortDomain = tortdomain
615
+ @TortBodyName = tortbodyname
616
+ @RequestId = requestid
617
+ end
618
+
619
+ def deserialize(params)
620
+ @WorkId = params['WorkId']
621
+ @TortId = params['TortId']
622
+ @TortTitle = params['TortTitle']
623
+ @TortPlat = params['TortPlat']
624
+ @TortURL = params['TortURL']
625
+ @TortDomain = params['TortDomain']
626
+ @TortBodyName = params['TortBodyName']
627
+ @RequestId = params['RequestId']
628
+ end
629
+ end
630
+
512
631
  # CreateCRUserVerify请求参数结构体
513
632
  class CreateCRUserVerifyRequest < TencentCloud::Common::AbstractModel
514
633
  # @param UserName: 用户真实姓名
@@ -1226,6 +1345,34 @@ module TencentCloud
1226
1345
  end
1227
1346
  end
1228
1347
 
1348
+ # 权属文件列表
1349
+ class File < TencentCloud::Common::AbstractModel
1350
+ # @param FileUrl: xxx
1351
+ # @type FileUrl: String
1352
+ # @param FileType: xxx
1353
+ # @type FileType: Integer
1354
+ # @param ValidStartDate: xxx
1355
+ # @type ValidStartDate: String
1356
+ # @param ValidEndDate: xxx
1357
+ # @type ValidEndDate: String
1358
+
1359
+ attr_accessor :FileUrl, :FileType, :ValidStartDate, :ValidEndDate
1360
+
1361
+ def initialize(fileurl=nil, filetype=nil, validstartdate=nil, validenddate=nil)
1362
+ @FileUrl = fileurl
1363
+ @FileType = filetype
1364
+ @ValidStartDate = validstartdate
1365
+ @ValidEndDate = validenddate
1366
+ end
1367
+
1368
+ def deserialize(params)
1369
+ @FileUrl = params['FileUrl']
1370
+ @FileType = params['FileType']
1371
+ @ValidStartDate = params['ValidStartDate']
1372
+ @ValidEndDate = params['ValidEndDate']
1373
+ end
1374
+ end
1375
+
1229
1376
  # 过滤参数
1230
1377
  class Filter < TencentCloud::Common::AbstractModel
1231
1378
 
@@ -1325,19 +1472,23 @@ module TencentCloud
1325
1472
  class ModifyCRMonitorRequest < TencentCloud::Common::AbstractModel
1326
1473
  # @param WorkId: 作品ID
1327
1474
  # @type WorkId: Integer
1328
- # @param MonitorStatus: 监测状态 1-开启监测 2-关闭监测 默认为1
1475
+ # @param MonitorStatus: 监测状态 1-开启监测 2-关闭监测
1329
1476
  # @type MonitorStatus: String
1477
+ # @param MonitorEnd: 默认不停止,支持续期
1478
+ # @type MonitorEnd: String
1330
1479
 
1331
- attr_accessor :WorkId, :MonitorStatus
1480
+ attr_accessor :WorkId, :MonitorStatus, :MonitorEnd
1332
1481
 
1333
- def initialize(workid=nil, monitorstatus=nil)
1482
+ def initialize(workid=nil, monitorstatus=nil, monitorend=nil)
1334
1483
  @WorkId = workid
1335
1484
  @MonitorStatus = monitorstatus
1485
+ @MonitorEnd = monitorend
1336
1486
  end
1337
1487
 
1338
1488
  def deserialize(params)
1339
1489
  @WorkId = params['WorkId']
1340
1490
  @MonitorStatus = params['MonitorStatus']
1491
+ @MonitorEnd = params['MonitorEnd']
1341
1492
  end
1342
1493
  end
1343
1494
 
@@ -1437,6 +1588,62 @@ module TencentCloud
1437
1588
  end
1438
1589
  end
1439
1590
 
1591
+ # ModifyCRWhiteList请求参数结构体
1592
+ class ModifyCRWhiteListRequest < TencentCloud::Common::AbstractModel
1593
+ # @param WhiteListId: 白名单ID
1594
+ # @type WhiteListId: Integer
1595
+ # @param PlatForm: 平台名称
1596
+ # @type PlatForm: String
1597
+ # @param PlatUrl: 平台站点链接
1598
+ # @type PlatUrl: String
1599
+ # @param AuthorId: 作者ID
1600
+ # @type AuthorId: String
1601
+ # @param WorksId: 作品ID
1602
+ # @type WorksId: Integer
1603
+ # @param WorkId: xxx
1604
+ # @type WorkId: Integer
1605
+ # @param WhiteSites: xxx
1606
+ # @type WhiteSites: String
1607
+
1608
+ attr_accessor :WhiteListId, :PlatForm, :PlatUrl, :AuthorId, :WorksId, :WorkId, :WhiteSites
1609
+
1610
+ def initialize(whitelistid=nil, platform=nil, platurl=nil, authorid=nil, worksid=nil, workid=nil, whitesites=nil)
1611
+ @WhiteListId = whitelistid
1612
+ @PlatForm = platform
1613
+ @PlatUrl = platurl
1614
+ @AuthorId = authorid
1615
+ @WorksId = worksid
1616
+ @WorkId = workid
1617
+ @WhiteSites = whitesites
1618
+ end
1619
+
1620
+ def deserialize(params)
1621
+ @WhiteListId = params['WhiteListId']
1622
+ @PlatForm = params['PlatForm']
1623
+ @PlatUrl = params['PlatUrl']
1624
+ @AuthorId = params['AuthorId']
1625
+ @WorksId = params['WorksId']
1626
+ @WorkId = params['WorkId']
1627
+ @WhiteSites = params['WhiteSites']
1628
+ end
1629
+ end
1630
+
1631
+ # ModifyCRWhiteList返回参数结构体
1632
+ class ModifyCRWhiteListResponse < TencentCloud::Common::AbstractModel
1633
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1634
+ # @type RequestId: String
1635
+
1636
+ attr_accessor :RequestId
1637
+
1638
+ def initialize(requestid=nil)
1639
+ @RequestId = requestid
1640
+ end
1641
+
1642
+ def deserialize(params)
1643
+ @RequestId = params['RequestId']
1644
+ end
1645
+ end
1646
+
1440
1647
  # 版权保护-监测结果
1441
1648
  class Monitor < TencentCloud::Common::AbstractModel
1442
1649
  # @param WorkId: 作品ID
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: 3.0.402
4
+ version: 3.0.404
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-09-01 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common