Class: TencentCloud::Ecm::V20190719::DescribeSubnetsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::DescribeSubnetsResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeSubnets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, subnetset = nil, requestid = nil) ⇒ DescribeSubnetsResponse
constructor
A new instance of DescribeSubnetsResponse.
Constructor Details
#initialize(totalcount = nil, subnetset = nil, requestid = nil) ⇒ DescribeSubnetsResponse
Returns a new instance of DescribeSubnetsResponse.
4652 4653 4654 4655 4656 |
# File 'lib/v20190719/models.rb', line 4652 def initialize(totalcount=nil, subnetset=nil, requestid=nil) @TotalCount = totalcount @SubnetSet = subnetset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4650 4651 4652 |
# File 'lib/v20190719/models.rb', line 4650 def RequestId @RequestId end |
#SubnetSet ⇒ Object
4650 4651 4652 |
# File 'lib/v20190719/models.rb', line 4650 def SubnetSet @SubnetSet end |
#TotalCount ⇒ Object
4650 4651 4652 |
# File 'lib/v20190719/models.rb', line 4650 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 |
# File 'lib/v20190719/models.rb', line 4658 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SubnetSet'].nil? @SubnetSet = [] params['SubnetSet'].each do |i| subnet_tmp = Subnet.new subnet_tmp.deserialize(i) @SubnetSet << subnet_tmp end end @RequestId = params['RequestId'] end |