Class: TencentCloud::Yunjing::V20180228::DescribeImpactedHostsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeImpactedHostsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeImpactedHosts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, impactedhosts = nil, requestid = nil) ⇒ DescribeImpactedHostsResponse
constructor
A new instance of DescribeImpactedHostsResponse.
Constructor Details
#initialize(totalcount = nil, impactedhosts = nil, requestid = nil) ⇒ DescribeImpactedHostsResponse
Returns a new instance of DescribeImpactedHostsResponse.
2239 2240 2241 2242 2243 |
# File 'lib/v20180228/models.rb', line 2239 def initialize(totalcount=nil, impactedhosts=nil, requestid=nil) @TotalCount = totalcount @ImpactedHosts = impactedhosts @RequestId = requestid end |
Instance Attribute Details
#ImpactedHosts ⇒ Object
2237 2238 2239 |
# File 'lib/v20180228/models.rb', line 2237 def ImpactedHosts @ImpactedHosts end |
#RequestId ⇒ Object
2237 2238 2239 |
# File 'lib/v20180228/models.rb', line 2237 def RequestId @RequestId end |
#TotalCount ⇒ Object
2237 2238 2239 |
# File 'lib/v20180228/models.rb', line 2237 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 |
# File 'lib/v20180228/models.rb', line 2245 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ImpactedHosts'].nil? @ImpactedHosts = [] params['ImpactedHosts'].each do |i| impactedhost_tmp = ImpactedHost.new impactedhost_tmp.deserialize(i) @ImpactedHosts << impactedhost_tmp end end @RequestId = params['RequestId'] end |