Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterInstanceTypesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::DescribeDedicatedClusterInstanceTypesResponse
- Defined in:
- lib/v20201214/models.rb
Overview
DescribeDedicatedClusterInstanceTypes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclusterinstancetypeset = nil, requestid = nil) ⇒ DescribeDedicatedClusterInstanceTypesResponse
constructor
A new instance of DescribeDedicatedClusterInstanceTypesResponse.
Constructor Details
#initialize(dedicatedclusterinstancetypeset = nil, requestid = nil) ⇒ DescribeDedicatedClusterInstanceTypesResponse
Returns a new instance of DescribeDedicatedClusterInstanceTypesResponse.
1141 1142 1143 1144 |
# File 'lib/v20201214/models.rb', line 1141 def initialize(dedicatedclusterinstancetypeset=nil, requestid=nil) @DedicatedClusterInstanceTypeSet = dedicatedclusterinstancetypeset @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterInstanceTypeSet ⇒ Object
1139 1140 1141 |
# File 'lib/v20201214/models.rb', line 1139 def DedicatedClusterInstanceTypeSet @DedicatedClusterInstanceTypeSet end |
#RequestId ⇒ Object
1139 1140 1141 |
# File 'lib/v20201214/models.rb', line 1139 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/v20201214/models.rb', line 1146 def deserialize(params) unless params['DedicatedClusterInstanceTypeSet'].nil? @DedicatedClusterInstanceTypeSet = [] params['DedicatedClusterInstanceTypeSet'].each do |i| dedicatedclusterinstancetype_tmp = DedicatedClusterInstanceType.new dedicatedclusterinstancetype_tmp.deserialize(i) @DedicatedClusterInstanceTypeSet << dedicatedclusterinstancetype_tmp end end @RequestId = params['RequestId'] end |