Class: TencentCloud::Dbbrain::V20210527::DescribeRedisBigKeyAnalysisTasksResponse

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

Overview

DescribeRedisBigKeyAnalysisTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeRedisBigKeyAnalysisTasksResponse

Returns a new instance of DescribeRedisBigKeyAnalysisTasksResponse.



3396
3397
3398
3399
3400
# File 'lib/v20210527/models.rb', line 3396

def initialize(totalcount=nil, tasks=nil, requestid=nil)
  @TotalCount = totalcount
  @Tasks = tasks
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务列表。

  • RequestId:

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



3394
3395
3396
# File 'lib/v20210527/models.rb', line 3394

def RequestId
  @RequestId
end

#TasksObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务列表。

  • RequestId:

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



3394
3395
3396
# File 'lib/v20210527/models.rb', line 3394

def Tasks
  @Tasks
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务列表。

  • RequestId:

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



3394
3395
3396
# File 'lib/v20210527/models.rb', line 3394

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
# File 'lib/v20210527/models.rb', line 3402

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Tasks'].nil?
    @Tasks = []
    params['Tasks'].each do |i|
      redisbigkeytask_tmp = RedisBigKeyTask.new
      redisbigkeytask_tmp.deserialize(i)
      @Tasks << redisbigkeytask_tmp
    end
  end
  @RequestId = params['RequestId']
end