Class: TencentCloud::Cdn::V20180606::DescribeScdnBotDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeScdnBotDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeScdnBotData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, interval = nil, requestid = nil) ⇒ DescribeScdnBotDataResponse
constructor
A new instance of DescribeScdnBotDataResponse.
Constructor Details
#initialize(data = nil, interval = nil, requestid = nil) ⇒ DescribeScdnBotDataResponse
Returns a new instance of DescribeScdnBotDataResponse.
5533 5534 5535 5536 5537 |
# File 'lib/v20180606/models.rb', line 5533 def initialize(data=nil, interval=nil, requestid=nil) @Data = data @Interval = interval @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
5531 5532 5533 |
# File 'lib/v20180606/models.rb', line 5531 def Data @Data end |
#Interval ⇒ Object
5531 5532 5533 |
# File 'lib/v20180606/models.rb', line 5531 def Interval @Interval end |
#RequestId ⇒ Object
5531 5532 5533 |
# File 'lib/v20180606/models.rb', line 5531 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 |
# File 'lib/v20180606/models.rb', line 5539 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| botstats_tmp = BotStats.new botstats_tmp.deserialize(i) @Data << botstats_tmp end end @Interval = params['Interval'] @RequestId = params['RequestId'] end |