Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterOrdersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::DescribeDedicatedClusterOrdersResponse
- Defined in:
- lib/v20201214/models.rb
Overview
DescribeDedicatedClusterOrders返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclusterorderset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterOrdersResponse
constructor
A new instance of DescribeDedicatedClusterOrdersResponse.
Constructor Details
#initialize(dedicatedclusterorderset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterOrdersResponse
Returns a new instance of DescribeDedicatedClusterOrdersResponse.
1210 1211 1212 1213 1214 |
# File 'lib/v20201214/models.rb', line 1210 def initialize(dedicatedclusterorderset=nil, totalcount=nil, requestid=nil) @DedicatedClusterOrderSet = dedicatedclusterorderset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterOrderSet ⇒ Object
1208 1209 1210 |
# File 'lib/v20201214/models.rb', line 1208 def DedicatedClusterOrderSet @DedicatedClusterOrderSet end |
#RequestId ⇒ Object
1208 1209 1210 |
# File 'lib/v20201214/models.rb', line 1208 def RequestId @RequestId end |
#TotalCount ⇒ Object
1208 1209 1210 |
# File 'lib/v20201214/models.rb', line 1208 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/v20201214/models.rb', line 1216 def deserialize(params) unless params['DedicatedClusterOrderSet'].nil? @DedicatedClusterOrderSet = [] params['DedicatedClusterOrderSet'].each do |i| dedicatedclusterorder_tmp = DedicatedClusterOrder.new dedicatedclusterorder_tmp.deserialize(i) @DedicatedClusterOrderSet << dedicatedclusterorder_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |