Class: TencentCloud::Cwp::V20180228::DescribeReverseShellRulesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeReverseShellRulesResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeReverseShellRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeReverseShellRulesResponse
constructor
A new instance of DescribeReverseShellRulesResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeReverseShellRulesResponse
Returns a new instance of DescribeReverseShellRulesResponse.
20494 20495 20496 20497 20498 |
# File 'lib/v20180228/models.rb', line 20494 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
20492 20493 20494 |
# File 'lib/v20180228/models.rb', line 20492 def List @List end |
#RequestId ⇒ Object
20492 20493 20494 |
# File 'lib/v20180228/models.rb', line 20492 def RequestId @RequestId end |
#TotalCount ⇒ Object
20492 20493 20494 |
# File 'lib/v20180228/models.rb', line 20492 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 |
# File 'lib/v20180228/models.rb', line 20500 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| reverseshellrule_tmp = ReverseShellRule.new reverseshellrule_tmp.deserialize(i) @List << reverseshellrule_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |