Class: TencentCloud::Sqlserver::V20180328::DescribeZonesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeZonesResponse
- Defined in:
- lib/v20180328/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.
7241 7242 7243 7244 7245 |
# File 'lib/v20180328/models.rb', line 7241 def initialize(totalcount=nil, zoneset=nil, requestid=nil) @TotalCount = totalcount @ZoneSet = zoneset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7239 7240 7241 |
# File 'lib/v20180328/models.rb', line 7239 def RequestId @RequestId end |
#TotalCount ⇒ Object
7239 7240 7241 |
# File 'lib/v20180328/models.rb', line 7239 def TotalCount @TotalCount end |
#ZoneSet ⇒ Object
7239 7240 7241 |
# File 'lib/v20180328/models.rb', line 7239 def ZoneSet @ZoneSet end |
Instance Method Details
#deserialize(params) ⇒ Object
7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 |
# File 'lib/v20180328/models.rb', line 7247 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 |