tencentcloud-sdk-ccc 3.0.630 → 3.0.631
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/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: ed1b024ab5320536370a74d33b069decca9e6bc7
|
4
|
+
data.tar.gz: eea8f9ff367d3c860798f093e3a080993325f49a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee10c080c581c1165da7cdd737eb83b392b184d556cf1ae233ceaaf0795b108a2a48b78b8ef30bf0b3f70dbe4df4ef0366390ffa4a175485cc6d0ce3606dbc7
|
7
|
+
data.tar.gz: c178528ae3d68477ca97272a7071614d2471304db0e72018d55fc9c70c1cb7411ea95aa71ffde6a8080a8e96e18bb114219f3a907112fe8fa02f665206c7e247
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.631
|
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.631
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|