tencentcloud-sdk-iotexplorer 3.0.879 → 3.0.881
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/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: 4ee081177976035c0062a3a0a234e11eb22c9a19
|
4
|
+
data.tar.gz: cbe8bf5d6009a4fbe2ea56d81a6eb31c72380a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25b4d0dc338eb7afa0f47fadebcf09989bb608816357660703f177f7000860ab328b370cd962de5262aa46a08ba88800a77069cc7ba59e6777d9d4805b7d28bc
|
7
|
+
data.tar.gz: 61759cf049b34985a38d18124358778db53b29fc492dbc91489d43c75ee81f017ee8f22afd96662622be77875143d6c7177643f55be61e639d34dc4edf09d4f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.881
|
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.881
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|