Class: TencentCloud::Postgres::V20170312::DescribeRegionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeRegionsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeRegions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, regionset = nil, requestid = nil) ⇒ DescribeRegionsResponse
constructor
A new instance of DescribeRegionsResponse.
Constructor Details
#initialize(totalcount = nil, regionset = nil, requestid = nil) ⇒ DescribeRegionsResponse
Returns a new instance of DescribeRegionsResponse.
4306 4307 4308 4309 4310 |
# File 'lib/v20170312/models.rb', line 4306 def initialize(totalcount=nil, regionset=nil, requestid=nil) @TotalCount = totalcount @RegionSet = regionset @RequestId = requestid end |
Instance Attribute Details
#RegionSet ⇒ Object
4304 4305 4306 |
# File 'lib/v20170312/models.rb', line 4304 def RegionSet @RegionSet end |
#RequestId ⇒ Object
4304 4305 4306 |
# File 'lib/v20170312/models.rb', line 4304 def RequestId @RequestId end |
#TotalCount ⇒ Object
4304 4305 4306 |
# File 'lib/v20170312/models.rb', line 4304 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 |
# File 'lib/v20170312/models.rb', line 4312 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RegionSet'].nil? @RegionSet = [] params['RegionSet'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @RegionSet << regioninfo_tmp end end @RequestId = params['RequestId'] end |