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.



4092
4093
4094
4095
4096
# File 'lib/v20180411/models.rb', line 4092

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。



4090
4091
4092
# File 'lib/v20180411/models.rb', line 4090

def FlowSet
  @FlowSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    任务总数

  • FlowSet:

    任务列表

  • RequestId:

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



4090
4091
4092
# File 'lib/v20180411/models.rb', line 4090

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数

  • FlowSet:

    任务列表

  • RequestId:

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



4090
4091
4092
# File 'lib/v20180411/models.rb', line 4090

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
# File 'lib/v20180411/models.rb', line 4098

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