Class: TencentCloud::Tcr::V20190924::DescribeRegionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeRegionsResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeRegions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, regions = nil, requestid = nil) ⇒ DescribeRegionsResponse
constructor
A new instance of DescribeRegionsResponse.
Constructor Details
#initialize(totalcount = nil, regions = nil, requestid = nil) ⇒ DescribeRegionsResponse
Returns a new instance of DescribeRegionsResponse.
3578 3579 3580 3581 3582 |
# File 'lib/v20190924/models.rb', line 3578 def initialize(totalcount=nil, regions=nil, requestid=nil) @TotalCount = totalcount @Regions = regions @RequestId = requestid end |
Instance Attribute Details
#Regions ⇒ Object
3576 3577 3578 |
# File 'lib/v20190924/models.rb', line 3576 def Regions @Regions end |
#RequestId ⇒ Object
3576 3577 3578 |
# File 'lib/v20190924/models.rb', line 3576 def RequestId @RequestId end |
#TotalCount ⇒ Object
3576 3577 3578 |
# File 'lib/v20190924/models.rb', line 3576 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 |
# File 'lib/v20190924/models.rb', line 3584 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Regions'].nil? @Regions = [] params['Regions'].each do |i| region_tmp = Region.new region_tmp.deserialize(i) @Regions << region_tmp end end @RequestId = params['RequestId'] end |