Class: TencentCloud::Waf::V20180125::SessionData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::SessionData
- Defined in:
- lib/v20180125/models.rb
Overview
参数包装
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(res = nil) ⇒ SessionData
constructor
A new instance of SessionData.
Constructor Details
#initialize(res = nil) ⇒ SessionData
Returns a new instance of SessionData.
12375 12376 12377 |
# File 'lib/v20180125/models.rb', line 12375 def initialize(res=nil) @Res = res end |
Instance Attribute Details
#Res ⇒ Object
12373 12374 12375 |
# File 'lib/v20180125/models.rb', line 12373 def Res @Res end |
Instance Method Details
#deserialize(params) ⇒ Object
12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 |
# File 'lib/v20180125/models.rb', line 12379 def deserialize(params) unless params['Res'].nil? @Res = [] params['Res'].each do |i| sessionitem_tmp = SessionItem.new sessionitem_tmp.deserialize(i) @Res << sessionitem_tmp end end end |