class TencentCloud::Cdb::V20170320::TaskDetail
实例任务详情
def deserialize(params)
def deserialize(params) @Code = params['Code'] @Message = params['Message'] @JobId = params['JobId'] @Progress = params['Progress'] @TaskStatus = params['TaskStatus'] @TaskType = params['TaskType'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @InstanceIds = params['InstanceIds'] @AsyncRequestId = params['AsyncRequestId'] unless params['TaskAttachInfo'].nil? @TaskAttachInfo = [] params['TaskAttachInfo'].each do |i| taskattachinfo_tmp = TaskAttachInfo.new taskattachinfo_tmp.deserialize(i) @TaskAttachInfo << taskattachinfo_tmp end end end
def initialize(code=nil, message=nil, jobid=nil, progress=nil, taskstatus=nil, tasktype=nil, starttime=nil, endtime=nil, instanceids=nil, asyncrequestid=nil, taskattachinfo=nil)
def initialize(code=nil, message=nil, jobid=nil, progress=nil, taskstatus=nil, tasktype=nil, starttime=nil, endtime=nil, instanceids=nil, asyncrequestid=nil, taskattachinfo=nil) @Code = code @Message = message @JobId = jobid @Progress = progress @TaskStatus = taskstatus @TaskType = tasktype @StartTime = starttime @EndTime = endtime @InstanceIds = instanceids @AsyncRequestId = asyncrequestid @TaskAttachInfo = taskattachinfo end