Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQSmoothMigrationTaskList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ DescribeRocketMQSmoothMigrationTaskListResponse
constructor
A new instance of DescribeRocketMQSmoothMigrationTaskListResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ DescribeRocketMQSmoothMigrationTaskListResponse
Returns a new instance of DescribeRocketMQSmoothMigrationTaskListResponse.
6854 6855 6856 6857 6858 |
# File 'lib/v20200217/models.rb', line 6854 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
6852 6853 6854 |
# File 'lib/v20200217/models.rb', line 6852 def Data @Data end |
#RequestId ⇒ Object
6852 6853 6854 |
# File 'lib/v20200217/models.rb', line 6852 def RequestId @RequestId end |
#TotalCount ⇒ Object
6852 6853 6854 |
# File 'lib/v20200217/models.rb', line 6852 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 |
# File 'lib/v20200217/models.rb', line 6860 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| rocketmqsmoothmigrationtaskitem_tmp = RocketMQSmoothMigrationTaskItem.new rocketmqsmoothmigrationtaskitem_tmp.deserialize(i) @Data << rocketmqsmoothmigrationtaskitem_tmp end end @RequestId = params['RequestId'] end |