tencentcloud-sdk-ccc 3.0.630 → 3.0.632
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/v20200210/client.rb +24 -0
- data/lib/v20200210/models.rb +40 -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: 3036ae77e8169bb9de8526c275573f507a3ce508
|
4
|
+
data.tar.gz: c8fef3362c498f08ca8ec3dbe8eba260ab852fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 253e0d8e30622666c77bb7bd5b1eba2ffd6ca06cd4d9a5be6dbc5caff61ea55bc69179352adebc1e5b7aa2ab5e24cd07fb66c8649bddef4277ca0f216f5ae6df
|
7
|
+
data.tar.gz: 841848f2402678dcf11d226575f641d4a39480ae93795c1d900d79c25c41a5804595b869411b69522b0e327092f7a9f7f0e8f3ab1c4307d2f7d843ba31baecf0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20200210/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 创建管理端访问链接
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateAdminURL.
|
83
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::CreateAdminURLRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::CreateAdminURLResponse`
|
85
|
+
def CreateAdminURL(request)
|
86
|
+
body = send_request('CreateAdminURL', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateAdminURLResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 创建自动外呼任务
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateAutoCalloutTask.
|
data/lib/v20200210/models.rb
CHANGED
@@ -387,6 +387,46 @@ module TencentCloud
|
|
387
387
|
end
|
388
388
|
end
|
389
389
|
|
390
|
+
# CreateAdminURL请求参数结构体
|
391
|
+
class CreateAdminURLRequest < TencentCloud::Common::AbstractModel
|
392
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
393
|
+
# @type SdkAppId: Integer
|
394
|
+
# @param SeatUserId: 管理员账号
|
395
|
+
# @type SeatUserId: String
|
396
|
+
|
397
|
+
attr_accessor :SdkAppId, :SeatUserId
|
398
|
+
|
399
|
+
def initialize(sdkappid=nil, seatuserid=nil)
|
400
|
+
@SdkAppId = sdkappid
|
401
|
+
@SeatUserId = seatuserid
|
402
|
+
end
|
403
|
+
|
404
|
+
def deserialize(params)
|
405
|
+
@SdkAppId = params['SdkAppId']
|
406
|
+
@SeatUserId = params['SeatUserId']
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# CreateAdminURL返回参数结构体
|
411
|
+
class CreateAdminURLResponse < TencentCloud::Common::AbstractModel
|
412
|
+
# @param URL: 登录链接
|
413
|
+
# @type URL: String
|
414
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
415
|
+
# @type RequestId: String
|
416
|
+
|
417
|
+
attr_accessor :URL, :RequestId
|
418
|
+
|
419
|
+
def initialize(url=nil, requestid=nil)
|
420
|
+
@URL = url
|
421
|
+
@RequestId = requestid
|
422
|
+
end
|
423
|
+
|
424
|
+
def deserialize(params)
|
425
|
+
@URL = params['URL']
|
426
|
+
@RequestId = params['RequestId']
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
390
430
|
# CreateAutoCalloutTask请求参数结构体
|
391
431
|
class CreateAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
|
392
432
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ccc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.632
|
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-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|