tencentcloud-sdk-bma 3.0.388 → 3.0.389
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210624/client.rb +24 -0
- data/lib/v20210624/models.rb +56 -0
- 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: 172d47de10aa80204a8ac3a711b33e2370ac031a
|
4
|
+
data.tar.gz: 916d7a2c90e372b0a7d041881ce083436a88e439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b9170f789a1d89e73f730166312888145eb657d921b72b20e96200d1cbfe6e5b84aea00b007e1dccb7f4aaa0fb6a8b5f200124973d0d9bdd11a5999bd60b2d
|
7
|
+
data.tar.gz: 2c469db1d8d8901ce7073c10cc7f4877a4abb1bcda5eb58e20ef5a74f77209f841a06d23cef75d77c9471c0cc3255d1be8013306c8fd2780431e82e676dcf4af
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.389
|
data/lib/v20210624/client.rb
CHANGED
@@ -221,6 +221,30 @@ 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 CreateCRUserVerify.
|
227
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRUserVerifyRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRUserVerifyResponse`
|
229
|
+
def CreateCRUserVerify(request)
|
230
|
+
body = send_request('CreateCRUserVerify', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = CreateCRUserVerifyResponse.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
|
+
|
224
248
|
# 版权保护-添加作品接口
|
225
249
|
|
226
250
|
# @param request: Request instance for CreateCRWork.
|
data/lib/v20210624/models.rb
CHANGED
@@ -509,6 +509,62 @@ module TencentCloud
|
|
509
509
|
end
|
510
510
|
end
|
511
511
|
|
512
|
+
# CreateCRUserVerify请求参数结构体
|
513
|
+
class CreateCRUserVerifyRequest < TencentCloud::Common::AbstractModel
|
514
|
+
# @param UserName: 用户真实姓名
|
515
|
+
# @type UserName: String
|
516
|
+
# @param UserID: 用户身份证ID
|
517
|
+
# @type UserID: String
|
518
|
+
# @param UserPhone: 用户手机号码
|
519
|
+
# @type UserPhone: String
|
520
|
+
# @param VerificationCode: 短信验证码
|
521
|
+
# @type VerificationCode: String
|
522
|
+
# @param Type: xxx
|
523
|
+
# @type Type: String
|
524
|
+
|
525
|
+
attr_accessor :UserName, :UserID, :UserPhone, :VerificationCode, :Type
|
526
|
+
|
527
|
+
def initialize(username=nil, userid=nil, userphone=nil, verificationcode=nil, type=nil)
|
528
|
+
@UserName = username
|
529
|
+
@UserID = userid
|
530
|
+
@UserPhone = userphone
|
531
|
+
@VerificationCode = verificationcode
|
532
|
+
@Type = type
|
533
|
+
end
|
534
|
+
|
535
|
+
def deserialize(params)
|
536
|
+
@UserName = params['UserName']
|
537
|
+
@UserID = params['UserID']
|
538
|
+
@UserPhone = params['UserPhone']
|
539
|
+
@VerificationCode = params['VerificationCode']
|
540
|
+
@Type = params['Type']
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
# CreateCRUserVerify返回参数结构体
|
545
|
+
class CreateCRUserVerifyResponse < TencentCloud::Common::AbstractModel
|
546
|
+
# @param Status: 认证状态 0-认证成功 1-认证失败
|
547
|
+
# @type Status: Integer
|
548
|
+
# @param Note: 认证结果返回
|
549
|
+
# @type Note: String
|
550
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
551
|
+
# @type RequestId: String
|
552
|
+
|
553
|
+
attr_accessor :Status, :Note, :RequestId
|
554
|
+
|
555
|
+
def initialize(status=nil, note=nil, requestid=nil)
|
556
|
+
@Status = status
|
557
|
+
@Note = note
|
558
|
+
@RequestId = requestid
|
559
|
+
end
|
560
|
+
|
561
|
+
def deserialize(params)
|
562
|
+
@Status = params['Status']
|
563
|
+
@Note = params['Note']
|
564
|
+
@RequestId = params['RequestId']
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
512
568
|
# CreateCRWork请求参数结构体
|
513
569
|
class CreateCRWorkRequest < TencentCloud::Common::AbstractModel
|
514
570
|
# @param WorkName: 作品名称
|
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.389
|
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-08-
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|