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.
14295 14296 14297 14298 14299 14300 |
# File 'lib/v20180228/models.rb', line 14295 def initialize(list=nil, totalcount=nil, existsrisk=nil, requestid=nil) @List = list @TotalCount = totalcount @ExistsRisk = existsrisk @RequestId = requestid end |
Instance Attribute Details
#ExistsRisk ⇒ Object
14293 14294 14295 |
# File 'lib/v20180228/models.rb', line 14293 def ExistsRisk @ExistsRisk end |
#List ⇒ Object
14293 14294 14295 |
# File 'lib/v20180228/models.rb', line 14293 def List @List end |
#RequestId ⇒ Object
14293 14294 14295 |
# File 'lib/v20180228/models.rb', line 14293 def RequestId @RequestId end |
#TotalCount ⇒ Object
14293 14294 14295 |
# File 'lib/v20180228/models.rb', line 14293 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 |
# File 'lib/v20180228/models.rb', line 14302 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 |