Class: TencentCloud::Waf::V20180125::IpHitItemsData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::IpHitItemsData
- Defined in:
- lib/v20180125/models.rb
Overview
封装参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(res = nil, totalcount = nil) ⇒ IpHitItemsData
constructor
A new instance of IpHitItemsData.
Constructor Details
#initialize(res = nil, totalcount = nil) ⇒ IpHitItemsData
Returns a new instance of IpHitItemsData.
9045 9046 9047 9048 |
# File 'lib/v20180125/models.rb', line 9045 def initialize(res=nil, totalcount=nil) @Res = res @TotalCount = totalcount end |
Instance Attribute Details
#Res ⇒ Object
9043 9044 9045 |
# File 'lib/v20180125/models.rb', line 9043 def Res @Res end |
#TotalCount ⇒ Object
9043 9044 9045 |
# File 'lib/v20180125/models.rb', line 9043 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 |
# File 'lib/v20180125/models.rb', line 9050 def deserialize(params) unless params['Res'].nil? @Res = [] params['Res'].each do |i| iphititem_tmp = IpHitItem.new iphititem_tmp.deserialize(i) @Res << iphititem_tmp end end @TotalCount = params['TotalCount'] end |