Class: TencentCloud::Cwp::V20180228::DescribeEmergencyVulListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeEmergencyVulListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeEmergencyVulList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, existsrisk = nil, requestid = nil) ⇒ DescribeEmergencyVulListResponse
constructor
A new instance of DescribeEmergencyVulListResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, existsrisk = nil, requestid = nil) ⇒ DescribeEmergencyVulListResponse
Returns a new instance of DescribeEmergencyVulListResponse.
14446 14447 14448 14449 14450 14451 |
# File 'lib/v20180228/models.rb', line 14446 def initialize(list=nil, totalcount=nil, existsrisk=nil, requestid=nil) @List = list @TotalCount = totalcount @ExistsRisk = existsrisk @RequestId = requestid end |
Instance Attribute Details
#ExistsRisk ⇒ Object
14444 14445 14446 |
# File 'lib/v20180228/models.rb', line 14444 def ExistsRisk @ExistsRisk end |
#List ⇒ Object
14444 14445 14446 |
# File 'lib/v20180228/models.rb', line 14444 def List @List end |
#RequestId ⇒ Object
14444 14445 14446 |
# File 'lib/v20180228/models.rb', line 14444 def RequestId @RequestId end |
#TotalCount ⇒ Object
14444 14445 14446 |
# File 'lib/v20180228/models.rb', line 14444 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 |
# File 'lib/v20180228/models.rb', line 14453 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| emergencyvul_tmp = EmergencyVul.new emergencyvul_tmp.deserialize(i) @List << emergencyvul_tmp end end @TotalCount = params['TotalCount'] @ExistsRisk = params['ExistsRisk'] @RequestId = params['RequestId'] end |