Class: TencentCloud::Teo::V20220901::DescribeZonesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeZonesResponse
- Defined in:
- lib/v20220901/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.
11666 11667 11668 11669 11670 |
# File 'lib/v20220901/models.rb', line 11666 def initialize(totalcount=nil, zones=nil, requestid=nil) @TotalCount = totalcount @Zones = zones @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11664 11665 11666 |
# File 'lib/v20220901/models.rb', line 11664 def RequestId @RequestId end |
#TotalCount ⇒ Object
11664 11665 11666 |
# File 'lib/v20220901/models.rb', line 11664 def TotalCount @TotalCount end |
#Zones ⇒ Object
11664 11665 11666 |
# File 'lib/v20220901/models.rb', line 11664 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 |
# File 'lib/v20220901/models.rb', line 11672 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 |