Class: TencentCloud::Teo::V20220106::DescribeZonesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220106::DescribeZonesResponse
- Defined in:
- lib/v20220106/models.rb
Overview
DescribeZones返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, zones = nil, requestid = nil) ⇒ DescribeZonesResponse
constructor
A new instance of DescribeZonesResponse.
Constructor Details
#initialize(totalcount = nil, zones = nil, requestid = nil) ⇒ DescribeZonesResponse
Returns a new instance of DescribeZonesResponse.
368 369 370 371 372 |
# File 'lib/v20220106/models.rb', line 368 def initialize(totalcount=nil, zones=nil, requestid=nil) @TotalCount = totalcount @Zones = zones @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
366 367 368 |
# File 'lib/v20220106/models.rb', line 366 def RequestId @RequestId end |
#TotalCount ⇒ Object
366 367 368 |
# File 'lib/v20220106/models.rb', line 366 def TotalCount @TotalCount end |
#Zones ⇒ Object
366 367 368 |
# File 'lib/v20220106/models.rb', line 366 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/v20220106/models.rb', line 374 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Zones'].nil? @Zones = [] params['Zones'].each do |i| zone_tmp = Zone.new zone_tmp.deserialize(i) @Zones << zone_tmp end end @RequestId = params['RequestId'] end |