tencentcloud-sdk-mna 3.0.452 → 3.0.453
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/v20210119/models.rb +14 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23822e1bda8e5d1c0faff3d0ac2a2f14418458fc
|
4
|
+
data.tar.gz: 3f17418f46647cc1ea38af42b0f59693306a2637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a11cc02de8e4966a2f9855b3f7c2f6459a37159a95a362fda33eb5c3d662836f68a47e92f1f2ed87c5093ce2d6871b19338f793d7caad660dc38876179296f7
|
7
|
+
data.tar.gz: c5b9d93dcdf3b29d9ed2e89df2d9ac1ac5a54e42a19147bd762042b8551ffa4a96f20f22f1e2398b567b0985aa9f0a6225a2673661ce33703779a2789433706f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.453
|
data/lib/v20210119/models.rb
CHANGED
@@ -25,42 +25,51 @@ module TencentCloud
|
|
25
25
|
# @type Remark: String
|
26
26
|
# @param DataKey: 新建设备的base64密钥字符串,非必选,如果不填写则由系统自动生成
|
27
27
|
# @type DataKey: String
|
28
|
+
# @param Encrypted: 是否设置预置密钥
|
29
|
+
# @type Encrypted: Boolean
|
28
30
|
|
29
|
-
attr_accessor :DeviceName, :Remark, :DataKey
|
31
|
+
attr_accessor :DeviceName, :Remark, :DataKey, :Encrypted
|
30
32
|
|
31
|
-
def initialize(devicename=nil, remark=nil, datakey=nil)
|
33
|
+
def initialize(devicename=nil, remark=nil, datakey=nil, encrypted=nil)
|
32
34
|
@DeviceName = devicename
|
33
35
|
@Remark = remark
|
34
36
|
@DataKey = datakey
|
37
|
+
@Encrypted = encrypted
|
35
38
|
end
|
36
39
|
|
37
40
|
def deserialize(params)
|
38
41
|
@DeviceName = params['DeviceName']
|
39
42
|
@Remark = params['Remark']
|
40
43
|
@DataKey = params['DataKey']
|
44
|
+
@Encrypted = params['Encrypted']
|
41
45
|
end
|
42
46
|
end
|
43
47
|
|
44
48
|
# AddDevice返回参数结构体
|
45
49
|
class AddDeviceResponse < TencentCloud::Common::AbstractModel
|
46
|
-
# @param DataKey:
|
50
|
+
# @param DataKey: 经过加密算法加密后的base64格式密钥
|
47
51
|
# @type DataKey: String
|
48
52
|
# @param DeviceId: 设备ID
|
49
53
|
# @type DeviceId: String
|
54
|
+
# @param Signature: 签名字符串
|
55
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
56
|
+
# @type Signature: String
|
50
57
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
51
58
|
# @type RequestId: String
|
52
59
|
|
53
|
-
attr_accessor :DataKey, :DeviceId, :RequestId
|
60
|
+
attr_accessor :DataKey, :DeviceId, :Signature, :RequestId
|
54
61
|
|
55
|
-
def initialize(datakey=nil, deviceid=nil, requestid=nil)
|
62
|
+
def initialize(datakey=nil, deviceid=nil, signature=nil, requestid=nil)
|
56
63
|
@DataKey = datakey
|
57
64
|
@DeviceId = deviceid
|
65
|
+
@Signature = signature
|
58
66
|
@RequestId = requestid
|
59
67
|
end
|
60
68
|
|
61
69
|
def deserialize(params)
|
62
70
|
@DataKey = params['DataKey']
|
63
71
|
@DeviceId = params['DeviceId']
|
72
|
+
@Signature = params['Signature']
|
64
73
|
@RequestId = params['RequestId']
|
65
74
|
end
|
66
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.453
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20210119/models.rb
|
37
36
|
- lib/v20210119/client.rb
|
37
|
+
- lib/v20210119/models.rb
|
38
38
|
- lib/tencentcloud-sdk-mna.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|