Class: TencentCloud::Dcdb::V20180411::DescribeUserTasksResponse

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

Overview

DescribeUserTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, flowset = nil, requestid = nil) ⇒ DescribeUserTasksResponse

Returns a new instance of DescribeUserTasksResponse.



4251
4252
4253
4254
4255
# File 'lib/v20180411/models.rb', line 4251

def initialize(totalcount=nil, flowset=nil, requestid=nil)
  @TotalCount = totalcount
  @FlowSet = flowset
  @RequestId = requestid
end

Instance Attribute Details

#FlowSetObject

Parameters:

  • TotalCount:

    任务总数

  • FlowSet:

    任务列表

  • RequestId:

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



4249
4250
4251
# File 'lib/v20180411/models.rb', line 4249

def FlowSet
  @FlowSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    任务总数

  • FlowSet:

    任务列表

  • RequestId:

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



4249
4250
4251
# File 'lib/v20180411/models.rb', line 4249

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数

  • FlowSet:

    任务列表

  • RequestId:

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



4249
4250
4251
# File 'lib/v20180411/models.rb', line 4249

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
# File 'lib/v20180411/models.rb', line 4257

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['FlowSet'].nil?
    @FlowSet = []
    params['FlowSet'].each do |i|
      usertaskinfo_tmp = UserTaskInfo.new
      usertaskinfo_tmp.deserialize(i)
      @FlowSet << usertaskinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end