Class: TencentCloud::Postgres::V20170312::DescribeZonesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::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.
4580 4581 4582 4583 4584 |
# File 'lib/v20170312/models.rb', line 4580 def initialize(totalcount=nil, zoneset=nil, requestid=nil) @TotalCount = totalcount @ZoneSet = zoneset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4578 4579 4580 |
# File 'lib/v20170312/models.rb', line 4578 def RequestId @RequestId end |
#TotalCount ⇒ Object
4578 4579 4580 |
# File 'lib/v20170312/models.rb', line 4578 def TotalCount @TotalCount end |
#ZoneSet ⇒ Object
4578 4579 4580 |
# File 'lib/v20170312/models.rb', line 4578 def ZoneSet @ZoneSet end |
Instance Method Details
#deserialize(params) ⇒ Object
4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 |
# File 'lib/v20170312/models.rb', line 4586 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 |