Class: TencentCloud::Cwp::V20180228::DescribeProtectDirListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeProtectDirListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeProtectDirList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeProtectDirListResponse
constructor
A new instance of DescribeProtectDirListResponse.
Constructor Details
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeProtectDirListResponse
Returns a new instance of DescribeProtectDirListResponse.
19298 19299 19300 19301 19302 |
# File 'lib/v20180228/models.rb', line 19298 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19296 19297 19298 |
# File 'lib/v20180228/models.rb', line 19296 def List @List end |
#RequestId ⇒ Object
19296 19297 19298 |
# File 'lib/v20180228/models.rb', line 19296 def RequestId @RequestId end |
#TotalCount ⇒ Object
19296 19297 19298 |
# File 'lib/v20180228/models.rb', line 19296 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 |
# File 'lib/v20180228/models.rb', line 19304 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| protectdirinfo_tmp = ProtectDirInfo.new protectdirinfo_tmp.deserialize(i) @List << protectdirinfo_tmp end end @RequestId = params['RequestId'] end |