tencentcloud-sdk-mna 3.0.801 → 3.0.802
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 +145 -25
- 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: c08e2dc2dee4b77501c4e6b07695edb21c4ca085
|
4
|
+
data.tar.gz: e354d0f93a072fb6bd45ce0fa65e3a304526849e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2403ae3f8d71bb68d8dc73644addbee1bbc4d9a000f17156d5f824678fa8de628df2295da287cb7385ff93c4222d9c77833beaef30c2903922a7b4e89cad54b4
|
7
|
+
data.tar.gz: f30cff07e454a74d775cc6e9d9639bfef4d2cde86834dff79f107254ed7f150dddcbe17d887bb8fb3122256e62e446a8e2d2e48fdbf8fe70e1b2eef1f0532a62
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.802
|
data/lib/v20210119/models.rb
CHANGED
@@ -34,16 +34,33 @@ module TencentCloud
|
|
34
34
|
# @type DataKey: String
|
35
35
|
# @param AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
36
36
|
# @type AccessScope: Integer
|
37
|
+
# @param LicensePayMode: 当付费方为租户时,可选择租户license付费方式:
|
38
|
+
# 0,月度授权
|
39
|
+
# 1,永久授权
|
40
|
+
# 若不传则默认为月度授权。
|
41
|
+
# 当付费方为厂商时,此参数无效
|
37
42
|
|
38
|
-
|
43
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
44
|
+
# @type LicensePayMode: Integer
|
45
|
+
# @param GroupId: 设备分组ID
|
46
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
47
|
+
# @type GroupId: String
|
48
|
+
# @param GroupName: 设备分组名称,预留参数,需要分组时传入GroupId
|
49
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
50
|
+
# @type GroupName: String
|
39
51
|
|
40
|
-
|
52
|
+
attr_accessor :Vendor, :SN, :DeviceName, :Description, :DataKey, :AccessScope, :LicensePayMode, :GroupId, :GroupName
|
53
|
+
|
54
|
+
def initialize(vendor=nil, sn=nil, devicename=nil, description=nil, datakey=nil, accessscope=nil, licensepaymode=nil, groupid=nil, groupname=nil)
|
41
55
|
@Vendor = vendor
|
42
56
|
@SN = sn
|
43
57
|
@DeviceName = devicename
|
44
58
|
@Description = description
|
45
59
|
@DataKey = datakey
|
46
60
|
@AccessScope = accessscope
|
61
|
+
@LicensePayMode = licensepaymode
|
62
|
+
@GroupId = groupid
|
63
|
+
@GroupName = groupname
|
47
64
|
end
|
48
65
|
|
49
66
|
def deserialize(params)
|
@@ -53,6 +70,9 @@ module TencentCloud
|
|
53
70
|
@Description = params['Description']
|
54
71
|
@DataKey = params['DataKey']
|
55
72
|
@AccessScope = params['AccessScope']
|
73
|
+
@LicensePayMode = params['LicensePayMode']
|
74
|
+
@GroupId = params['GroupId']
|
75
|
+
@GroupName = params['GroupName']
|
56
76
|
end
|
57
77
|
end
|
58
78
|
|
@@ -123,15 +143,27 @@ module TencentCloud
|
|
123
143
|
# 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入)
|
124
144
|
# 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
125
145
|
# @type AccessScope: Integer
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
146
|
+
# @param LicensePayMode: license付费方式:
|
147
|
+
# 0,月度授权
|
148
|
+
# 1,永久授权
|
149
|
+
# 若不传则默认为月度授权
|
150
|
+
# @type LicensePayMode: Integer
|
151
|
+
# @param GroupName: 设备分组名称,非必选,预留参数,需要分组时传入GroupId
|
152
|
+
# @type GroupName: String
|
153
|
+
# @param GroupId: 设备分组ID,非必选,如果不填写则默认设备无分组
|
154
|
+
# @type GroupId: String
|
155
|
+
|
156
|
+
attr_accessor :DeviceName, :Remark, :DataKey, :Encrypted, :AccessScope, :LicensePayMode, :GroupName, :GroupId
|
157
|
+
|
158
|
+
def initialize(devicename=nil, remark=nil, datakey=nil, encrypted=nil, accessscope=nil, licensepaymode=nil, groupname=nil, groupid=nil)
|
130
159
|
@DeviceName = devicename
|
131
160
|
@Remark = remark
|
132
161
|
@DataKey = datakey
|
133
162
|
@Encrypted = encrypted
|
134
163
|
@AccessScope = accessscope
|
164
|
+
@LicensePayMode = licensepaymode
|
165
|
+
@GroupName = groupname
|
166
|
+
@GroupId = groupid
|
135
167
|
end
|
136
168
|
|
137
169
|
def deserialize(params)
|
@@ -140,6 +172,9 @@ module TencentCloud
|
|
140
172
|
@DataKey = params['DataKey']
|
141
173
|
@Encrypted = params['Encrypted']
|
142
174
|
@AccessScope = params['AccessScope']
|
175
|
+
@LicensePayMode = params['LicensePayMode']
|
176
|
+
@GroupName = params['GroupName']
|
177
|
+
@GroupId = params['GroupId']
|
143
178
|
end
|
144
179
|
end
|
145
180
|
|
@@ -568,16 +603,32 @@ module TencentCloud
|
|
568
603
|
# @type Remark: String
|
569
604
|
# @param AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
570
605
|
# @type AccessScope: Integer
|
606
|
+
# @param LicensePayMode: license授权有效期 0:月度授权 1:永久授权
|
607
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
608
|
+
# @type LicensePayMode: Integer
|
609
|
+
# @param Payer: 付费方 0:厂商付费 1:客户付费
|
610
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
611
|
+
# @type Payer: Integer
|
612
|
+
# @param GroupId: 设备分组ID
|
613
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
614
|
+
# @type GroupId: String
|
615
|
+
# @param GroupName: 设备分组名称
|
616
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
617
|
+
# @type GroupName: String
|
571
618
|
|
572
|
-
attr_accessor :DeviceId, :DeviceName, :CreateTime, :LastTime, :Remark, :AccessScope
|
619
|
+
attr_accessor :DeviceId, :DeviceName, :CreateTime, :LastTime, :Remark, :AccessScope, :LicensePayMode, :Payer, :GroupId, :GroupName
|
573
620
|
|
574
|
-
def initialize(deviceid=nil, devicename=nil, createtime=nil, lasttime=nil, remark=nil, accessscope=nil)
|
621
|
+
def initialize(deviceid=nil, devicename=nil, createtime=nil, lasttime=nil, remark=nil, accessscope=nil, licensepaymode=nil, payer=nil, groupid=nil, groupname=nil)
|
575
622
|
@DeviceId = deviceid
|
576
623
|
@DeviceName = devicename
|
577
624
|
@CreateTime = createtime
|
578
625
|
@LastTime = lasttime
|
579
626
|
@Remark = remark
|
580
627
|
@AccessScope = accessscope
|
628
|
+
@LicensePayMode = licensepaymode
|
629
|
+
@Payer = payer
|
630
|
+
@GroupId = groupid
|
631
|
+
@GroupName = groupname
|
581
632
|
end
|
582
633
|
|
583
634
|
def deserialize(params)
|
@@ -587,6 +638,10 @@ module TencentCloud
|
|
587
638
|
@LastTime = params['LastTime']
|
588
639
|
@Remark = params['Remark']
|
589
640
|
@AccessScope = params['AccessScope']
|
641
|
+
@LicensePayMode = params['LicensePayMode']
|
642
|
+
@Payer = params['Payer']
|
643
|
+
@GroupId = params['GroupId']
|
644
|
+
@GroupName = params['GroupName']
|
590
645
|
end
|
591
646
|
end
|
592
647
|
|
@@ -912,10 +967,14 @@ module TencentCloud
|
|
912
967
|
# @type RenewFlag: Boolean
|
913
968
|
# @param ModifyStatus: 资源包变更状态,0:未发生变配;1:变配中;2:已变配或已续费
|
914
969
|
# @type ModifyStatus: Integer
|
970
|
+
# @param TruncFlag: 流量截断标识。true代表开启流量截断,false代表不开启流量截断
|
971
|
+
# @type TruncFlag: Boolean
|
972
|
+
# @param CapacityRemainPrecise: 流量包精确余量,单位:MB
|
973
|
+
# @type CapacityRemainPrecise: Integer
|
915
974
|
|
916
|
-
attr_accessor :ResourceId, :AppId, :PackageType, :Status, :CreateTime, :ActiveTime, :ExpireTime, :DeviceList, :CapacitySize, :CapacityRemain, :RenewFlag, :ModifyStatus
|
975
|
+
attr_accessor :ResourceId, :AppId, :PackageType, :Status, :CreateTime, :ActiveTime, :ExpireTime, :DeviceList, :CapacitySize, :CapacityRemain, :RenewFlag, :ModifyStatus, :TruncFlag, :CapacityRemainPrecise
|
917
976
|
|
918
|
-
def initialize(resourceid=nil, appid=nil, packagetype=nil, status=nil, createtime=nil, activetime=nil, expiretime=nil, devicelist=nil, capacitysize=nil, capacityremain=nil, renewflag=nil, modifystatus=nil)
|
977
|
+
def initialize(resourceid=nil, appid=nil, packagetype=nil, status=nil, createtime=nil, activetime=nil, expiretime=nil, devicelist=nil, capacitysize=nil, capacityremain=nil, renewflag=nil, modifystatus=nil, truncflag=nil, capacityremainprecise=nil)
|
919
978
|
@ResourceId = resourceid
|
920
979
|
@AppId = appid
|
921
980
|
@PackageType = packagetype
|
@@ -928,6 +987,8 @@ module TencentCloud
|
|
928
987
|
@CapacityRemain = capacityremain
|
929
988
|
@RenewFlag = renewflag
|
930
989
|
@ModifyStatus = modifystatus
|
990
|
+
@TruncFlag = truncflag
|
991
|
+
@CapacityRemainPrecise = capacityremainprecise
|
931
992
|
end
|
932
993
|
|
933
994
|
def deserialize(params)
|
@@ -943,6 +1004,8 @@ module TencentCloud
|
|
943
1004
|
@CapacityRemain = params['CapacityRemain']
|
944
1005
|
@RenewFlag = params['RenewFlag']
|
945
1006
|
@ModifyStatus = params['ModifyStatus']
|
1007
|
+
@TruncFlag = params['TruncFlag']
|
1008
|
+
@CapacityRemainPrecise = params['CapacityRemainPrecise']
|
946
1009
|
end
|
947
1010
|
end
|
948
1011
|
|
@@ -1165,7 +1228,7 @@ module TencentCloud
|
|
1165
1228
|
# @type BeginTime: Integer
|
1166
1229
|
# @param EndTime: 截止时间
|
1167
1230
|
# @type EndTime: Integer
|
1168
|
-
# @param Type: 流量种类(1:上行流量,2
|
1231
|
+
# @param Type: 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
1169
1232
|
# @type Type: Integer
|
1170
1233
|
# @param TimeGranularity: 时间粒度(1:按小时统计,2:按天统计)
|
1171
1234
|
# @type TimeGranularity: Integer
|
@@ -1173,10 +1236,12 @@ module TencentCloud
|
|
1173
1236
|
# @type AccessRegion: String
|
1174
1237
|
# @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
1175
1238
|
# @type GatewayType: Integer
|
1239
|
+
# @param DeviceList: 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
|
1240
|
+
# @type DeviceList: Array
|
1176
1241
|
|
1177
|
-
attr_accessor :DeviceId, :BeginTime, :EndTime, :Type, :TimeGranularity, :AccessRegion, :GatewayType
|
1242
|
+
attr_accessor :DeviceId, :BeginTime, :EndTime, :Type, :TimeGranularity, :AccessRegion, :GatewayType, :DeviceList
|
1178
1243
|
|
1179
|
-
def initialize(deviceid=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil)
|
1244
|
+
def initialize(deviceid=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil, devicelist=nil)
|
1180
1245
|
@DeviceId = deviceid
|
1181
1246
|
@BeginTime = begintime
|
1182
1247
|
@EndTime = endtime
|
@@ -1184,6 +1249,7 @@ module TencentCloud
|
|
1184
1249
|
@TimeGranularity = timegranularity
|
1185
1250
|
@AccessRegion = accessregion
|
1186
1251
|
@GatewayType = gatewaytype
|
1252
|
+
@DeviceList = devicelist
|
1187
1253
|
end
|
1188
1254
|
|
1189
1255
|
def deserialize(params)
|
@@ -1194,6 +1260,7 @@ module TencentCloud
|
|
1194
1260
|
@TimeGranularity = params['TimeGranularity']
|
1195
1261
|
@AccessRegion = params['AccessRegion']
|
1196
1262
|
@GatewayType = params['GatewayType']
|
1263
|
+
@DeviceList = params['DeviceList']
|
1197
1264
|
end
|
1198
1265
|
end
|
1199
1266
|
|
@@ -1303,7 +1370,7 @@ module TencentCloud
|
|
1303
1370
|
# @type BeginTime: Integer
|
1304
1371
|
# @param EndTime: 1659515000
|
1305
1372
|
# @type EndTime: Integer
|
1306
|
-
# @param Type: 统计流量类型(1:上行流量,2
|
1373
|
+
# @param Type: 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和)
|
1307
1374
|
# @type Type: Integer
|
1308
1375
|
# @param TimeGranularity: 统计时间粒度(1:按小时统计,2:按天统计)
|
1309
1376
|
# @type TimeGranularity: Integer
|
@@ -1477,16 +1544,22 @@ module TencentCloud
|
|
1477
1544
|
# @type AccessRegion: String
|
1478
1545
|
# @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
1479
1546
|
# @type GatewayType: Integer
|
1547
|
+
# @param DeviceList: 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1"
|
1548
|
+
# @type DeviceList: Array
|
1549
|
+
# @param GroupId: 设备分组ID,若不指定分组则不传,按分组下载数据时使用
|
1550
|
+
# @type GroupId: String
|
1480
1551
|
|
1481
|
-
attr_accessor :DeviceId, :BeginTime, :EndTime, :TimeGranularity, :AccessRegion, :GatewayType
|
1552
|
+
attr_accessor :DeviceId, :BeginTime, :EndTime, :TimeGranularity, :AccessRegion, :GatewayType, :DeviceList, :GroupId
|
1482
1553
|
|
1483
|
-
def initialize(deviceid=nil, begintime=nil, endtime=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil)
|
1554
|
+
def initialize(deviceid=nil, begintime=nil, endtime=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil, devicelist=nil, groupid=nil)
|
1484
1555
|
@DeviceId = deviceid
|
1485
1556
|
@BeginTime = begintime
|
1486
1557
|
@EndTime = endtime
|
1487
1558
|
@TimeGranularity = timegranularity
|
1488
1559
|
@AccessRegion = accessregion
|
1489
1560
|
@GatewayType = gatewaytype
|
1561
|
+
@DeviceList = devicelist
|
1562
|
+
@GroupId = groupid
|
1490
1563
|
end
|
1491
1564
|
|
1492
1565
|
def deserialize(params)
|
@@ -1496,6 +1569,8 @@ module TencentCloud
|
|
1496
1569
|
@TimeGranularity = params['TimeGranularity']
|
1497
1570
|
@AccessRegion = params['AccessRegion']
|
1498
1571
|
@GatewayType = params['GatewayType']
|
1572
|
+
@DeviceList = params['DeviceList']
|
1573
|
+
@GroupId = params['GroupId']
|
1499
1574
|
end
|
1500
1575
|
end
|
1501
1576
|
|
@@ -1591,9 +1666,9 @@ module TencentCloud
|
|
1591
1666
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1592
1667
|
# @type SN: String
|
1593
1668
|
# @param LicenseChargingMode: license计费模式:
|
1594
|
-
# 1
|
1669
|
+
# 1,租户付费
|
1595
1670
|
# 2,厂商月付费
|
1596
|
-
# 3
|
1671
|
+
# 3,厂商永久授权
|
1597
1672
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1598
1673
|
# @type LicenseChargingMode: Integer
|
1599
1674
|
# @param Description: 设备描述
|
@@ -1641,6 +1716,7 @@ module TencentCloud
|
|
1641
1716
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1642
1717
|
# @type VendorDescription: String
|
1643
1718
|
# @param LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
1719
|
+
# 注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
1644
1720
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1645
1721
|
# @type LicenseChargingMode: Integer
|
1646
1722
|
# @param CreateTime: 创建时间
|
@@ -1649,10 +1725,26 @@ module TencentCloud
|
|
1649
1725
|
# @param SN: 硬件序列号
|
1650
1726
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1651
1727
|
# @type SN: String
|
1728
|
+
# @param LicensePayMode: license授权有效期
|
1729
|
+
# 0:月度授权
|
1730
|
+
# 1:永久授权
|
1731
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1732
|
+
# @type LicensePayMode: Integer
|
1733
|
+
# @param Payer: 付费方
|
1734
|
+
# 0:客户付费
|
1735
|
+
# 1:厂商付费
|
1736
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1737
|
+
# @type Payer: Integer
|
1738
|
+
# @param GroupId: 设备分组ID
|
1739
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1740
|
+
# @type GroupId: String
|
1741
|
+
# @param GroupName: 设备分组名称
|
1742
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1743
|
+
# @type GroupName: String
|
1652
1744
|
|
1653
|
-
attr_accessor :DeviceId, :DeviceName, :ActiveTime, :LastOnlineTime, :Description, :VendorDescription, :LicenseChargingMode, :CreateTime, :SN
|
1745
|
+
attr_accessor :DeviceId, :DeviceName, :ActiveTime, :LastOnlineTime, :Description, :VendorDescription, :LicenseChargingMode, :CreateTime, :SN, :LicensePayMode, :Payer, :GroupId, :GroupName
|
1654
1746
|
|
1655
|
-
def initialize(deviceid=nil, devicename=nil, activetime=nil, lastonlinetime=nil, description=nil, vendordescription=nil, licensechargingmode=nil, createtime=nil, sn=nil)
|
1747
|
+
def initialize(deviceid=nil, devicename=nil, activetime=nil, lastonlinetime=nil, description=nil, vendordescription=nil, licensechargingmode=nil, createtime=nil, sn=nil, licensepaymode=nil, payer=nil, groupid=nil, groupname=nil)
|
1656
1748
|
@DeviceId = deviceid
|
1657
1749
|
@DeviceName = devicename
|
1658
1750
|
@ActiveTime = activetime
|
@@ -1662,6 +1754,10 @@ module TencentCloud
|
|
1662
1754
|
@LicenseChargingMode = licensechargingmode
|
1663
1755
|
@CreateTime = createtime
|
1664
1756
|
@SN = sn
|
1757
|
+
@LicensePayMode = licensepaymode
|
1758
|
+
@Payer = payer
|
1759
|
+
@GroupId = groupid
|
1760
|
+
@GroupName = groupname
|
1665
1761
|
end
|
1666
1762
|
|
1667
1763
|
def deserialize(params)
|
@@ -1674,6 +1770,10 @@ module TencentCloud
|
|
1674
1770
|
@LicenseChargingMode = params['LicenseChargingMode']
|
1675
1771
|
@CreateTime = params['CreateTime']
|
1676
1772
|
@SN = params['SN']
|
1773
|
+
@LicensePayMode = params['LicensePayMode']
|
1774
|
+
@Payer = params['Payer']
|
1775
|
+
@GroupId = params['GroupId']
|
1776
|
+
@GroupName = params['GroupName']
|
1677
1777
|
end
|
1678
1778
|
end
|
1679
1779
|
|
@@ -1812,10 +1912,12 @@ module TencentCloud
|
|
1812
1912
|
# 100G:最多绑定3个设备
|
1813
1913
|
# 500G:最多绑定5个设备
|
1814
1914
|
# @type DeviceList: Array
|
1815
|
-
# @param AutoRenewFlag:
|
1915
|
+
# @param AutoRenewFlag: 是否自动续费,该选项和流量截断冲突,只能开启一个
|
1816
1916
|
# @type AutoRenewFlag: Boolean
|
1817
1917
|
# @param PackageRegion: 区域标识,0:国内,1:国外
|
1818
1918
|
# @type PackageRegion: Integer
|
1919
|
+
# @param FlowTruncFlag: 是否开启流量截断功能,该选项和自动续费冲突
|
1920
|
+
# @type FlowTruncFlag: Boolean
|
1819
1921
|
# @param AutoVoucher: 是否自动选择代金券,默认false。
|
1820
1922
|
# 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
1821
1923
|
# @type AutoVoucher: Boolean
|
@@ -1823,13 +1925,14 @@ module TencentCloud
|
|
1823
1925
|
# 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
1824
1926
|
# @type VoucherIds: Array
|
1825
1927
|
|
1826
|
-
attr_accessor :PackageType, :DeviceList, :AutoRenewFlag, :PackageRegion, :AutoVoucher, :VoucherIds
|
1928
|
+
attr_accessor :PackageType, :DeviceList, :AutoRenewFlag, :PackageRegion, :FlowTruncFlag, :AutoVoucher, :VoucherIds
|
1827
1929
|
|
1828
|
-
def initialize(packagetype=nil, devicelist=nil, autorenewflag=nil, packageregion=nil, autovoucher=nil, voucherids=nil)
|
1930
|
+
def initialize(packagetype=nil, devicelist=nil, autorenewflag=nil, packageregion=nil, flowtruncflag=nil, autovoucher=nil, voucherids=nil)
|
1829
1931
|
@PackageType = packagetype
|
1830
1932
|
@DeviceList = devicelist
|
1831
1933
|
@AutoRenewFlag = autorenewflag
|
1832
1934
|
@PackageRegion = packageregion
|
1935
|
+
@FlowTruncFlag = flowtruncflag
|
1833
1936
|
@AutoVoucher = autovoucher
|
1834
1937
|
@VoucherIds = voucherids
|
1835
1938
|
end
|
@@ -1839,6 +1942,7 @@ module TencentCloud
|
|
1839
1942
|
@DeviceList = params['DeviceList']
|
1840
1943
|
@AutoRenewFlag = params['AutoRenewFlag']
|
1841
1944
|
@PackageRegion = params['PackageRegion']
|
1945
|
+
@FlowTruncFlag = params['FlowTruncFlag']
|
1842
1946
|
@AutoVoucher = params['AutoVoucher']
|
1843
1947
|
@VoucherIds = params['VoucherIds']
|
1844
1948
|
end
|
@@ -2064,15 +2168,27 @@ module TencentCloud
|
|
2064
2168
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2065
2169
|
# @type DeviceId: String
|
2066
2170
|
# @param LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
2171
|
+
# 注:设备为租户付费且未激活(未选择月付还是永久付费)时,此参数返回1,仅代表租户付费。后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
2067
2172
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2068
2173
|
# @type LicenseChargingMode: Integer
|
2069
2174
|
# @param LastOnlineTime: 最后在线时间
|
2070
2175
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2071
2176
|
# @type LastOnlineTime: String
|
2177
|
+
# @param LicensePayMode: license授权有效期
|
2178
|
+
# 0:月度授权
|
2179
|
+
# 1:永久授权
|
2180
|
+
# -1:未知
|
2181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2182
|
+
# @type LicensePayMode: Integer
|
2183
|
+
# @param Payer: 付费方
|
2184
|
+
# 0:客户付费
|
2185
|
+
# 1:厂商付费
|
2186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2187
|
+
# @type Payer: Integer
|
2072
2188
|
|
2073
|
-
attr_accessor :HardwareId, :SN, :CreateTime, :Status, :ActiveTime, :Description, :DeviceId, :LicenseChargingMode, :LastOnlineTime
|
2189
|
+
attr_accessor :HardwareId, :SN, :CreateTime, :Status, :ActiveTime, :Description, :DeviceId, :LicenseChargingMode, :LastOnlineTime, :LicensePayMode, :Payer
|
2074
2190
|
|
2075
|
-
def initialize(hardwareid=nil, sn=nil, createtime=nil, status=nil, activetime=nil, description=nil, deviceid=nil, licensechargingmode=nil, lastonlinetime=nil)
|
2191
|
+
def initialize(hardwareid=nil, sn=nil, createtime=nil, status=nil, activetime=nil, description=nil, deviceid=nil, licensechargingmode=nil, lastonlinetime=nil, licensepaymode=nil, payer=nil)
|
2076
2192
|
@HardwareId = hardwareid
|
2077
2193
|
@SN = sn
|
2078
2194
|
@CreateTime = createtime
|
@@ -2082,6 +2198,8 @@ module TencentCloud
|
|
2082
2198
|
@DeviceId = deviceid
|
2083
2199
|
@LicenseChargingMode = licensechargingmode
|
2084
2200
|
@LastOnlineTime = lastonlinetime
|
2201
|
+
@LicensePayMode = licensepaymode
|
2202
|
+
@Payer = payer
|
2085
2203
|
end
|
2086
2204
|
|
2087
2205
|
def deserialize(params)
|
@@ -2094,6 +2212,8 @@ module TencentCloud
|
|
2094
2212
|
@DeviceId = params['DeviceId']
|
2095
2213
|
@LicenseChargingMode = params['LicenseChargingMode']
|
2096
2214
|
@LastOnlineTime = params['LastOnlineTime']
|
2215
|
+
@LicensePayMode = params['LicensePayMode']
|
2216
|
+
@Payer = params['Payer']
|
2097
2217
|
end
|
2098
2218
|
end
|
2099
2219
|
|
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.802
|
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-04-
|
11
|
+
date: 2024-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|