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.
20090 20091 20092 20093 20094 |
# File 'lib/v20180228/models.rb', line 20090 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
20088 20089 20090 |
# File 'lib/v20180228/models.rb', line 20088 def List @List end |
#RequestId ⇒ Object
20088 20089 20090 |
# File 'lib/v20180228/models.rb', line 20088 def RequestId @RequestId end |
#TotalCount ⇒ Object
20088 20089 20090 |
# File 'lib/v20180228/models.rb', line 20088 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 |
# File 'lib/v20180228/models.rb', line 20096 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 |