tencentcloud-sdk-bma 3.0.430 → 3.0.432
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 +50 -2
- data/lib/v20210624/models.rb +129 -1
- 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: b68a0d643a9167b203830fa199d0a378cecc6316
|
4
|
+
data.tar.gz: 51ac8b82c65032efdda2df0b8fc5818951af62d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 115a42c4d99fca7ce3112f1040c5575eb40c8d25cdb5980cbe4fdc86c866f7324bd7f0357a0b07b2c75c2cfdc087a63d9b5646dd844cdaace06022ffb29177c5
|
7
|
+
data.tar.gz: b79f8901af62b87cb0e1b642286fa5e7e2739ee0d8243327e0e717268619ffae4594957bc1852b198face75882812eb6152eb39741d3c14a611e2a374359329f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.432
|
data/lib/v20210624/client.rb
CHANGED
@@ -149,7 +149,7 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
-
#
|
152
|
+
# 新建协查处置
|
153
153
|
|
154
154
|
# @param request: Request instance for CreateCRBlock.
|
155
155
|
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRBlockRequest`
|
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 新建过程取证码
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateCRDesktopCode.
|
203
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRDesktopCodeRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRDesktopCodeResponse`
|
205
|
+
def CreateCRDesktopCode(request)
|
206
|
+
body = send_request('CreateCRDesktopCode', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateCRDesktopCodeResponse.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
|
+
|
200
224
|
# 版权保护-新建取证接口
|
201
225
|
|
202
226
|
# @param request: Request instance for CreateCRObtain.
|
@@ -485,6 +509,30 @@ module TencentCloud
|
|
485
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
510
|
end
|
487
511
|
|
512
|
+
# 查询取证详情
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeCRObtainDetail.
|
515
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRObtainDetailRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRObtainDetailResponse`
|
517
|
+
def DescribeCRObtainDetail(request)
|
518
|
+
body = send_request('DescribeCRObtainDetail', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeCRObtainDetailResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
488
536
|
# 查询作品基本信息
|
489
537
|
|
490
538
|
# @param request: Request instance for DescribeCRWorkInfo.
|
@@ -533,7 +581,7 @@ module TencentCloud
|
|
533
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
582
|
end
|
535
583
|
|
536
|
-
#
|
584
|
+
# 协查处置申请
|
537
585
|
|
538
586
|
# @param request: Request instance for ModifyCRBlockStatus.
|
539
587
|
# @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRBlockStatusRequest`
|
data/lib/v20210624/models.rb
CHANGED
@@ -425,6 +425,42 @@ module TencentCloud
|
|
425
425
|
end
|
426
426
|
end
|
427
427
|
|
428
|
+
# CreateCRDesktopCode请求参数结构体
|
429
|
+
class CreateCRDesktopCodeRequest < TencentCloud::Common::AbstractModel
|
430
|
+
# @param TortId: xxx
|
431
|
+
# @type TortId: Integer
|
432
|
+
# @param DesktopCode: xxx
|
433
|
+
# @type DesktopCode: String
|
434
|
+
|
435
|
+
attr_accessor :TortId, :DesktopCode
|
436
|
+
|
437
|
+
def initialize(tortid=nil, desktopcode=nil)
|
438
|
+
@TortId = tortid
|
439
|
+
@DesktopCode = desktopcode
|
440
|
+
end
|
441
|
+
|
442
|
+
def deserialize(params)
|
443
|
+
@TortId = params['TortId']
|
444
|
+
@DesktopCode = params['DesktopCode']
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
# CreateCRDesktopCode返回参数结构体
|
449
|
+
class CreateCRDesktopCodeResponse < TencentCloud::Common::AbstractModel
|
450
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
451
|
+
# @type RequestId: String
|
452
|
+
|
453
|
+
attr_accessor :RequestId
|
454
|
+
|
455
|
+
def initialize(requestid=nil)
|
456
|
+
@RequestId = requestid
|
457
|
+
end
|
458
|
+
|
459
|
+
def deserialize(params)
|
460
|
+
@RequestId = params['RequestId']
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
428
464
|
# CreateCRObtain请求参数结构体
|
429
465
|
class CreateCRObtainRequest < TencentCloud::Common::AbstractModel
|
430
466
|
# @param WorkId: 已存证的作品ID
|
@@ -1325,6 +1361,98 @@ module TencentCloud
|
|
1325
1361
|
end
|
1326
1362
|
end
|
1327
1363
|
|
1364
|
+
# DescribeCRObtainDetail请求参数结构体
|
1365
|
+
class DescribeCRObtainDetailRequest < TencentCloud::Common::AbstractModel
|
1366
|
+
# @param TortId: 侵权ID
|
1367
|
+
# @type TortId: Integer
|
1368
|
+
|
1369
|
+
attr_accessor :TortId
|
1370
|
+
|
1371
|
+
def initialize(tortid=nil)
|
1372
|
+
@TortId = tortid
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
def deserialize(params)
|
1376
|
+
@TortId = params['TortId']
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# DescribeCRObtainDetail返回参数结构体
|
1381
|
+
class DescribeCRObtainDetailResponse < TencentCloud::Common::AbstractModel
|
1382
|
+
# @param WorkName: 作品名称
|
1383
|
+
# @type WorkName: String
|
1384
|
+
# @param TortURL: 侵权链接
|
1385
|
+
# @type TortURL: String
|
1386
|
+
# @param ObtainTime: 取证时间
|
1387
|
+
# @type ObtainTime: String
|
1388
|
+
# @param ObtainType: 取证类型
|
1389
|
+
# @type ObtainType: String
|
1390
|
+
# @param ObtainNum: 取证号
|
1391
|
+
# @type ObtainNum: String
|
1392
|
+
# @param DepositFile: 证据地址
|
1393
|
+
# @type DepositFile: String
|
1394
|
+
# @param DepositCert: 公证信息地址
|
1395
|
+
# @type DepositCert: String
|
1396
|
+
# @param WorkType: 内容类型
|
1397
|
+
# @type WorkType: String
|
1398
|
+
# @param WorkCategory: 作品类型
|
1399
|
+
# @type WorkCategory: String
|
1400
|
+
# @param TortId: 侵权ID
|
1401
|
+
# @type TortId: Integer
|
1402
|
+
# @param TortNum: 侵权编号
|
1403
|
+
# @type TortNum: String
|
1404
|
+
# @param ObtainStatus: 取证状态
|
1405
|
+
# @type ObtainStatus: Integer
|
1406
|
+
# @param ObtainNote: 取证状态说明
|
1407
|
+
# @type ObtainNote: String
|
1408
|
+
# @param ObtainDuration: 取证时长
|
1409
|
+
# @type ObtainDuration: String
|
1410
|
+
# @param ObtainName: 取证名称
|
1411
|
+
# @type ObtainName: String
|
1412
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1413
|
+
# @type RequestId: String
|
1414
|
+
|
1415
|
+
attr_accessor :WorkName, :TortURL, :ObtainTime, :ObtainType, :ObtainNum, :DepositFile, :DepositCert, :WorkType, :WorkCategory, :TortId, :TortNum, :ObtainStatus, :ObtainNote, :ObtainDuration, :ObtainName, :RequestId
|
1416
|
+
|
1417
|
+
def initialize(workname=nil, torturl=nil, obtaintime=nil, obtaintype=nil, obtainnum=nil, depositfile=nil, depositcert=nil, worktype=nil, workcategory=nil, tortid=nil, tortnum=nil, obtainstatus=nil, obtainnote=nil, obtainduration=nil, obtainname=nil, requestid=nil)
|
1418
|
+
@WorkName = workname
|
1419
|
+
@TortURL = torturl
|
1420
|
+
@ObtainTime = obtaintime
|
1421
|
+
@ObtainType = obtaintype
|
1422
|
+
@ObtainNum = obtainnum
|
1423
|
+
@DepositFile = depositfile
|
1424
|
+
@DepositCert = depositcert
|
1425
|
+
@WorkType = worktype
|
1426
|
+
@WorkCategory = workcategory
|
1427
|
+
@TortId = tortid
|
1428
|
+
@TortNum = tortnum
|
1429
|
+
@ObtainStatus = obtainstatus
|
1430
|
+
@ObtainNote = obtainnote
|
1431
|
+
@ObtainDuration = obtainduration
|
1432
|
+
@ObtainName = obtainname
|
1433
|
+
@RequestId = requestid
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
def deserialize(params)
|
1437
|
+
@WorkName = params['WorkName']
|
1438
|
+
@TortURL = params['TortURL']
|
1439
|
+
@ObtainTime = params['ObtainTime']
|
1440
|
+
@ObtainType = params['ObtainType']
|
1441
|
+
@ObtainNum = params['ObtainNum']
|
1442
|
+
@DepositFile = params['DepositFile']
|
1443
|
+
@DepositCert = params['DepositCert']
|
1444
|
+
@WorkType = params['WorkType']
|
1445
|
+
@WorkCategory = params['WorkCategory']
|
1446
|
+
@TortId = params['TortId']
|
1447
|
+
@TortNum = params['TortNum']
|
1448
|
+
@ObtainStatus = params['ObtainStatus']
|
1449
|
+
@ObtainNote = params['ObtainNote']
|
1450
|
+
@ObtainDuration = params['ObtainDuration']
|
1451
|
+
@ObtainName = params['ObtainName']
|
1452
|
+
@RequestId = params['RequestId']
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
1328
1456
|
# DescribeCRWorkInfo请求参数结构体
|
1329
1457
|
class DescribeCRWorkInfoRequest < TencentCloud::Common::AbstractModel
|
1330
1458
|
# @param WorkId: 作品ID
|
@@ -1688,7 +1816,7 @@ module TencentCloud
|
|
1688
1816
|
class ModifyCRObtainStatusRequest < TencentCloud::Common::AbstractModel
|
1689
1817
|
# @param TortId: 侵权ID
|
1690
1818
|
# @type TortId: Integer
|
1691
|
-
# @param ObtainType: 取证类型:1-网页取证 2-过程取证
|
1819
|
+
# @param ObtainType: 取证类型:1-网页取证 2-过程取证(暂不提供)
|
1692
1820
|
# @type ObtainType: Integer
|
1693
1821
|
# @param ObtainDuration: 过程取证的取证时长,单位分钟,范围0-120
|
1694
1822
|
# @type ObtainDuration: Integer
|
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.
|
4
|
+
version: 3.0.432
|
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-10-
|
11
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|