Class: TencentCloud::Cvm::V20170312::DescribeZonesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DescribeZonesResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeZones返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, zoneset = nil, requestid = nil) ⇒ DescribeZonesResponse
constructor
A new instance of DescribeZonesResponse.
Constructor Details
#initialize(totalcount = nil, zoneset = nil, requestid = nil) ⇒ DescribeZonesResponse
Returns a new instance of DescribeZonesResponse.
3513 3514 3515 3516 3517 |
# File 'lib/v20170312/models.rb', line 3513 def initialize(totalcount=nil, zoneset=nil, requestid=nil) @TotalCount = totalcount @ZoneSet = zoneset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3511 3512 3513 |
# File 'lib/v20170312/models.rb', line 3511 def RequestId @RequestId end |
#TotalCount ⇒ Object
3511 3512 3513 |
# File 'lib/v20170312/models.rb', line 3511 def TotalCount @TotalCount end |
#ZoneSet ⇒ Object
3511 3512 3513 |
# File 'lib/v20170312/models.rb', line 3511 def ZoneSet @ZoneSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 |
# File 'lib/v20170312/models.rb', line 3519 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ZoneSet'].nil? @ZoneSet = [] params['ZoneSet'].each do |i| zoneinfo_tmp = ZoneInfo.new zoneinfo_tmp.deserialize(i) @ZoneSet << zoneinfo_tmp end end @RequestId = params['RequestId'] end |