Class: TencentCloud::Cwp::V20180228::DescribeEmergencyResponseListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeEmergencyResponseListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeEmergencyResponseList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeEmergencyResponseListResponse
constructor
A new instance of DescribeEmergencyResponseListResponse.
Constructor Details
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeEmergencyResponseListResponse
Returns a new instance of DescribeEmergencyResponseListResponse.
14365 14366 14367 14368 14369 |
# File 'lib/v20180228/models.rb', line 14365 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
14363 14364 14365 |
# File 'lib/v20180228/models.rb', line 14363 def List @List end |
#RequestId ⇒ Object
14363 14364 14365 |
# File 'lib/v20180228/models.rb', line 14363 def RequestId @RequestId end |
#TotalCount ⇒ Object
14363 14364 14365 |
# File 'lib/v20180228/models.rb', line 14363 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 |
# File 'lib/v20180228/models.rb', line 14371 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| emergencyresponseinfo_tmp = EmergencyResponseInfo.new emergencyresponseinfo_tmp.deserialize(i) @List << emergencyresponseinfo_tmp end end @RequestId = params['RequestId'] end |