tencentcloud-sdk-mna 3.0.716 → 3.0.717
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/v20210119/client.rb +97 -1
- data/lib/v20210119/models.rb +293 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c0df1758eb22e2d35db0d5f1b58a49fc0ef7e1
|
4
|
+
data.tar.gz: 686bb64676956bd8a892d1f660c8245f37aa6ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d45f280cf40050d331adc5980e15ede9259d5188c16b78fb54858c22e454badc80ad43415e7203b3dbea06f717111b1c853ce2a1de8d5f42c434a68d697863d9
|
7
|
+
data.tar.gz: aa3e30f6802799d4a34142d8e21995019706ff245e70aea9b07aaf1ff93d48e94f6cf4b59ae157325b27f77b8525294c0dc6623fc5fbd521f6553aea375cc82f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.717
|
data/lib/v20210119/client.rb
CHANGED
@@ -245,6 +245,30 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 获取设备付费模式
|
249
|
+
|
250
|
+
# @param request: Request instance for GetDevicePayMode.
|
251
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::GetDevicePayModeRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::GetDevicePayModeResponse`
|
253
|
+
def GetDevicePayMode(request)
|
254
|
+
body = send_request('GetDevicePayMode', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = GetDevicePayModeResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
248
272
|
# 获取设备信息列表
|
249
273
|
|
250
274
|
# @param request: Request instance for GetDevices.
|
@@ -269,6 +293,30 @@ module TencentCloud
|
|
269
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
294
|
end
|
271
295
|
|
296
|
+
# 获取流量包列表
|
297
|
+
|
298
|
+
# @param request: Request instance for GetFlowPackages.
|
299
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::GetFlowPackagesRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::GetFlowPackagesResponse`
|
301
|
+
def GetFlowPackages(request)
|
302
|
+
body = send_request('GetFlowPackages', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = GetFlowPackagesResponse.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
|
+
|
272
320
|
# 获取指定设备Id,指定时间点数据流量使用情况
|
273
321
|
|
274
322
|
# @param request: Request instance for GetFlowStatistic.
|
@@ -293,7 +341,7 @@ module TencentCloud
|
|
293
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
342
|
end
|
295
343
|
|
296
|
-
#
|
344
|
+
# 获取厂商硬件列表
|
297
345
|
|
298
346
|
# @param request: Request instance for GetHardwareList.
|
299
347
|
# @type request: :class:`Tencentcloud::mna::V20210119::GetHardwareListRequest`
|
@@ -437,6 +485,54 @@ module TencentCloud
|
|
437
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
486
|
end
|
439
487
|
|
488
|
+
# 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
|
489
|
+
|
490
|
+
# @param request: Request instance for ModifyPackageRenewFlag.
|
491
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::ModifyPackageRenewFlagRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::ModifyPackageRenewFlagResponse`
|
493
|
+
def ModifyPackageRenewFlag(request)
|
494
|
+
body = send_request('ModifyPackageRenewFlag', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = ModifyPackageRenewFlagResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
512
|
+
# 购买预付费流量包
|
513
|
+
|
514
|
+
# @param request: Request instance for OrderFlowPackage.
|
515
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::OrderFlowPackageRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::OrderFlowPackageResponse`
|
517
|
+
def OrderFlowPackage(request)
|
518
|
+
body = send_request('OrderFlowPackage', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = OrderFlowPackageResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
440
536
|
# 更新设备信息
|
441
537
|
|
442
538
|
# @param request: Request instance for UpdateDevice.
|
data/lib/v20210119/models.rb
CHANGED
@@ -762,6 +762,37 @@ module TencentCloud
|
|
762
762
|
end
|
763
763
|
end
|
764
764
|
|
765
|
+
# 设备付费模式信息
|
766
|
+
class DevicePayModeInfo < TencentCloud::Common::AbstractModel
|
767
|
+
# @param DeviceId: 设备ID
|
768
|
+
# @type DeviceId: String
|
769
|
+
# @param PayMode: 付费模式。
|
770
|
+
# 1:预付费流量包
|
771
|
+
# 0:按流量后付费
|
772
|
+
# @type PayMode: Integer
|
773
|
+
# @param PayModeDesc: 付费模式描述
|
774
|
+
# @type PayModeDesc: String
|
775
|
+
# @param ResourceId: 流量包ID,仅当付费模式为流量包类型时才有。
|
776
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
777
|
+
# @type ResourceId: String
|
778
|
+
|
779
|
+
attr_accessor :DeviceId, :PayMode, :PayModeDesc, :ResourceId
|
780
|
+
|
781
|
+
def initialize(deviceid=nil, paymode=nil, paymodedesc=nil, resourceid=nil)
|
782
|
+
@DeviceId = deviceid
|
783
|
+
@PayMode = paymode
|
784
|
+
@PayModeDesc = paymodedesc
|
785
|
+
@ResourceId = resourceid
|
786
|
+
end
|
787
|
+
|
788
|
+
def deserialize(params)
|
789
|
+
@DeviceId = params['DeviceId']
|
790
|
+
@PayMode = params['PayMode']
|
791
|
+
@PayModeDesc = params['PayModeDesc']
|
792
|
+
@ResourceId = params['ResourceId']
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
765
796
|
# 用户期望门限
|
766
797
|
class ExpectedThreshold < TencentCloud::Common::AbstractModel
|
767
798
|
# @param RTT: 期望发起加速的时延阈值
|
@@ -830,6 +861,109 @@ module TencentCloud
|
|
830
861
|
end
|
831
862
|
end
|
832
863
|
|
864
|
+
# 流量包信息
|
865
|
+
class FlowPackageInfo < TencentCloud::Common::AbstractModel
|
866
|
+
# @param ResourceId: 流量包的唯一资源ID
|
867
|
+
# @type ResourceId: String
|
868
|
+
# @param AppId: 流量包所属的用户AppId
|
869
|
+
# @type AppId: Integer
|
870
|
+
# @param PackageType: 流量包规格类型。可取值如下:
|
871
|
+
# DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
872
|
+
# DEVICE_3_FLOW_100G、
|
873
|
+
# DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
874
|
+
# 档位也影响流量包可绑定的设备数量上限:
|
875
|
+
# 20G:最多绑定1个设备
|
876
|
+
# 50G:最多绑定2个设备
|
877
|
+
# 100G:最多绑定3个设备
|
878
|
+
# 500G:最多绑定5个设备
|
879
|
+
# @type PackageType: String
|
880
|
+
# @param Status: 流量包状态,0:未生效,1:有效期内,2:已过期
|
881
|
+
# @type Status: Integer
|
882
|
+
# @param ActiveTime: 生效时间,Unix时间戳格式,单位:秒
|
883
|
+
# @type ActiveTime: Integer
|
884
|
+
# @param ExpireTime: 过期时间,Unix时间戳格式,单位:秒
|
885
|
+
# @type ExpireTime: Integer
|
886
|
+
# @param DeviceList: 流量包绑定的设备ID列表
|
887
|
+
# @type DeviceList: Array
|
888
|
+
# @param CapacitySize: 流量包总容量,单位:MB
|
889
|
+
# @type CapacitySize: Integer
|
890
|
+
# @param CapacityRemain: 流量包余量,单位:MB
|
891
|
+
# @type CapacityRemain: Integer
|
892
|
+
# @param RenewFlag: 自动续费标识。true代表自动续费,false代表不自动续费
|
893
|
+
# @type RenewFlag: Boolean
|
894
|
+
|
895
|
+
attr_accessor :ResourceId, :AppId, :PackageType, :Status, :ActiveTime, :ExpireTime, :DeviceList, :CapacitySize, :CapacityRemain, :RenewFlag
|
896
|
+
|
897
|
+
def initialize(resourceid=nil, appid=nil, packagetype=nil, status=nil, activetime=nil, expiretime=nil, devicelist=nil, capacitysize=nil, capacityremain=nil, renewflag=nil)
|
898
|
+
@ResourceId = resourceid
|
899
|
+
@AppId = appid
|
900
|
+
@PackageType = packagetype
|
901
|
+
@Status = status
|
902
|
+
@ActiveTime = activetime
|
903
|
+
@ExpireTime = expiretime
|
904
|
+
@DeviceList = devicelist
|
905
|
+
@CapacitySize = capacitysize
|
906
|
+
@CapacityRemain = capacityremain
|
907
|
+
@RenewFlag = renewflag
|
908
|
+
end
|
909
|
+
|
910
|
+
def deserialize(params)
|
911
|
+
@ResourceId = params['ResourceId']
|
912
|
+
@AppId = params['AppId']
|
913
|
+
@PackageType = params['PackageType']
|
914
|
+
@Status = params['Status']
|
915
|
+
@ActiveTime = params['ActiveTime']
|
916
|
+
@ExpireTime = params['ExpireTime']
|
917
|
+
@DeviceList = params['DeviceList']
|
918
|
+
@CapacitySize = params['CapacitySize']
|
919
|
+
@CapacityRemain = params['CapacityRemain']
|
920
|
+
@RenewFlag = params['RenewFlag']
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
# GetDevicePayMode请求参数结构体
|
925
|
+
class GetDevicePayModeRequest < TencentCloud::Common::AbstractModel
|
926
|
+
# @param DeviceIdList: 设备ID列表
|
927
|
+
# @type DeviceIdList: Array
|
928
|
+
|
929
|
+
attr_accessor :DeviceIdList
|
930
|
+
|
931
|
+
def initialize(deviceidlist=nil)
|
932
|
+
@DeviceIdList = deviceidlist
|
933
|
+
end
|
934
|
+
|
935
|
+
def deserialize(params)
|
936
|
+
@DeviceIdList = params['DeviceIdList']
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# GetDevicePayMode返回参数结构体
|
941
|
+
class GetDevicePayModeResponse < TencentCloud::Common::AbstractModel
|
942
|
+
# @param Result: 结果信息
|
943
|
+
# @type Result: Array
|
944
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
945
|
+
# @type RequestId: String
|
946
|
+
|
947
|
+
attr_accessor :Result, :RequestId
|
948
|
+
|
949
|
+
def initialize(result=nil, requestid=nil)
|
950
|
+
@Result = result
|
951
|
+
@RequestId = requestid
|
952
|
+
end
|
953
|
+
|
954
|
+
def deserialize(params)
|
955
|
+
unless params['Result'].nil?
|
956
|
+
@Result = []
|
957
|
+
params['Result'].each do |i|
|
958
|
+
devicepaymodeinfo_tmp = DevicePayModeInfo.new
|
959
|
+
devicepaymodeinfo_tmp.deserialize(i)
|
960
|
+
@Result << devicepaymodeinfo_tmp
|
961
|
+
end
|
962
|
+
end
|
963
|
+
@RequestId = params['RequestId']
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
833
967
|
# GetDevice请求参数结构体
|
834
968
|
class GetDeviceRequest < TencentCloud::Common::AbstractModel
|
835
969
|
# @param DeviceId: 搜索指定设备的id
|
@@ -935,6 +1069,69 @@ module TencentCloud
|
|
935
1069
|
end
|
936
1070
|
end
|
937
1071
|
|
1072
|
+
# GetFlowPackages请求参数结构体
|
1073
|
+
class GetFlowPackagesRequest < TencentCloud::Common::AbstractModel
|
1074
|
+
# @param PageNumber: 页码,从1开始
|
1075
|
+
# @type PageNumber: Integer
|
1076
|
+
# @param PageSize: 每页个数
|
1077
|
+
# @type PageSize: Integer
|
1078
|
+
# @param ResourceId: 流量包的唯一资源ID
|
1079
|
+
# @type ResourceId: String
|
1080
|
+
# @param DeviceId: 流量包绑定的设备ID
|
1081
|
+
# @type DeviceId: String
|
1082
|
+
# @param Status: 流量包状态,0:未生效,1:有效期内,2:已过期
|
1083
|
+
# @type Status: Integer
|
1084
|
+
|
1085
|
+
attr_accessor :PageNumber, :PageSize, :ResourceId, :DeviceId, :Status
|
1086
|
+
|
1087
|
+
def initialize(pagenumber=nil, pagesize=nil, resourceid=nil, deviceid=nil, status=nil)
|
1088
|
+
@PageNumber = pagenumber
|
1089
|
+
@PageSize = pagesize
|
1090
|
+
@ResourceId = resourceid
|
1091
|
+
@DeviceId = deviceid
|
1092
|
+
@Status = status
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
def deserialize(params)
|
1096
|
+
@PageNumber = params['PageNumber']
|
1097
|
+
@PageSize = params['PageSize']
|
1098
|
+
@ResourceId = params['ResourceId']
|
1099
|
+
@DeviceId = params['DeviceId']
|
1100
|
+
@Status = params['Status']
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# GetFlowPackages返回参数结构体
|
1105
|
+
class GetFlowPackagesResponse < TencentCloud::Common::AbstractModel
|
1106
|
+
# @param PackageList: 流量包列表
|
1107
|
+
# @type PackageList: Array
|
1108
|
+
# @param Total: 总数
|
1109
|
+
# @type Total: Integer
|
1110
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1111
|
+
# @type RequestId: String
|
1112
|
+
|
1113
|
+
attr_accessor :PackageList, :Total, :RequestId
|
1114
|
+
|
1115
|
+
def initialize(packagelist=nil, total=nil, requestid=nil)
|
1116
|
+
@PackageList = packagelist
|
1117
|
+
@Total = total
|
1118
|
+
@RequestId = requestid
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
def deserialize(params)
|
1122
|
+
unless params['PackageList'].nil?
|
1123
|
+
@PackageList = []
|
1124
|
+
params['PackageList'].each do |i|
|
1125
|
+
flowpackageinfo_tmp = FlowPackageInfo.new
|
1126
|
+
flowpackageinfo_tmp.deserialize(i)
|
1127
|
+
@PackageList << flowpackageinfo_tmp
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
@Total = params['Total']
|
1131
|
+
@RequestId = params['RequestId']
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
938
1135
|
# GetFlowStatistic请求参数结构体
|
939
1136
|
class GetFlowStatisticRequest < TencentCloud::Common::AbstractModel
|
940
1137
|
# @param DeviceId: 设备ID
|
@@ -1419,6 +1616,42 @@ module TencentCloud
|
|
1419
1616
|
end
|
1420
1617
|
end
|
1421
1618
|
|
1619
|
+
# ModifyPackageRenewFlag请求参数结构体
|
1620
|
+
class ModifyPackageRenewFlagRequest < TencentCloud::Common::AbstractModel
|
1621
|
+
# @param ResourceId: 流量包的唯一资源ID
|
1622
|
+
# @type ResourceId: String
|
1623
|
+
# @param RenewFlag: 自动续费标识。true代表自动续费,false代表不自动续费
|
1624
|
+
# @type RenewFlag: Boolean
|
1625
|
+
|
1626
|
+
attr_accessor :ResourceId, :RenewFlag
|
1627
|
+
|
1628
|
+
def initialize(resourceid=nil, renewflag=nil)
|
1629
|
+
@ResourceId = resourceid
|
1630
|
+
@RenewFlag = renewflag
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
def deserialize(params)
|
1634
|
+
@ResourceId = params['ResourceId']
|
1635
|
+
@RenewFlag = params['RenewFlag']
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# ModifyPackageRenewFlag返回参数结构体
|
1640
|
+
class ModifyPackageRenewFlagResponse < TencentCloud::Common::AbstractModel
|
1641
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1642
|
+
# @type RequestId: String
|
1643
|
+
|
1644
|
+
attr_accessor :RequestId
|
1645
|
+
|
1646
|
+
def initialize(requestid=nil)
|
1647
|
+
@RequestId = requestid
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
def deserialize(params)
|
1651
|
+
@RequestId = params['RequestId']
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1422
1655
|
# 流量监控指标
|
1423
1656
|
class MonitorData < TencentCloud::Common::AbstractModel
|
1424
1657
|
# @param Time: 时间点:s
|
@@ -1500,6 +1733,66 @@ module TencentCloud
|
|
1500
1733
|
end
|
1501
1734
|
end
|
1502
1735
|
|
1736
|
+
# OrderFlowPackage请求参数结构体
|
1737
|
+
class OrderFlowPackageRequest < TencentCloud::Common::AbstractModel
|
1738
|
+
# @param PackageType: 流量包规格类型。可取值如下:
|
1739
|
+
# DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
1740
|
+
# DEVICE_3_FLOW_100G、
|
1741
|
+
# DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
1742
|
+
# 档位也影响流量包可绑定的设备数量上限:
|
1743
|
+
# 20G:最多绑定1个设备
|
1744
|
+
# 50G:最多绑定2个设备
|
1745
|
+
# 100G:最多绑定3个设备
|
1746
|
+
# 500G:最多绑定5个设备
|
1747
|
+
# @type PackageType: String
|
1748
|
+
# @param DeviceList: 流量包绑定的设备ID列表。捆绑设备个数上限取决于包的规格档位:
|
1749
|
+
# 20G:最多绑定1个设备
|
1750
|
+
# 50G:最多绑定2个设备
|
1751
|
+
# 100G:最多绑定3个设备
|
1752
|
+
# 500G:最多绑定5个设备
|
1753
|
+
# @type DeviceList: Array
|
1754
|
+
# @param AutoRenewFlag: 是否自动续费
|
1755
|
+
# @type AutoRenewFlag: Boolean
|
1756
|
+
# @param PackageRegion: 区域标识,0:国内,1:国外
|
1757
|
+
# @type PackageRegion: Integer
|
1758
|
+
|
1759
|
+
attr_accessor :PackageType, :DeviceList, :AutoRenewFlag, :PackageRegion
|
1760
|
+
|
1761
|
+
def initialize(packagetype=nil, devicelist=nil, autorenewflag=nil, packageregion=nil)
|
1762
|
+
@PackageType = packagetype
|
1763
|
+
@DeviceList = devicelist
|
1764
|
+
@AutoRenewFlag = autorenewflag
|
1765
|
+
@PackageRegion = packageregion
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
def deserialize(params)
|
1769
|
+
@PackageType = params['PackageType']
|
1770
|
+
@DeviceList = params['DeviceList']
|
1771
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
1772
|
+
@PackageRegion = params['PackageRegion']
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# OrderFlowPackage返回参数结构体
|
1777
|
+
class OrderFlowPackageResponse < TencentCloud::Common::AbstractModel
|
1778
|
+
# @param ResourceId: 流量包的唯一资源ID
|
1779
|
+
# @type ResourceId: String
|
1780
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1781
|
+
# @type RequestId: String
|
1782
|
+
|
1783
|
+
attr_accessor :ResourceId, :RequestId
|
1784
|
+
|
1785
|
+
def initialize(resourceid=nil, requestid=nil)
|
1786
|
+
@ResourceId = resourceid
|
1787
|
+
@RequestId = requestid
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
def deserialize(params)
|
1791
|
+
@ResourceId = params['ResourceId']
|
1792
|
+
@RequestId = params['RequestId']
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1503
1796
|
# 网卡流量指标数据
|
1504
1797
|
class SlotNetInfo < TencentCloud::Common::AbstractModel
|
1505
1798
|
# @param NetInfoName: 网卡名
|