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.
3418 3419 3420 3421 3422 |
# File 'lib/v20170312/models.rb', line 3418 def initialize(totalcount=nil, zoneset=nil, requestid=nil) @TotalCount = totalcount @ZoneSet = zoneset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3416 3417 3418 |
# File 'lib/v20170312/models.rb', line 3416 def RequestId @RequestId end |
#TotalCount ⇒ Object
3416 3417 3418 |
# File 'lib/v20170312/models.rb', line 3416 def TotalCount @TotalCount end |
#ZoneSet ⇒ Object
3416 3417 3418 |
# File 'lib/v20170312/models.rb', line 3416 def ZoneSet @ZoneSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 |
# File 'lib/v20170312/models.rb', line 3424 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 |