Class: TencentCloud::Cdn::V20180606::DescribeScdnBotRecordsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeScdnBotRecordsResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeScdnBotRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ DescribeScdnBotRecordsResponse
constructor
A new instance of DescribeScdnBotRecordsResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ DescribeScdnBotRecordsResponse
Returns a new instance of DescribeScdnBotRecordsResponse.
5694 5695 5696 5697 5698 |
# File 'lib/v20180606/models.rb', line 5694 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
5692 5693 5694 |
# File 'lib/v20180606/models.rb', line 5692 def Data @Data end |
#RequestId ⇒ Object
5692 5693 5694 |
# File 'lib/v20180606/models.rb', line 5692 def RequestId @RequestId end |
#TotalCount ⇒ Object
5692 5693 5694 |
# File 'lib/v20180606/models.rb', line 5692 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 |
# File 'lib/v20180606/models.rb', line 5700 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| botrecord_tmp = BotRecord.new botrecord_tmp.deserialize(i) @Data << botrecord_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |