Class: TencentCloud::Dasb::V20191018::DescribeChangePwdTaskResponse

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

Overview

DescribeChangePwdTask返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeChangePwdTaskResponse.



2058
2059
2060
2061
2062
# File 'lib/v20191018/models.rb', line 2058

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Tasks:

    任务详情

  • TotalCount:

    任务总数

  • RequestId:

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



2056
2057
2058
# File 'lib/v20191018/models.rb', line 2056

def RequestId
  @RequestId
end

#TasksObject

Parameters:

  • Tasks:

    任务详情

  • TotalCount:

    任务总数

  • RequestId:

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



2056
2057
2058
# File 'lib/v20191018/models.rb', line 2056

def Tasks
  @Tasks
end

#TotalCountObject

Parameters:

  • Tasks:

    任务详情

  • TotalCount:

    任务总数

  • RequestId:

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



2056
2057
2058
# File 'lib/v20191018/models.rb', line 2056

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
# File 'lib/v20191018/models.rb', line 2064

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