tencentcloud-sdk-iotexplorer 3.0.857 → 3.0.858

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190423/models.rb +42 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a934560f76bf387d2589be8cd1a48a8ce7c70f07
4
- data.tar.gz: 80b487984488c6d092386b51c5da453da1d3aa74
3
+ metadata.gz: c9e9faaf6aa0eab8bc0e5dc9a9cd228a5fdd37ea
4
+ data.tar.gz: d4aad88a1a587ff72e3d4f1b29dd02c69789093c
5
5
  SHA512:
6
- metadata.gz: 51a07e43881d527fad74d48814402710f2b9267ef2e99dee41db0136e545ee0cde8bba502fad827edc2bc7ec338b5b955e805a1c20f94e9a75154f7d21357138
7
- data.tar.gz: 7521ee8e256ddc80fec4d46e64ffcd7172f8266ff05b8968e39fd0cbb4201594a32c6f651122612c15725ebd4b5a8519057ddd69bc233f0b7ee6ae1658485898
6
+ metadata.gz: 6047417ea519bbe229146c580d1bfe2832e7b4e0f689a01cafdbc058735922842eb2a7e235974491441335dc8d1f566a06385ed3cc0a358fb2c4dd966d01b5a1
7
+ data.tar.gz: a429dfd76a8d4aa6f22df0791ad8f430fcdb62b22e773bb6f99e6229a96386a33b327e2488464996822f5647eb471007fdf4a95432c262b443ebfec346209926
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.857
1
+ 3.0.858
@@ -19,7 +19,7 @@ module TencentCloud
19
19
  module V20190423
20
20
  # ActivateTWeCallLicense请求参数结构体
21
21
  class ActivateTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
22
- # @param PkgType: TWecall类型: 1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
22
+ # @param PkgType: TWecall类型: 0-测试激活码; 1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
23
23
  # @type PkgType: Integer
24
24
  # @param MiniProgramAppId: appId
25
25
  # @type MiniProgramAppId: String
@@ -50,16 +50,28 @@ module TencentCloud
50
50
 
51
51
  # ActivateTWeCallLicense返回参数结构体
52
52
  class ActivateTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
53
+ # @param DeviceList: 设备激活返回数据
54
+ # 注意:此字段可能返回 null,表示取不到有效值。
55
+ # @type DeviceList: Array
53
56
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
54
57
  # @type RequestId: String
55
58
 
56
- attr_accessor :RequestId
59
+ attr_accessor :DeviceList, :RequestId
57
60
 
58
- def initialize(requestid=nil)
61
+ def initialize(devicelist=nil, requestid=nil)
62
+ @DeviceList = devicelist
59
63
  @RequestId = requestid
60
64
  end
61
65
 
62
66
  def deserialize(params)
67
+ unless params['DeviceList'].nil?
68
+ @DeviceList = []
69
+ params['DeviceList'].each do |i|
70
+ deviceactiveresult_tmp = DeviceActiveResult.new
71
+ deviceactiveresult_tmp.deserialize(i)
72
+ @DeviceList << deviceactiveresult_tmp
73
+ end
74
+ end
63
75
  @RequestId = params['RequestId']
64
76
  end
65
77
  end
@@ -4666,6 +4678,33 @@ module TencentCloud
4666
4678
  end
4667
4679
  end
4668
4680
 
4681
+ # 设备激活结果数据
4682
+ class DeviceActiveResult < TencentCloud::Common::AbstractModel
4683
+ # @param ModelId: 模版ID
4684
+ # 注意:此字段可能返回 null,表示取不到有效值。
4685
+ # @type ModelId: String
4686
+ # @param Sn: SN信息
4687
+ # 注意:此字段可能返回 null,表示取不到有效值。
4688
+ # @type Sn: String
4689
+ # @param ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
4690
+ # 注意:此字段可能返回 null,表示取不到有效值。
4691
+ # @type ErrCode: Integer
4692
+
4693
+ attr_accessor :ModelId, :Sn, :ErrCode
4694
+
4695
+ def initialize(modelid=nil, sn=nil, errcode=nil)
4696
+ @ModelId = modelid
4697
+ @Sn = sn
4698
+ @ErrCode = errcode
4699
+ end
4700
+
4701
+ def deserialize(params)
4702
+ @ModelId = params['ModelId']
4703
+ @Sn = params['Sn']
4704
+ @ErrCode = params['ErrCode']
4705
+ end
4706
+ end
4707
+
4669
4708
  # DeviceData
4670
4709
  class DeviceData < TencentCloud::Common::AbstractModel
4671
4710
  # @param DeviceCert: 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
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.857
4
+ version: 3.0.858
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-07-03 00:00:00.000000000 Z
11
+ date: 2024-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common