Class: TencentCloud::Cdn::V20180606::DescribeDDoSDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeDDoSDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeDDoSData返回参数结构体
Instance Attribute Summary collapse
-
#AttackBandwidthData ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
-
#Data ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
-
#Interval ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
-
#RequestId ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, interval = nil, attackbandwidthdata = nil, requestid = nil) ⇒ DescribeDDoSDataResponse
constructor
A new instance of DescribeDDoSDataResponse.
Constructor Details
#initialize(data = nil, interval = nil, attackbandwidthdata = nil, requestid = nil) ⇒ DescribeDDoSDataResponse
Returns a new instance of DescribeDDoSDataResponse.
4107 4108 4109 4110 4111 4112 |
# File 'lib/v20180606/models.rb', line 4107 def initialize(data=nil, interval=nil, attackbandwidthdata=nil, requestid=nil) @Data = data @Interval = interval @AttackBandwidthData = attackbandwidthdata @RequestId = requestid end |
Instance Attribute Details
#AttackBandwidthData ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
4105 4106 4107 |
# File 'lib/v20180606/models.rb', line 4105 def AttackBandwidthData @AttackBandwidthData end |
#Data ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
4105 4106 4107 |
# File 'lib/v20180606/models.rb', line 4105 def Data @Data end |
#Interval ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
4105 4106 4107 |
# File 'lib/v20180606/models.rb', line 4105 def Interval @Interval end |
#RequestId ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
4105 4106 4107 |
# File 'lib/v20180606/models.rb', line 4105 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 |
# File 'lib/v20180606/models.rb', line 4114 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| ddosstatsdata_tmp = DDoSStatsData.new ddosstatsdata_tmp.deserialize(i) @Data << ddosstatsdata_tmp end end @Interval = params['Interval'] unless params['AttackBandwidthData'].nil? @AttackBandwidthData = [] params['AttackBandwidthData'].each do |i| ddosattackbandwidthdata_tmp = DDoSAttackBandwidthData.new ddosattackbandwidthdata_tmp.deserialize(i) @AttackBandwidthData << ddosattackbandwidthdata_tmp end end @RequestId = params['RequestId'] end |