tencentcloud-sdk-ccc 3.0.675 → 3.0.676
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 +91 -2
- 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: c13f503c0990c85a01dcdb2c9b15ee253fe47334
|
4
|
+
data.tar.gz: 9b07102c020de5eeb74b855cdf66adcc4fe52bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 816b2adb3044d7646fd61ea39ac3aeeef15c3c7a44629f114683545d0f01899ed3d588a8a11f371a9edbcf258d937f0b1d6f40810cf79e4989e2cfbd4bba0da3
|
7
|
+
data.tar.gz: 1c49c1030eb11264eab8267f3060038edb98e6c5f1828f54b7c2093415c69069d3650f6e8a49771272a789ce3eda8534a59570beccce146658500f6d5cfcf550
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.676
|
data/lib/v20200210/client.rb
CHANGED
@@ -561,6 +561,30 @@ module TencentCloud
|
|
561
561
|
|
562
562
|
# 获取包括全媒体和文本会话两种类型的服务记录。
|
563
563
|
|
564
|
+
# @param request: Request instance for DescribeIMCdrList.
|
565
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrListRequest`
|
566
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrListResponse`
|
567
|
+
def DescribeIMCdrList(request)
|
568
|
+
body = send_request('DescribeIMCdrList', request.serialize)
|
569
|
+
response = JSON.parse(body)
|
570
|
+
if response['Response'].key?('Error') == false
|
571
|
+
model = DescribeIMCdrListResponse.new
|
572
|
+
model.deserialize(response['Response'])
|
573
|
+
model
|
574
|
+
else
|
575
|
+
code = response['Response']['Error']['Code']
|
576
|
+
message = response['Response']['Error']['Message']
|
577
|
+
reqid = response['Response']['RequestId']
|
578
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
579
|
+
end
|
580
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
581
|
+
raise e
|
582
|
+
rescue StandardError => e
|
583
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
584
|
+
end
|
585
|
+
|
586
|
+
# 获取包括全媒体和文本会话两种类型的服务记录。
|
587
|
+
|
564
588
|
# @param request: Request instance for DescribeIMCdrs.
|
565
589
|
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrsRequest`
|
566
590
|
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrsResponse`
|
data/lib/v20200210/models.rb
CHANGED
@@ -1405,6 +1405,9 @@ module TencentCloud
|
|
1405
1405
|
# @type SessionId: String
|
1406
1406
|
|
1407
1407
|
attr_accessor :InstanceId, :SdkAppId, :CdrId, :Limit, :Offset, :Order, :SessionId
|
1408
|
+
extend Gem::Deprecate
|
1409
|
+
deprecate :InstanceId, :none, 2023, 10
|
1410
|
+
deprecate :InstanceId=, :none, 2023, 10
|
1408
1411
|
|
1409
1412
|
def initialize(instanceid=nil, sdkappid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
|
1410
1413
|
@InstanceId = instanceid
|
@@ -1582,6 +1585,74 @@ module TencentCloud
|
|
1582
1585
|
end
|
1583
1586
|
end
|
1584
1587
|
|
1588
|
+
# DescribeIMCdrList请求参数结构体
|
1589
|
+
class DescribeIMCdrListRequest < TencentCloud::Common::AbstractModel
|
1590
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
1591
|
+
# @type SdkAppId: Integer
|
1592
|
+
# @param StartTimestamp: 起始时间(必填),Unix 秒级时间戳
|
1593
|
+
# @type StartTimestamp: Integer
|
1594
|
+
# @param EndTimestamp: 结束时间(必填),Unix 秒级时间戳
|
1595
|
+
# @type EndTimestamp: Integer
|
1596
|
+
# @param Limit: 返回记录条数,最大为100默认20
|
1597
|
+
# @type Limit: Integer
|
1598
|
+
# @param Offset: 返回记录偏移,默认为 0
|
1599
|
+
# @type Offset: Integer
|
1600
|
+
# @param Type: 1为全媒体,2为文本客服,不填则查询全部
|
1601
|
+
# @type Type: Integer
|
1602
|
+
|
1603
|
+
attr_accessor :SdkAppId, :StartTimestamp, :EndTimestamp, :Limit, :Offset, :Type
|
1604
|
+
|
1605
|
+
def initialize(sdkappid=nil, starttimestamp=nil, endtimestamp=nil, limit=nil, offset=nil, type=nil)
|
1606
|
+
@SdkAppId = sdkappid
|
1607
|
+
@StartTimestamp = starttimestamp
|
1608
|
+
@EndTimestamp = endtimestamp
|
1609
|
+
@Limit = limit
|
1610
|
+
@Offset = offset
|
1611
|
+
@Type = type
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
def deserialize(params)
|
1615
|
+
@SdkAppId = params['SdkAppId']
|
1616
|
+
@StartTimestamp = params['StartTimestamp']
|
1617
|
+
@EndTimestamp = params['EndTimestamp']
|
1618
|
+
@Limit = params['Limit']
|
1619
|
+
@Offset = params['Offset']
|
1620
|
+
@Type = params['Type']
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# DescribeIMCdrList返回参数结构体
|
1625
|
+
class DescribeIMCdrListResponse < TencentCloud::Common::AbstractModel
|
1626
|
+
# @param TotalCount: 总记录数
|
1627
|
+
# @type TotalCount: Integer
|
1628
|
+
# @param IMCdrList: 服务记录列表
|
1629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1630
|
+
# @type IMCdrList: Array
|
1631
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1632
|
+
# @type RequestId: String
|
1633
|
+
|
1634
|
+
attr_accessor :TotalCount, :IMCdrList, :RequestId
|
1635
|
+
|
1636
|
+
def initialize(totalcount=nil, imcdrlist=nil, requestid=nil)
|
1637
|
+
@TotalCount = totalcount
|
1638
|
+
@IMCdrList = imcdrlist
|
1639
|
+
@RequestId = requestid
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
def deserialize(params)
|
1643
|
+
@TotalCount = params['TotalCount']
|
1644
|
+
unless params['IMCdrList'].nil?
|
1645
|
+
@IMCdrList = []
|
1646
|
+
params['IMCdrList'].each do |i|
|
1647
|
+
imcdrinfo_tmp = IMCdrInfo.new
|
1648
|
+
imcdrinfo_tmp.deserialize(i)
|
1649
|
+
@IMCdrList << imcdrinfo_tmp
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
@RequestId = params['RequestId']
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1585
1656
|
# DescribeIMCdrs请求参数结构体
|
1586
1657
|
class DescribeIMCdrsRequest < TencentCloud::Common::AbstractModel
|
1587
1658
|
# @param StartTimestamp: 起始时间(必填),Unix 秒级时间戳
|
@@ -1600,6 +1671,9 @@ module TencentCloud
|
|
1600
1671
|
# @type Type: Integer
|
1601
1672
|
|
1602
1673
|
attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
|
1674
|
+
extend Gem::Deprecate
|
1675
|
+
deprecate :InstanceId, :none, 2023, 10
|
1676
|
+
deprecate :InstanceId=, :none, 2023, 10
|
1603
1677
|
|
1604
1678
|
def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
|
1605
1679
|
@StartTimestamp = starttimestamp
|
@@ -1628,14 +1702,21 @@ module TencentCloud
|
|
1628
1702
|
# @type TotalCount: Integer
|
1629
1703
|
# @param IMCdrs: 服务记录列表
|
1630
1704
|
# @type IMCdrs: Array
|
1705
|
+
# @param IMCdrList: 服务记录列表
|
1706
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1707
|
+
# @type IMCdrList: Array
|
1631
1708
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1632
1709
|
# @type RequestId: String
|
1633
1710
|
|
1634
|
-
attr_accessor :TotalCount, :IMCdrs, :RequestId
|
1711
|
+
attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
|
1712
|
+
extend Gem::Deprecate
|
1713
|
+
deprecate :IMCdrs, :none, 2023, 10
|
1714
|
+
deprecate :IMCdrs=, :none, 2023, 10
|
1635
1715
|
|
1636
|
-
def initialize(totalcount=nil, imcdrs=nil, requestid=nil)
|
1716
|
+
def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
|
1637
1717
|
@TotalCount = totalcount
|
1638
1718
|
@IMCdrs = imcdrs
|
1719
|
+
@IMCdrList = imcdrlist
|
1639
1720
|
@RequestId = requestid
|
1640
1721
|
end
|
1641
1722
|
|
@@ -1649,6 +1730,14 @@ module TencentCloud
|
|
1649
1730
|
@IMCdrs << imcdrinfo_tmp
|
1650
1731
|
end
|
1651
1732
|
end
|
1733
|
+
unless params['IMCdrList'].nil?
|
1734
|
+
@IMCdrList = []
|
1735
|
+
params['IMCdrList'].each do |i|
|
1736
|
+
imcdrinfo_tmp = IMCdrInfo.new
|
1737
|
+
imcdrinfo_tmp.deserialize(i)
|
1738
|
+
@IMCdrList << imcdrinfo_tmp
|
1739
|
+
end
|
1740
|
+
end
|
1652
1741
|
@RequestId = params['RequestId']
|
1653
1742
|
end
|
1654
1743
|
end
|
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.676
|
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-10-
|
11
|
+
date: 2023-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|