tencentcloud-sdk-bma 3.0.402 → 3.0.406

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 241c0863aef7abb116a35d65120daee780ff4de8
4
- data.tar.gz: e680dfdc5be9c6f9873e6c43316f5e71443c6375
3
+ metadata.gz: 24e673afc68c863ebba38d103e9666c74bc81b43
4
+ data.tar.gz: a6708986f4c53ff0473a68a00e616c5c72920b3f
5
5
  SHA512:
6
- metadata.gz: 6cd0cad357fefa22a7a6f8d7369900be863bdf20c82d8801000250c6053ace60e878f60716521e549b0d53dc98ec306cdcde594c52ecf6f7baeac93e96dab27b
7
- data.tar.gz: dd73683044ea544cb2931721128d16e947d0bffbaac1bf388b5f016f8b085a5aa741a8f4e8c4e694f1b4728aa5b818691bc32ba6bca3727446b5cf8b6509141a
6
+ metadata.gz: 6ac0206a2f9b913bd2a02ad64f3c401e9cf149f1a584b690ac8cd7e3f3a306e76c13f0c655560ff7f60c766ff38736d11dcb0a1819e38f8b4694978fb612c4bc
7
+ data.tar.gz: e02d897476f08d062fb8d14f418f3b3875cce4c6d96f6e97daba05c2b888125ee79733b97768369f7ae1cb319c34bb1b974b5f7b30618ea4b0a98c3f7f9abf34
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.402
1
+ 3.0.406
@@ -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: 用户真实姓名
@@ -623,10 +742,12 @@ module TencentCloud
623
742
  # @type ContentType: String
624
743
  # @param Content: x
625
744
  # @type Content: String
745
+ # @param MonitorEndTime: x
746
+ # @type MonitorEndTime: String
626
747
 
627
- 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
748
+ 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, :MonitorEndTime
628
749
 
629
- 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)
750
+ 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, monitorendtime=nil)
630
751
  @WorkName = workname
631
752
  @WorkCategory = workcategory
632
753
  @WorkType = worktype
@@ -655,6 +776,7 @@ module TencentCloud
655
776
  @AuthorizationEndTime = authorizationendtime
656
777
  @ContentType = contenttype
657
778
  @Content = content
779
+ @MonitorEndTime = monitorendtime
658
780
  end
659
781
 
660
782
  def deserialize(params)
@@ -686,6 +808,7 @@ module TencentCloud
686
808
  @AuthorizationEndTime = params['AuthorizationEndTime']
687
809
  @ContentType = params['ContentType']
688
810
  @Content = params['Content']
811
+ @MonitorEndTime = params['MonitorEndTime']
689
812
  end
690
813
  end
691
814
 
@@ -1226,6 +1349,34 @@ module TencentCloud
1226
1349
  end
1227
1350
  end
1228
1351
 
1352
+ # 权属文件列表
1353
+ class File < TencentCloud::Common::AbstractModel
1354
+ # @param FileUrl: xxx
1355
+ # @type FileUrl: String
1356
+ # @param FileType: xxx
1357
+ # @type FileType: Integer
1358
+ # @param ValidStartDate: xxx
1359
+ # @type ValidStartDate: String
1360
+ # @param ValidEndDate: xxx
1361
+ # @type ValidEndDate: String
1362
+
1363
+ attr_accessor :FileUrl, :FileType, :ValidStartDate, :ValidEndDate
1364
+
1365
+ def initialize(fileurl=nil, filetype=nil, validstartdate=nil, validenddate=nil)
1366
+ @FileUrl = fileurl
1367
+ @FileType = filetype
1368
+ @ValidStartDate = validstartdate
1369
+ @ValidEndDate = validenddate
1370
+ end
1371
+
1372
+ def deserialize(params)
1373
+ @FileUrl = params['FileUrl']
1374
+ @FileType = params['FileType']
1375
+ @ValidStartDate = params['ValidStartDate']
1376
+ @ValidEndDate = params['ValidEndDate']
1377
+ end
1378
+ end
1379
+
1229
1380
  # 过滤参数
1230
1381
  class Filter < TencentCloud::Common::AbstractModel
1231
1382
 
@@ -1325,19 +1476,23 @@ module TencentCloud
1325
1476
  class ModifyCRMonitorRequest < TencentCloud::Common::AbstractModel
1326
1477
  # @param WorkId: 作品ID
1327
1478
  # @type WorkId: Integer
1328
- # @param MonitorStatus: 监测状态 1-开启监测 2-关闭监测 默认为1
1479
+ # @param MonitorStatus: 监测状态 1-开启监测 2-关闭监测
1329
1480
  # @type MonitorStatus: String
1481
+ # @param MonitorEnd: 默认不停止,支持续期
1482
+ # @type MonitorEnd: String
1330
1483
 
1331
- attr_accessor :WorkId, :MonitorStatus
1484
+ attr_accessor :WorkId, :MonitorStatus, :MonitorEnd
1332
1485
 
1333
- def initialize(workid=nil, monitorstatus=nil)
1486
+ def initialize(workid=nil, monitorstatus=nil, monitorend=nil)
1334
1487
  @WorkId = workid
1335
1488
  @MonitorStatus = monitorstatus
1489
+ @MonitorEnd = monitorend
1336
1490
  end
1337
1491
 
1338
1492
  def deserialize(params)
1339
1493
  @WorkId = params['WorkId']
1340
1494
  @MonitorStatus = params['MonitorStatus']
1495
+ @MonitorEnd = params['MonitorEnd']
1341
1496
  end
1342
1497
  end
1343
1498
 
@@ -1437,6 +1592,62 @@ module TencentCloud
1437
1592
  end
1438
1593
  end
1439
1594
 
1595
+ # ModifyCRWhiteList请求参数结构体
1596
+ class ModifyCRWhiteListRequest < TencentCloud::Common::AbstractModel
1597
+ # @param WhiteListId: 白名单ID
1598
+ # @type WhiteListId: Integer
1599
+ # @param PlatForm: 平台名称
1600
+ # @type PlatForm: String
1601
+ # @param PlatUrl: 平台站点链接
1602
+ # @type PlatUrl: String
1603
+ # @param AuthorId: 作者ID
1604
+ # @type AuthorId: String
1605
+ # @param WorksId: 作品ID
1606
+ # @type WorksId: Integer
1607
+ # @param WorkId: xxx
1608
+ # @type WorkId: Integer
1609
+ # @param WhiteSites: xxx
1610
+ # @type WhiteSites: String
1611
+
1612
+ attr_accessor :WhiteListId, :PlatForm, :PlatUrl, :AuthorId, :WorksId, :WorkId, :WhiteSites
1613
+
1614
+ def initialize(whitelistid=nil, platform=nil, platurl=nil, authorid=nil, worksid=nil, workid=nil, whitesites=nil)
1615
+ @WhiteListId = whitelistid
1616
+ @PlatForm = platform
1617
+ @PlatUrl = platurl
1618
+ @AuthorId = authorid
1619
+ @WorksId = worksid
1620
+ @WorkId = workid
1621
+ @WhiteSites = whitesites
1622
+ end
1623
+
1624
+ def deserialize(params)
1625
+ @WhiteListId = params['WhiteListId']
1626
+ @PlatForm = params['PlatForm']
1627
+ @PlatUrl = params['PlatUrl']
1628
+ @AuthorId = params['AuthorId']
1629
+ @WorksId = params['WorksId']
1630
+ @WorkId = params['WorkId']
1631
+ @WhiteSites = params['WhiteSites']
1632
+ end
1633
+ end
1634
+
1635
+ # ModifyCRWhiteList返回参数结构体
1636
+ class ModifyCRWhiteListResponse < TencentCloud::Common::AbstractModel
1637
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1638
+ # @type RequestId: String
1639
+
1640
+ attr_accessor :RequestId
1641
+
1642
+ def initialize(requestid=nil)
1643
+ @RequestId = requestid
1644
+ end
1645
+
1646
+ def deserialize(params)
1647
+ @RequestId = params['RequestId']
1648
+ end
1649
+ end
1650
+
1440
1651
  # 版权保护-监测结果
1441
1652
  class Monitor < TencentCloud::Common::AbstractModel
1442
1653
  # @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.406
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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common