Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeRocketMQSmoothMigrationTaskList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • TotalCount:

    任务总数

  • Data:

    任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6852
6853
6854
# File 'lib/v20200217/models.rb', line 6852

def Data
  @Data
end

#RequestIdObject

Parameters:

  • TotalCount:

    任务总数

  • Data:

    任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6852
6853
6854
# File 'lib/v20200217/models.rb', line 6852

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数

  • Data:

    任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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