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.



3469
3470
3471
3472
3473
# File 'lib/v20210527/models.rb', line 3469

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。



3467
3468
3469
# File 'lib/v20210527/models.rb', line 3467

def RequestId
  @RequestId
end

#TasksObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务列表。

  • RequestId:

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



3467
3468
3469
# File 'lib/v20210527/models.rb', line 3467

def Tasks
  @Tasks
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务列表。

  • RequestId:

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



3467
3468
3469
# File 'lib/v20210527/models.rb', line 3467

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
# File 'lib/v20210527/models.rb', line 3475

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