Class: TencentCloud::Cwp::V20180228::DescribeProtectNetListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeProtectNetListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeProtectNetList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeProtectNetListResponse
constructor
A new instance of DescribeProtectNetListResponse.
Constructor Details
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeProtectNetListResponse
Returns a new instance of DescribeProtectNetListResponse.
19448 19449 19450 19451 19452 |
# File 'lib/v20180228/models.rb', line 19448 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19446 19447 19448 |
# File 'lib/v20180228/models.rb', line 19446 def List @List end |
#RequestId ⇒ Object
19446 19447 19448 |
# File 'lib/v20180228/models.rb', line 19446 def RequestId @RequestId end |
#TotalCount ⇒ Object
19446 19447 19448 |
# File 'lib/v20180228/models.rb', line 19446 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 |
# File 'lib/v20180228/models.rb', line 19454 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| protectnetinfo_tmp = ProtectNetInfo.new protectnetinfo_tmp.deserialize(i) @List << protectnetinfo_tmp end end @RequestId = params['RequestId'] end |