Class: TencentCloud::Cwp::V20180228::DescribeProtectDirRelatedServerResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeProtectDirRelatedServerResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeProtectDirRelatedServer返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, protectservercount = nil, requestid = nil) ⇒ DescribeProtectDirRelatedServerResponse
constructor
A new instance of DescribeProtectDirRelatedServerResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, protectservercount = nil, requestid = nil) ⇒ DescribeProtectDirRelatedServerResponse
Returns a new instance of DescribeProtectDirRelatedServerResponse.
19374 19375 19376 19377 19378 19379 |
# File 'lib/v20180228/models.rb', line 19374 def initialize(list=nil, totalcount=nil, protectservercount=nil, requestid=nil) @List = list @TotalCount = totalcount @ProtectServerCount = protectservercount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19372 19373 19374 |
# File 'lib/v20180228/models.rb', line 19372 def List @List end |
#ProtectServerCount ⇒ Object
19372 19373 19374 |
# File 'lib/v20180228/models.rb', line 19372 def ProtectServerCount @ProtectServerCount end |
#RequestId ⇒ Object
19372 19373 19374 |
# File 'lib/v20180228/models.rb', line 19372 def RequestId @RequestId end |
#TotalCount ⇒ Object
19372 19373 19374 |
# File 'lib/v20180228/models.rb', line 19372 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 |
# File 'lib/v20180228/models.rb', line 19381 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| = .new .deserialize(i) @List << end end @TotalCount = params['TotalCount'] @ProtectServerCount = params['ProtectServerCount'] @RequestId = params['RequestId'] end |