tencentcloud-sdk-bma 3.0.548 → 3.0.550
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 +0 -26
- data/lib/v20210624/models.rb +0 -72
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7671d1873dcb46b0b429e52f13de1c8a9bb3a131
|
4
|
+
data.tar.gz: a1778b7d9eb52e83d011d9e91ec2af93ac3c5e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 370bb51768dbd68ffc31c929fc88276f544d854eec6e922eefa04a84d530f05eaaf11d88514fe5d9fc0c6c278ae3ed55df573b5d0d79be68f0b6b5f5883690f4
|
7
|
+
data.tar.gz: c3d291bb1a288b8a1bdb17f3982303881e254a0e02e4157794e02a030b5ce408c2b5cb841ce47404a1a7a12fea469ec440c29ceae3785648a45bf918c1c2968c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.550
|
data/lib/v20210624/client.rb
CHANGED
@@ -221,32 +221,6 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
-
# 不对外提供接口能力了
|
225
|
-
|
226
|
-
# 版权保护-新建取证接口
|
227
|
-
|
228
|
-
# @param request: Request instance for CreateCRObtain.
|
229
|
-
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRObtainRequest`
|
230
|
-
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRObtainResponse`
|
231
|
-
def CreateCRObtain(request)
|
232
|
-
body = send_request('CreateCRObtain', request.serialize)
|
233
|
-
response = JSON.parse(body)
|
234
|
-
if response['Response'].key?('Error') == false
|
235
|
-
model = CreateCRObtainResponse.new
|
236
|
-
model.deserialize(response['Response'])
|
237
|
-
model
|
238
|
-
else
|
239
|
-
code = response['Response']['Error']['Code']
|
240
|
-
message = response['Response']['Error']['Message']
|
241
|
-
reqid = response['Response']['RequestId']
|
242
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
243
|
-
end
|
244
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
245
|
-
raise e
|
246
|
-
rescue StandardError => e
|
247
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
248
|
-
end
|
249
|
-
|
250
224
|
# 版权保护-新建发函接口
|
251
225
|
|
252
226
|
# @param request: Request instance for CreateCRRight.
|
data/lib/v20210624/models.rb
CHANGED
@@ -461,78 +461,6 @@ module TencentCloud
|
|
461
461
|
end
|
462
462
|
end
|
463
463
|
|
464
|
-
# CreateCRObtain请求参数结构体
|
465
|
-
class CreateCRObtainRequest < TencentCloud::Common::AbstractModel
|
466
|
-
# @param WorkId: 已存证的作品ID
|
467
|
-
# @type WorkId: Integer
|
468
|
-
# @param TortUrl: 侵权链接
|
469
|
-
# @type TortUrl: String
|
470
|
-
# @param ObtainType: 取证类型 1-网页取证 2-过程取证
|
471
|
-
# @type ObtainType: Integer
|
472
|
-
# @param WorkTitle: 侵权标题
|
473
|
-
# @type WorkTitle: String
|
474
|
-
# @param TortPlat: 侵权平台
|
475
|
-
# @type TortPlat: String
|
476
|
-
# @param ObtainDuration: 过程取证的取证时长 6-300分钟
|
477
|
-
# @type ObtainDuration: Integer
|
478
|
-
# @param ObtainUrl: 取证回调地址
|
479
|
-
# @type ObtainUrl: String
|
480
|
-
# @param WorkCategory: xxx
|
481
|
-
# @type WorkCategory: String
|
482
|
-
# @param WorkType: xxx
|
483
|
-
# @type WorkType: String
|
484
|
-
|
485
|
-
attr_accessor :WorkId, :TortUrl, :ObtainType, :WorkTitle, :TortPlat, :ObtainDuration, :ObtainUrl, :WorkCategory, :WorkType
|
486
|
-
|
487
|
-
def initialize(workid=nil, torturl=nil, obtaintype=nil, worktitle=nil, tortplat=nil, obtainduration=nil, obtainurl=nil, workcategory=nil, worktype=nil)
|
488
|
-
@WorkId = workid
|
489
|
-
@TortUrl = torturl
|
490
|
-
@ObtainType = obtaintype
|
491
|
-
@WorkTitle = worktitle
|
492
|
-
@TortPlat = tortplat
|
493
|
-
@ObtainDuration = obtainduration
|
494
|
-
@ObtainUrl = obtainurl
|
495
|
-
@WorkCategory = workcategory
|
496
|
-
@WorkType = worktype
|
497
|
-
end
|
498
|
-
|
499
|
-
def deserialize(params)
|
500
|
-
@WorkId = params['WorkId']
|
501
|
-
@TortUrl = params['TortUrl']
|
502
|
-
@ObtainType = params['ObtainType']
|
503
|
-
@WorkTitle = params['WorkTitle']
|
504
|
-
@TortPlat = params['TortPlat']
|
505
|
-
@ObtainDuration = params['ObtainDuration']
|
506
|
-
@ObtainUrl = params['ObtainUrl']
|
507
|
-
@WorkCategory = params['WorkCategory']
|
508
|
-
@WorkType = params['WorkType']
|
509
|
-
end
|
510
|
-
end
|
511
|
-
|
512
|
-
# CreateCRObtain返回参数结构体
|
513
|
-
class CreateCRObtainResponse < TencentCloud::Common::AbstractModel
|
514
|
-
# @param TortId: 侵权ID
|
515
|
-
# @type TortId: Integer
|
516
|
-
# @param TortNum: xxx
|
517
|
-
# @type TortNum: String
|
518
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
519
|
-
# @type RequestId: String
|
520
|
-
|
521
|
-
attr_accessor :TortId, :TortNum, :RequestId
|
522
|
-
|
523
|
-
def initialize(tortid=nil, tortnum=nil, requestid=nil)
|
524
|
-
@TortId = tortid
|
525
|
-
@TortNum = tortnum
|
526
|
-
@RequestId = requestid
|
527
|
-
end
|
528
|
-
|
529
|
-
def deserialize(params)
|
530
|
-
@TortId = params['TortId']
|
531
|
-
@TortNum = params['TortNum']
|
532
|
-
@RequestId = params['RequestId']
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
464
|
# CreateCRRightFile请求参数结构体
|
537
465
|
class CreateCRRightFileRequest < TencentCloud::Common::AbstractModel
|
538
466
|
# @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.
|
4
|
+
version: 3.0.550
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-bma.rb
|
37
36
|
- lib/v20210624/client.rb
|
38
37
|
- lib/v20210624/models.rb
|
39
38
|
- lib/v20221115/client.rb
|
40
39
|
- lib/v20221115/models.rb
|
40
|
+
- lib/tencentcloud-sdk-bma.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|