Class: TencentCloud::Yunjing::V20180228::DescribeReverseShellRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::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.
3385 3386 3387 3388 3389 |
# File 'lib/v20180228/models.rb', line 3385 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
3383 3384 3385 |
# File 'lib/v20180228/models.rb', line 3383 def List @List end |
#RequestId ⇒ Object
3383 3384 3385 |
# File 'lib/v20180228/models.rb', line 3383 def RequestId @RequestId end |
#TotalCount ⇒ Object
3383 3384 3385 |
# File 'lib/v20180228/models.rb', line 3383 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 |
# File 'lib/v20180228/models.rb', line 3391 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 |