Class: TencentCloud::Dlc::V20210125::DescribeDMSPartitionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeDMSPartitionsResponse
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeDMSPartitions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(partitions = nil, total = nil, requestid = nil) ⇒ DescribeDMSPartitionsResponse
constructor
A new instance of DescribeDMSPartitionsResponse.
Constructor Details
#initialize(partitions = nil, total = nil, requestid = nil) ⇒ DescribeDMSPartitionsResponse
Returns a new instance of DescribeDMSPartitionsResponse.
6291 6292 6293 6294 6295 |
# File 'lib/v20210125/models.rb', line 6291 def initialize(partitions=nil, total=nil, requestid=nil) @Partitions = partitions @Total = total @RequestId = requestid end |
Instance Attribute Details
#Partitions ⇒ Object
6289 6290 6291 |
# File 'lib/v20210125/models.rb', line 6289 def Partitions @Partitions end |
#RequestId ⇒ Object
6289 6290 6291 |
# File 'lib/v20210125/models.rb', line 6289 def RequestId @RequestId end |
#Total ⇒ Object
6289 6290 6291 |
# File 'lib/v20210125/models.rb', line 6289 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 |
# File 'lib/v20210125/models.rb', line 6297 def deserialize(params) unless params['Partitions'].nil? @Partitions = [] params['Partitions'].each do |i| dmspartition_tmp = DMSPartition.new dmspartition_tmp.deserialize(i) @Partitions << dmspartition_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |