tencentcloud-sdk-ccc 3.0.474 → 3.0.475
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 +36 -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: f9d5e002ca65b54bf7656bf594f2d4d946a017ea
|
4
|
+
data.tar.gz: a47240e78a1e723f43f83037f40a66b073b93252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fea602eebe66d1fb45ffc51408422f49a737677b5064f46219c8f67fd71b1a8733d425fb6f5a48a7f52b465af02faafad4bcb9fe576ce5f912b3d196eced81f
|
7
|
+
data.tar.gz: fcbd45defb07e74575be9cfb8691705023ad0f69dfcbe26bb14084e8d9d496b98ccfddc4a9cedfb9410e857cca77e1891bb0e27087e2d684dee1a9453ba6b4c6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.475
|
data/lib/v20200210/client.rb
CHANGED
@@ -749,6 +749,30 @@ module TencentCloud
|
|
749
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
750
|
end
|
751
751
|
|
752
|
+
# 挂断电话
|
753
|
+
|
754
|
+
# @param request: Request instance for HangUpCall.
|
755
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::HangUpCallRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::HangUpCallResponse`
|
757
|
+
def HangUpCall(request)
|
758
|
+
body = send_request('HangUpCall', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = HangUpCallResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
752
776
|
# 修改话机账号(绑定技能组、绑定坐席账号)
|
753
777
|
|
754
778
|
# @param request: Request instance for ModifyExtension.
|
data/lib/v20200210/models.rb
CHANGED
@@ -2105,6 +2105,42 @@ module TencentCloud
|
|
2105
2105
|
end
|
2106
2106
|
end
|
2107
2107
|
|
2108
|
+
# HangUpCall请求参数结构体
|
2109
|
+
class HangUpCallRequest < TencentCloud::Common::AbstractModel
|
2110
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
2111
|
+
# @type SdkAppId: Integer
|
2112
|
+
# @param SessionId: 会话ID
|
2113
|
+
# @type SessionId: String
|
2114
|
+
|
2115
|
+
attr_accessor :SdkAppId, :SessionId
|
2116
|
+
|
2117
|
+
def initialize(sdkappid=nil, sessionid=nil)
|
2118
|
+
@SdkAppId = sdkappid
|
2119
|
+
@SessionId = sessionid
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
def deserialize(params)
|
2123
|
+
@SdkAppId = params['SdkAppId']
|
2124
|
+
@SessionId = params['SessionId']
|
2125
|
+
end
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
# HangUpCall返回参数结构体
|
2129
|
+
class HangUpCallResponse < TencentCloud::Common::AbstractModel
|
2130
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2131
|
+
# @type RequestId: String
|
2132
|
+
|
2133
|
+
attr_accessor :RequestId
|
2134
|
+
|
2135
|
+
def initialize(requestid=nil)
|
2136
|
+
@RequestId = requestid
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
def deserialize(params)
|
2140
|
+
@RequestId = params['RequestId']
|
2141
|
+
end
|
2142
|
+
end
|
2143
|
+
|
2108
2144
|
# 文本会话服务记录信息
|
2109
2145
|
class IMCdrInfo < TencentCloud::Common::AbstractModel
|
2110
2146
|
# @param Id: 服务记录ID
|
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.475
|
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-12-
|
11
|
+
date: 2022-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|