tencentcloud-sdk-mna 3.0.712 → 3.0.714

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c80d0998885d269a5c492e995c946a5d7de6b624
4
- data.tar.gz: 08cb701e0b09f7d75cac388dfb10b1df406868b4
3
+ metadata.gz: 34373704a819a6ded9611664fd47f068d1860fdd
4
+ data.tar.gz: 1878a8468f82c16f5e0f760cf43b81ec974e1201
5
5
  SHA512:
6
- metadata.gz: 653563833f374f05a43f4013abb8ae4956a177e5b865c4a1c024ae6b3f6cee9310811a1995e72a7d52f3c176074e8b5452b2dc8c3299115b5659fe724afeab6c
7
- data.tar.gz: 0a3fcdea08a9eb41f7e57eea5abb1b2c691b0ce15b818087e9b7f116df0a6d9553df1ebf17a36d59b378e08220aaa498f355dc314e8c1810a01e0b812b68f85a
6
+ metadata.gz: d29c82afd604141c1a793182d541e87a6e7354b4a35ab66ae37eda11d8e5baa6a21cf499e307d6b2b94bb1cd85068ac83f3e12f576030686312243975276b8ff
7
+ data.tar.gz: c28fa2ad32b0902043cea6900c75550a1558968c9ed8a4396373dacbad27d0a4f99ba4761e6bc0c6a642004973457d4a3a3df136885bf8215020d0e6f312d9d3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.712
1
+ 3.0.714
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 激活硬件设备
33
+
34
+ # @param request: Request instance for ActivateHardware.
35
+ # @type request: :class:`Tencentcloud::mna::V20210119::ActivateHardwareRequest`
36
+ # @rtype: :class:`Tencentcloud::mna::V20210119::ActivateHardwareResponse`
37
+ def ActivateHardware(request)
38
+ body = send_request('ActivateHardware', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ActivateHardwareResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 新建设备记录
33
57
 
34
58
  # @param request: Request instance for AddDevice.
@@ -53,6 +77,30 @@ module TencentCloud
53
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
78
  end
55
79
 
80
+ # 添加硬件设备,生成未激活的硬件设备,可支持批量添加
81
+
82
+ # @param request: Request instance for AddHardware.
83
+ # @type request: :class:`Tencentcloud::mna::V20210119::AddHardwareRequest`
84
+ # @rtype: :class:`Tencentcloud::mna::V20210119::AddHardwareResponse`
85
+ def AddHardware(request)
86
+ body = send_request('AddHardware', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AddHardwareResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 通过此接口设置和更新预置密钥
57
105
 
58
106
  # @param request: Request instance for CreateEncryptedKey.
@@ -245,6 +293,30 @@ module TencentCloud
245
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
294
  end
247
295
 
296
+ # 租户获取厂商硬件列表
297
+
298
+ # @param request: Request instance for GetHardwareList.
299
+ # @type request: :class:`Tencentcloud::mna::V20210119::GetHardwareListRequest`
300
+ # @rtype: :class:`Tencentcloud::mna::V20210119::GetHardwareListResponse`
301
+ def GetHardwareList(request)
302
+ body = send_request('GetHardwareList', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = GetHardwareListResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
248
320
  # 批量获取设备流量统计曲线
249
321
 
250
322
  # @param request: Request instance for GetMultiFlowStatistic.
@@ -341,6 +413,30 @@ module TencentCloud
341
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
414
  end
343
415
 
416
+ # 获取厂商硬件设备列表
417
+
418
+ # @param request: Request instance for GetVendorHardware.
419
+ # @type request: :class:`Tencentcloud::mna::V20210119::GetVendorHardwareRequest`
420
+ # @rtype: :class:`Tencentcloud::mna::V20210119::GetVendorHardwareResponse`
421
+ def GetVendorHardware(request)
422
+ body = send_request('GetVendorHardware', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = GetVendorHardwareResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
344
440
  # 更新设备信息
345
441
 
346
442
  # @param request: Request instance for UpdateDevice.
@@ -365,6 +461,30 @@ module TencentCloud
365
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
462
  end
367
463
 
464
+ # 更新硬件信息
465
+
466
+ # @param request: Request instance for UpdateHardware.
467
+ # @type request: :class:`Tencentcloud::mna::V20210119::UpdateHardwareRequest`
468
+ # @rtype: :class:`Tencentcloud::mna::V20210119::UpdateHardwareResponse`
469
+ def UpdateHardware(request)
470
+ body = send_request('UpdateHardware', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = UpdateHardwareResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
368
488
 
369
489
  end
370
490
  end
@@ -17,6 +17,92 @@
17
17
  module TencentCloud
18
18
  module Mna
19
19
  module V20210119
20
+ # 激活设备
21
+ class ActivateHardware < TencentCloud::Common::AbstractModel
22
+ # @param Vendor: 厂商名称
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type Vendor: String
25
+ # @param SN: 设备SN序列号
26
+ # @type SN: String
27
+ # @param DeviceName: 设备名称
28
+ # 注意:此字段可能返回 null,表示取不到有效值。
29
+ # @type DeviceName: String
30
+ # @param Description: 备注
31
+ # 注意:此字段可能返回 null,表示取不到有效值。
32
+ # @type Description: String
33
+ # @param DataKey: 设备密钥
34
+ # @type DataKey: String
35
+
36
+ attr_accessor :Vendor, :SN, :DeviceName, :Description, :DataKey
37
+
38
+ def initialize(vendor=nil, sn=nil, devicename=nil, description=nil, datakey=nil)
39
+ @Vendor = vendor
40
+ @SN = sn
41
+ @DeviceName = devicename
42
+ @Description = description
43
+ @DataKey = datakey
44
+ end
45
+
46
+ def deserialize(params)
47
+ @Vendor = params['Vendor']
48
+ @SN = params['SN']
49
+ @DeviceName = params['DeviceName']
50
+ @Description = params['Description']
51
+ @DataKey = params['DataKey']
52
+ end
53
+ end
54
+
55
+ # ActivateHardware请求参数结构体
56
+ class ActivateHardwareRequest < TencentCloud::Common::AbstractModel
57
+ # @param Hardware: 待激活的设备列表
58
+ # @type Hardware: Array
59
+
60
+ attr_accessor :Hardware
61
+
62
+ def initialize(hardware=nil)
63
+ @Hardware = hardware
64
+ end
65
+
66
+ def deserialize(params)
67
+ unless params['Hardware'].nil?
68
+ @Hardware = []
69
+ params['Hardware'].each do |i|
70
+ activatehardware_tmp = ActivateHardware.new
71
+ activatehardware_tmp.deserialize(i)
72
+ @Hardware << activatehardware_tmp
73
+ end
74
+ end
75
+ end
76
+ end
77
+
78
+ # ActivateHardware返回参数结构体
79
+ class ActivateHardwareResponse < TencentCloud::Common::AbstractModel
80
+ # @param HardwareInfo: 完成激活的设备信息
81
+ # 注意:此字段可能返回 null,表示取不到有效值。
82
+ # @type HardwareInfo: Array
83
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
84
+ # @type RequestId: String
85
+
86
+ attr_accessor :HardwareInfo, :RequestId
87
+
88
+ def initialize(hardwareinfo=nil, requestid=nil)
89
+ @HardwareInfo = hardwareinfo
90
+ @RequestId = requestid
91
+ end
92
+
93
+ def deserialize(params)
94
+ unless params['HardwareInfo'].nil?
95
+ @HardwareInfo = []
96
+ params['HardwareInfo'].each do |i|
97
+ activatehardware_tmp = ActivateHardware.new
98
+ activatehardware_tmp.deserialize(i)
99
+ @HardwareInfo << activatehardware_tmp
100
+ end
101
+ end
102
+ @RequestId = params['RequestId']
103
+ end
104
+ end
105
+
20
106
  # AddDevice请求参数结构体
21
107
  class AddDeviceRequest < TencentCloud::Common::AbstractModel
22
108
  # @param DeviceName: 新建设备的名称
@@ -74,6 +160,56 @@ module TencentCloud
74
160
  end
75
161
  end
76
162
 
163
+ # AddHardware请求参数结构体
164
+ class AddHardwareRequest < TencentCloud::Common::AbstractModel
165
+ # @param Hardware: 硬件列表
166
+ # @type Hardware: Array
167
+
168
+ attr_accessor :Hardware
169
+
170
+ def initialize(hardware=nil)
171
+ @Hardware = hardware
172
+ end
173
+
174
+ def deserialize(params)
175
+ unless params['Hardware'].nil?
176
+ @Hardware = []
177
+ params['Hardware'].each do |i|
178
+ hardware_tmp = Hardware.new
179
+ hardware_tmp.deserialize(i)
180
+ @Hardware << hardware_tmp
181
+ end
182
+ end
183
+ end
184
+ end
185
+
186
+ # AddHardware返回参数结构体
187
+ class AddHardwareResponse < TencentCloud::Common::AbstractModel
188
+ # @param Hardware: 硬件设备
189
+ # @type Hardware: Array
190
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
191
+ # @type RequestId: String
192
+
193
+ attr_accessor :Hardware, :RequestId
194
+
195
+ def initialize(hardware=nil, requestid=nil)
196
+ @Hardware = hardware
197
+ @RequestId = requestid
198
+ end
199
+
200
+ def deserialize(params)
201
+ unless params['Hardware'].nil?
202
+ @Hardware = []
203
+ params['Hardware'].each do |i|
204
+ hardware_tmp = Hardware.new
205
+ hardware_tmp.deserialize(i)
206
+ @Hardware << hardware_tmp
207
+ end
208
+ end
209
+ @RequestId = params['RequestId']
210
+ end
211
+ end
212
+
77
213
  # 接口能力扩展,用于填充电信的加速Token,并为未来参数提供兼容空间
78
214
  class Capacity < TencentCloud::Common::AbstractModel
79
215
  # @param CTCCToken: 电信鉴权的Token。要加速的电信手机终端访问 http://qos.189.cn/qos-api/getToken?appid=TencentCloud 页面,获取返回结果中result的值
@@ -870,6 +1006,65 @@ module TencentCloud
870
1006
  end
871
1007
  end
872
1008
 
1009
+ # GetHardwareList请求参数结构体
1010
+ class GetHardwareListRequest < TencentCloud::Common::AbstractModel
1011
+ # @param PageNumber: 页码
1012
+ # @type PageNumber: Integer
1013
+ # @param PageSize: 页面设备数量
1014
+ # @type PageSize: Integer
1015
+ # @param Keyword: 关键字
1016
+ # @type Keyword: String
1017
+
1018
+ attr_accessor :PageNumber, :PageSize, :Keyword
1019
+
1020
+ def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
1021
+ @PageNumber = pagenumber
1022
+ @PageSize = pagesize
1023
+ @Keyword = keyword
1024
+ end
1025
+
1026
+ def deserialize(params)
1027
+ @PageNumber = params['PageNumber']
1028
+ @PageSize = params['PageSize']
1029
+ @Keyword = params['Keyword']
1030
+ end
1031
+ end
1032
+
1033
+ # GetHardwareList返回参数结构体
1034
+ class GetHardwareListResponse < TencentCloud::Common::AbstractModel
1035
+ # @param HardwareInfos: 硬件信息列表
1036
+ # @type HardwareInfos: Array
1037
+ # @param Length: 硬件总数
1038
+ # @type Length: Integer
1039
+ # @param TotalPage: 总页数
1040
+ # @type TotalPage: Integer
1041
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1042
+ # @type RequestId: String
1043
+
1044
+ attr_accessor :HardwareInfos, :Length, :TotalPage, :RequestId
1045
+
1046
+ def initialize(hardwareinfos=nil, length=nil, totalpage=nil, requestid=nil)
1047
+ @HardwareInfos = hardwareinfos
1048
+ @Length = length
1049
+ @TotalPage = totalpage
1050
+ @RequestId = requestid
1051
+ end
1052
+
1053
+ def deserialize(params)
1054
+ unless params['HardwareInfos'].nil?
1055
+ @HardwareInfos = []
1056
+ params['HardwareInfos'].each do |i|
1057
+ hardwareinfo_tmp = HardwareInfo.new
1058
+ hardwareinfo_tmp.deserialize(i)
1059
+ @HardwareInfos << hardwareinfo_tmp
1060
+ end
1061
+ end
1062
+ @Length = params['Length']
1063
+ @TotalPage = params['TotalPage']
1064
+ @RequestId = params['RequestId']
1065
+ end
1066
+ end
1067
+
873
1068
  # GetMultiFlowStatistic请求参数结构体
874
1069
  class GetMultiFlowStatisticRequest < TencentCloud::Common::AbstractModel
875
1070
  # @param DeviceIds: 设备id列表,单次最多请求10个设备
@@ -1066,6 +1261,164 @@ module TencentCloud
1066
1261
  end
1067
1262
  end
1068
1263
 
1264
+ # GetVendorHardware请求参数结构体
1265
+ class GetVendorHardwareRequest < TencentCloud::Common::AbstractModel
1266
+ # @param PageNumber: 页码
1267
+ # @type PageNumber: Integer
1268
+ # @param PageSize: 页面数量
1269
+ # @type PageSize: Integer
1270
+ # @param Keyword: 关键字
1271
+ # @type Keyword: String
1272
+ # @param Status: 激活状态,
1273
+ # 空:全部;
1274
+ # 1:待激活;
1275
+ # 2:已激活;
1276
+ # @type Status: Integer
1277
+
1278
+ attr_accessor :PageNumber, :PageSize, :Keyword, :Status
1279
+
1280
+ def initialize(pagenumber=nil, pagesize=nil, keyword=nil, status=nil)
1281
+ @PageNumber = pagenumber
1282
+ @PageSize = pagesize
1283
+ @Keyword = keyword
1284
+ @Status = status
1285
+ end
1286
+
1287
+ def deserialize(params)
1288
+ @PageNumber = params['PageNumber']
1289
+ @PageSize = params['PageSize']
1290
+ @Keyword = params['Keyword']
1291
+ @Status = params['Status']
1292
+ end
1293
+ end
1294
+
1295
+ # GetVendorHardware返回参数结构体
1296
+ class GetVendorHardwareResponse < TencentCloud::Common::AbstractModel
1297
+ # @param VendorHardware: 硬件信息列表
1298
+ # @type VendorHardware: Array
1299
+ # @param Length: 设备总数
1300
+ # @type Length: Integer
1301
+ # @param TotalPage: 总页数
1302
+ # @type TotalPage: Integer
1303
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1304
+ # @type RequestId: String
1305
+
1306
+ attr_accessor :VendorHardware, :Length, :TotalPage, :RequestId
1307
+
1308
+ def initialize(vendorhardware=nil, length=nil, totalpage=nil, requestid=nil)
1309
+ @VendorHardware = vendorhardware
1310
+ @Length = length
1311
+ @TotalPage = totalpage
1312
+ @RequestId = requestid
1313
+ end
1314
+
1315
+ def deserialize(params)
1316
+ unless params['VendorHardware'].nil?
1317
+ @VendorHardware = []
1318
+ params['VendorHardware'].each do |i|
1319
+ vendorhardware_tmp = VendorHardware.new
1320
+ vendorhardware_tmp.deserialize(i)
1321
+ @VendorHardware << vendorhardware_tmp
1322
+ end
1323
+ end
1324
+ @Length = params['Length']
1325
+ @TotalPage = params['TotalPage']
1326
+ @RequestId = params['RequestId']
1327
+ end
1328
+ end
1329
+
1330
+ # 新建Hardware入参
1331
+ class Hardware < TencentCloud::Common::AbstractModel
1332
+ # @param SN: 硬件序列号
1333
+ # 注意:此字段可能返回 null,表示取不到有效值。
1334
+ # @type SN: String
1335
+ # @param LicenseChargingMode: license计费模式:
1336
+ # 1,租户月付费
1337
+ # 2,厂商月付费
1338
+ # 3,license永久授权
1339
+ # 注意:此字段可能返回 null,表示取不到有效值。
1340
+ # @type LicenseChargingMode: Integer
1341
+ # @param Description: 设备描述
1342
+ # 注意:此字段可能返回 null,表示取不到有效值。
1343
+ # @type Description: String
1344
+ # @param HardwareId: 硬件ID,入参无需传递
1345
+ # 注意:此字段可能返回 null,表示取不到有效值。
1346
+ # @type HardwareId: String
1347
+
1348
+ attr_accessor :SN, :LicenseChargingMode, :Description, :HardwareId
1349
+
1350
+ def initialize(sn=nil, licensechargingmode=nil, description=nil, hardwareid=nil)
1351
+ @SN = sn
1352
+ @LicenseChargingMode = licensechargingmode
1353
+ @Description = description
1354
+ @HardwareId = hardwareid
1355
+ end
1356
+
1357
+ def deserialize(params)
1358
+ @SN = params['SN']
1359
+ @LicenseChargingMode = params['LicenseChargingMode']
1360
+ @Description = params['Description']
1361
+ @HardwareId = params['HardwareId']
1362
+ end
1363
+ end
1364
+
1365
+ # 硬件信息
1366
+ class HardwareInfo < TencentCloud::Common::AbstractModel
1367
+ # @param DeviceId: 设备ID
1368
+ # 注意:此字段可能返回 null,表示取不到有效值。
1369
+ # @type DeviceId: String
1370
+ # @param DeviceName: 设备名称
1371
+ # 注意:此字段可能返回 null,表示取不到有效值。
1372
+ # @type DeviceName: String
1373
+ # @param ActiveTime: 激活时间
1374
+ # 注意:此字段可能返回 null,表示取不到有效值。
1375
+ # @type ActiveTime: String
1376
+ # @param LastOnlineTime: 最后在线时间
1377
+ # 注意:此字段可能返回 null,表示取不到有效值。
1378
+ # @type LastOnlineTime: String
1379
+ # @param Description: 备注
1380
+ # 注意:此字段可能返回 null,表示取不到有效值。
1381
+ # @type Description: String
1382
+ # @param VendorDescription: 厂商备注
1383
+ # 注意:此字段可能返回 null,表示取不到有效值。
1384
+ # @type VendorDescription: String
1385
+ # @param LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
1386
+ # 注意:此字段可能返回 null,表示取不到有效值。
1387
+ # @type LicenseChargingMode: Integer
1388
+ # @param CreateTime: 创建时间
1389
+ # 注意:此字段可能返回 null,表示取不到有效值。
1390
+ # @type CreateTime: String
1391
+ # @param SN: 硬件序列号
1392
+ # 注意:此字段可能返回 null,表示取不到有效值。
1393
+ # @type SN: String
1394
+
1395
+ attr_accessor :DeviceId, :DeviceName, :ActiveTime, :LastOnlineTime, :Description, :VendorDescription, :LicenseChargingMode, :CreateTime, :SN
1396
+
1397
+ def initialize(deviceid=nil, devicename=nil, activetime=nil, lastonlinetime=nil, description=nil, vendordescription=nil, licensechargingmode=nil, createtime=nil, sn=nil)
1398
+ @DeviceId = deviceid
1399
+ @DeviceName = devicename
1400
+ @ActiveTime = activetime
1401
+ @LastOnlineTime = lastonlinetime
1402
+ @Description = description
1403
+ @VendorDescription = vendordescription
1404
+ @LicenseChargingMode = licensechargingmode
1405
+ @CreateTime = createtime
1406
+ @SN = sn
1407
+ end
1408
+
1409
+ def deserialize(params)
1410
+ @DeviceId = params['DeviceId']
1411
+ @DeviceName = params['DeviceName']
1412
+ @ActiveTime = params['ActiveTime']
1413
+ @LastOnlineTime = params['LastOnlineTime']
1414
+ @Description = params['Description']
1415
+ @VendorDescription = params['VendorDescription']
1416
+ @LicenseChargingMode = params['LicenseChargingMode']
1417
+ @CreateTime = params['CreateTime']
1418
+ @SN = params['SN']
1419
+ end
1420
+ end
1421
+
1069
1422
  # 流量监控指标
1070
1423
  class MonitorData < TencentCloud::Common::AbstractModel
1071
1424
  # @param Time: 时间点:s
@@ -1249,6 +1602,46 @@ module TencentCloud
1249
1602
  end
1250
1603
  end
1251
1604
 
1605
+ # UpdateHardware请求参数结构体
1606
+ class UpdateHardwareRequest < TencentCloud::Common::AbstractModel
1607
+ # @param HardwareId: 硬件ID
1608
+ # @type HardwareId: String
1609
+ # @param SN: 硬件序列号
1610
+ # @type SN: String
1611
+ # @param Description: 设备备注
1612
+ # @type Description: String
1613
+
1614
+ attr_accessor :HardwareId, :SN, :Description
1615
+
1616
+ def initialize(hardwareid=nil, sn=nil, description=nil)
1617
+ @HardwareId = hardwareid
1618
+ @SN = sn
1619
+ @Description = description
1620
+ end
1621
+
1622
+ def deserialize(params)
1623
+ @HardwareId = params['HardwareId']
1624
+ @SN = params['SN']
1625
+ @Description = params['Description']
1626
+ end
1627
+ end
1628
+
1629
+ # UpdateHardware返回参数结构体
1630
+ class UpdateHardwareResponse < TencentCloud::Common::AbstractModel
1631
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1632
+ # @type RequestId: String
1633
+
1634
+ attr_accessor :RequestId
1635
+
1636
+ def initialize(requestid=nil)
1637
+ @RequestId = requestid
1638
+ end
1639
+
1640
+ def deserialize(params)
1641
+ @RequestId = params['RequestId']
1642
+ end
1643
+ end
1644
+
1252
1645
  # 更新设备网络状态信息
1253
1646
  class UpdateNetInfo < TencentCloud::Common::AbstractModel
1254
1647
  # @param Type: 网络类型:
@@ -1283,6 +1676,63 @@ module TencentCloud
1283
1676
  end
1284
1677
  end
1285
1678
 
1679
+ # 厂商硬件详细信息
1680
+ class VendorHardware < TencentCloud::Common::AbstractModel
1681
+ # @param HardwareId: 硬件id
1682
+ # 注意:此字段可能返回 null,表示取不到有效值。
1683
+ # @type HardwareId: String
1684
+ # @param SN: 硬件序列号
1685
+ # 注意:此字段可能返回 null,表示取不到有效值。
1686
+ # @type SN: String
1687
+ # @param CreateTime: 创建时间
1688
+ # 注意:此字段可能返回 null,表示取不到有效值。
1689
+ # @type CreateTime: String
1690
+ # @param Status: 激活状态, 空:全部; 1:待激活; 2:已激活
1691
+ # 注意:此字段可能返回 null,表示取不到有效值。
1692
+ # @type Status: Integer
1693
+ # @param ActiveTime: 激活时间
1694
+ # 注意:此字段可能返回 null,表示取不到有效值。
1695
+ # @type ActiveTime: String
1696
+ # @param Description: 厂商备注
1697
+ # 注意:此字段可能返回 null,表示取不到有效值。
1698
+ # @type Description: String
1699
+ # @param DeviceId: 设备id
1700
+ # 注意:此字段可能返回 null,表示取不到有效值。
1701
+ # @type DeviceId: String
1702
+ # @param LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
1703
+ # 注意:此字段可能返回 null,表示取不到有效值。
1704
+ # @type LicenseChargingMode: Integer
1705
+ # @param LastOnlineTime: 最后在线时间
1706
+ # 注意:此字段可能返回 null,表示取不到有效值。
1707
+ # @type LastOnlineTime: String
1708
+
1709
+ attr_accessor :HardwareId, :SN, :CreateTime, :Status, :ActiveTime, :Description, :DeviceId, :LicenseChargingMode, :LastOnlineTime
1710
+
1711
+ def initialize(hardwareid=nil, sn=nil, createtime=nil, status=nil, activetime=nil, description=nil, deviceid=nil, licensechargingmode=nil, lastonlinetime=nil)
1712
+ @HardwareId = hardwareid
1713
+ @SN = sn
1714
+ @CreateTime = createtime
1715
+ @Status = status
1716
+ @ActiveTime = activetime
1717
+ @Description = description
1718
+ @DeviceId = deviceid
1719
+ @LicenseChargingMode = licensechargingmode
1720
+ @LastOnlineTime = lastonlinetime
1721
+ end
1722
+
1723
+ def deserialize(params)
1724
+ @HardwareId = params['HardwareId']
1725
+ @SN = params['SN']
1726
+ @CreateTime = params['CreateTime']
1727
+ @Status = params['Status']
1728
+ @ActiveTime = params['ActiveTime']
1729
+ @Description = params['Description']
1730
+ @DeviceId = params['DeviceId']
1731
+ @LicenseChargingMode = params['LicenseChargingMode']
1732
+ @LastOnlineTime = params['LastOnlineTime']
1733
+ end
1734
+ end
1735
+
1286
1736
  end
1287
1737
  end
1288
1738
  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.712
4
+ version: 3.0.714
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-24 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common