Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterHostsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::DescribeDedicatedClusterHostsResponse
- Defined in:
- lib/v20201214/models.rb
Overview
DescribeDedicatedClusterHosts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterHostsResponse
constructor
A new instance of DescribeDedicatedClusterHostsResponse.
Constructor Details
#initialize(hostinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterHostsResponse
Returns a new instance of DescribeDedicatedClusterHostsResponse.
1088 1089 1090 1091 1092 |
# File 'lib/v20201214/models.rb', line 1088 def initialize(hostinfoset=nil, totalcount=nil, requestid=nil) @HostInfoSet = hostinfoset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#HostInfoSet ⇒ Object
1086 1087 1088 |
# File 'lib/v20201214/models.rb', line 1086 def HostInfoSet @HostInfoSet end |
#RequestId ⇒ Object
1086 1087 1088 |
# File 'lib/v20201214/models.rb', line 1086 def RequestId @RequestId end |
#TotalCount ⇒ Object
1086 1087 1088 |
# File 'lib/v20201214/models.rb', line 1086 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 |
# File 'lib/v20201214/models.rb', line 1094 def deserialize(params) unless params['HostInfoSet'].nil? @HostInfoSet = [] params['HostInfoSet'].each do |i| hostinfo_tmp = HostInfo.new hostinfo_tmp.deserialize(i) @HostInfoSet << hostinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |