Class: TencentCloud::Cvm::V20170312::DescribeChcHostsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DescribeChcHostsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeChcHosts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, chchostset = nil, requestid = nil) ⇒ DescribeChcHostsResponse
constructor
A new instance of DescribeChcHostsResponse.
Constructor Details
#initialize(totalcount = nil, chchostset = nil, requestid = nil) ⇒ DescribeChcHostsResponse
Returns a new instance of DescribeChcHostsResponse.
1732 1733 1734 1735 1736 |
# File 'lib/v20170312/models.rb', line 1732 def initialize(totalcount=nil, chchostset=nil, requestid=nil) @TotalCount = totalcount @ChcHostSet = chchostset @RequestId = requestid end |
Instance Attribute Details
#ChcHostSet ⇒ Object
1730 1731 1732 |
# File 'lib/v20170312/models.rb', line 1730 def ChcHostSet @ChcHostSet end |
#RequestId ⇒ Object
1730 1731 1732 |
# File 'lib/v20170312/models.rb', line 1730 def RequestId @RequestId end |
#TotalCount ⇒ Object
1730 1731 1732 |
# File 'lib/v20170312/models.rb', line 1730 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/v20170312/models.rb', line 1738 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ChcHostSet'].nil? @ChcHostSet = [] params['ChcHostSet'].each do |i| chchost_tmp = ChcHost.new chchost_tmp.deserialize(i) @ChcHostSet << chchost_tmp end end @RequestId = params['RequestId'] end |