tencentcloud-sdk-iotvideo 3.0.978 → 3.0.979
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/v20211125/client.rb +24 -0
- data/lib/v20211125/models.rb +66 -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: 8406c0172fd7c513cd8b5cfdeb71b0305d2ef136
|
4
|
+
data.tar.gz: 013bd7fbc06a32105bb0868717aae5de1e260501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e86486e1bbcef908b96d0a92f4169907504ffb0b2b953bd134afdee01e14e61e1ae45452da72f264af9f2ce94cf793b031d3b81288eb87cd7ebfd8656ac2c457
|
7
|
+
data.tar.gz: b006c3b280bf8971430ba120b0aa6aba6a85aef60dfecc8680d0992c30f1ac1bc7990d07f3be2a6ce3d0007fbd651ec5a008d0a7cbdde896bcc08e224464d15c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.979
|
data/lib/v20211125/client.rb
CHANGED
@@ -1613,6 +1613,30 @@ module TencentCloud
|
|
1613
1613
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1614
1614
|
end
|
1615
1615
|
|
1616
|
+
# 查询云存卡套餐信息
|
1617
|
+
|
1618
|
+
# @param request: Request instance for DescribeFreeCloudStorageNum.
|
1619
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeFreeCloudStorageNumRequest`
|
1620
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeFreeCloudStorageNumResponse`
|
1621
|
+
def DescribeFreeCloudStorageNum(request)
|
1622
|
+
body = send_request('DescribeFreeCloudStorageNum', request.serialize)
|
1623
|
+
response = JSON.parse(body)
|
1624
|
+
if response['Response'].key?('Error') == false
|
1625
|
+
model = DescribeFreeCloudStorageNumResponse.new
|
1626
|
+
model.deserialize(response['Response'])
|
1627
|
+
model
|
1628
|
+
else
|
1629
|
+
code = response['Response']['Error']['Code']
|
1630
|
+
message = response['Response']['Error']['Message']
|
1631
|
+
reqid = response['Response']['RequestId']
|
1632
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1633
|
+
end
|
1634
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1635
|
+
raise e
|
1636
|
+
rescue StandardError => e
|
1637
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
|
+
end
|
1639
|
+
|
1616
1640
|
# 查询设备消息数量统计
|
1617
1641
|
|
1618
1642
|
# @param request: Request instance for DescribeMessageDataStats.
|
data/lib/v20211125/models.rb
CHANGED
@@ -714,6 +714,34 @@ module TencentCloud
|
|
714
714
|
end
|
715
715
|
end
|
716
716
|
|
717
|
+
# 云存套餐包信息
|
718
|
+
class CloudStoragePackageInfo < TencentCloud::Common::AbstractModel
|
719
|
+
# @param PackageId: 套餐包id
|
720
|
+
# @type PackageId: String
|
721
|
+
# @param PackageName: 套餐包名字
|
722
|
+
# @type PackageName: String
|
723
|
+
# @param Num: 套餐包数量
|
724
|
+
# @type Num: Integer
|
725
|
+
# @param UsedNum: 已使用数量
|
726
|
+
# @type UsedNum: Integer
|
727
|
+
|
728
|
+
attr_accessor :PackageId, :PackageName, :Num, :UsedNum
|
729
|
+
|
730
|
+
def initialize(packageid=nil, packagename=nil, num=nil, usednum=nil)
|
731
|
+
@PackageId = packageid
|
732
|
+
@PackageName = packagename
|
733
|
+
@Num = num
|
734
|
+
@UsedNum = usednum
|
735
|
+
end
|
736
|
+
|
737
|
+
def deserialize(params)
|
738
|
+
@PackageId = params['PackageId']
|
739
|
+
@PackageName = params['PackageName']
|
740
|
+
@Num = params['Num']
|
741
|
+
@UsedNum = params['UsedNum']
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
717
745
|
# 云存时间轴接口返回数据
|
718
746
|
class CloudStorageTimeData < TencentCloud::Common::AbstractModel
|
719
747
|
# @param TimeList: 云存时间轴信息列表
|
@@ -4185,6 +4213,44 @@ module TencentCloud
|
|
4185
4213
|
end
|
4186
4214
|
end
|
4187
4215
|
|
4216
|
+
# DescribeFreeCloudStorageNum请求参数结构体
|
4217
|
+
class DescribeFreeCloudStorageNumRequest < TencentCloud::Common::AbstractModel
|
4218
|
+
|
4219
|
+
|
4220
|
+
def initialize()
|
4221
|
+
end
|
4222
|
+
|
4223
|
+
def deserialize(params)
|
4224
|
+
end
|
4225
|
+
end
|
4226
|
+
|
4227
|
+
# DescribeFreeCloudStorageNum返回参数结构体
|
4228
|
+
class DescribeFreeCloudStorageNumResponse < TencentCloud::Common::AbstractModel
|
4229
|
+
# @param PackageInfos: 套餐包信息
|
4230
|
+
# @type PackageInfos: Array
|
4231
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4232
|
+
# @type RequestId: String
|
4233
|
+
|
4234
|
+
attr_accessor :PackageInfos, :RequestId
|
4235
|
+
|
4236
|
+
def initialize(packageinfos=nil, requestid=nil)
|
4237
|
+
@PackageInfos = packageinfos
|
4238
|
+
@RequestId = requestid
|
4239
|
+
end
|
4240
|
+
|
4241
|
+
def deserialize(params)
|
4242
|
+
unless params['PackageInfos'].nil?
|
4243
|
+
@PackageInfos = []
|
4244
|
+
params['PackageInfos'].each do |i|
|
4245
|
+
cloudstoragepackageinfo_tmp = CloudStoragePackageInfo.new
|
4246
|
+
cloudstoragepackageinfo_tmp.deserialize(i)
|
4247
|
+
@PackageInfos << cloudstoragepackageinfo_tmp
|
4248
|
+
end
|
4249
|
+
end
|
4250
|
+
@RequestId = params['RequestId']
|
4251
|
+
end
|
4252
|
+
end
|
4253
|
+
|
4188
4254
|
# DescribeMessageDataStats请求参数结构体
|
4189
4255
|
class DescribeMessageDataStatsRequest < TencentCloud::Common::AbstractModel
|
4190
4256
|
# @param StartDate: 统计开始日期
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotvideo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.979
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|