tencentcloud-sdk-iotexplorer 3.0.880 → 3.0.882
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/v20190423/models.rb +33 -4
- 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: 0172f39e21ba5a63347cdbc221cf500f785f293f
|
4
|
+
data.tar.gz: 52c142cf4d4eda58ea09d9aa9658996d1c38b13d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09178c8221f23c0482143d64e24b439b74833e99f909d8042de9a9e17fd1b965cc20c156e09a19547af0b2ae8a6bb34aece402ef22158e062a617fc970f80521
|
7
|
+
data.tar.gz: b9cb28ee225a6ef8df3a00272666b89895c5271ef6986cf30cbdf350168f6670bf7f7be46d65f00759279c819788290a493006be8db1c60f04467d8c4424b108
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.882
|
data/lib/v20190423/models.rb
CHANGED
@@ -53,13 +53,21 @@ module TencentCloud
|
|
53
53
|
# @param DeviceList: 设备激活返回数据
|
54
54
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
55
55
|
# @type DeviceList: Array
|
56
|
+
# @param FailureList: 设备激活失败返回数据
|
57
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
58
|
+
# @type FailureList: Array
|
59
|
+
# @param SuccessList: 设备激活成功返回数据
|
60
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
61
|
+
# @type SuccessList: Array
|
56
62
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
57
63
|
# @type RequestId: String
|
58
64
|
|
59
|
-
attr_accessor :DeviceList, :RequestId
|
65
|
+
attr_accessor :DeviceList, :FailureList, :SuccessList, :RequestId
|
60
66
|
|
61
|
-
def initialize(devicelist=nil, requestid=nil)
|
67
|
+
def initialize(devicelist=nil, failurelist=nil, successlist=nil, requestid=nil)
|
62
68
|
@DeviceList = devicelist
|
69
|
+
@FailureList = failurelist
|
70
|
+
@SuccessList = successlist
|
63
71
|
@RequestId = requestid
|
64
72
|
end
|
65
73
|
|
@@ -72,6 +80,22 @@ module TencentCloud
|
|
72
80
|
@DeviceList << deviceactiveresult_tmp
|
73
81
|
end
|
74
82
|
end
|
83
|
+
unless params['FailureList'].nil?
|
84
|
+
@FailureList = []
|
85
|
+
params['FailureList'].each do |i|
|
86
|
+
deviceactiveresult_tmp = DeviceActiveResult.new
|
87
|
+
deviceactiveresult_tmp.deserialize(i)
|
88
|
+
@FailureList << deviceactiveresult_tmp
|
89
|
+
end
|
90
|
+
end
|
91
|
+
unless params['SuccessList'].nil?
|
92
|
+
@SuccessList = []
|
93
|
+
params['SuccessList'].each do |i|
|
94
|
+
deviceactiveresult_tmp = DeviceActiveResult.new
|
95
|
+
deviceactiveresult_tmp.deserialize(i)
|
96
|
+
@SuccessList << deviceactiveresult_tmp
|
97
|
+
end
|
98
|
+
end
|
75
99
|
@RequestId = params['RequestId']
|
76
100
|
end
|
77
101
|
end
|
@@ -4808,19 +4832,24 @@ module TencentCloud
|
|
4808
4832
|
# @param ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
|
4809
4833
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4810
4834
|
# @type ErrCode: Integer
|
4835
|
+
# @param ExpireTime: 过期时间
|
4836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4837
|
+
# @type ExpireTime: Integer
|
4811
4838
|
|
4812
|
-
attr_accessor :ModelId, :Sn, :ErrCode
|
4839
|
+
attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
|
4813
4840
|
|
4814
|
-
def initialize(modelid=nil, sn=nil, errcode=nil)
|
4841
|
+
def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
|
4815
4842
|
@ModelId = modelid
|
4816
4843
|
@Sn = sn
|
4817
4844
|
@ErrCode = errcode
|
4845
|
+
@ExpireTime = expiretime
|
4818
4846
|
end
|
4819
4847
|
|
4820
4848
|
def deserialize(params)
|
4821
4849
|
@ModelId = params['ModelId']
|
4822
4850
|
@Sn = params['Sn']
|
4823
4851
|
@ErrCode = params['ErrCode']
|
4852
|
+
@ExpireTime = params['ExpireTime']
|
4824
4853
|
end
|
4825
4854
|
end
|
4826
4855
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.882
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|