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.
1096 1097 1098 1099 1100 |
# File 'lib/v20201214/models.rb', line 1096 def initialize(hostinfoset=nil, totalcount=nil, requestid=nil) @HostInfoSet = hostinfoset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#HostInfoSet ⇒ Object
1094 1095 1096 |
# File 'lib/v20201214/models.rb', line 1094 def HostInfoSet @HostInfoSet end |
#RequestId ⇒ Object
1094 1095 1096 |
# File 'lib/v20201214/models.rb', line 1094 def RequestId @RequestId end |
#TotalCount ⇒ Object
1094 1095 1096 |
# File 'lib/v20201214/models.rb', line 1094 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'lib/v20201214/models.rb', line 1102 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 |