Class: TencentCloud::Dts::V20211206::StepInfo

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

Overview

单个步骤的详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stepno = nil, stepname = nil, stepid = nil, status = nil, starttime = nil, errors = nil, warnings = nil, progress = nil) ⇒ StepInfo

Returns a new instance of StepInfo.



6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
# File 'lib/v20211206/models.rb', line 6957

def initialize(stepno=nil, stepname=nil, stepid=nil, status=nil, starttime=nil, errors=nil, warnings=nil, progress=nil)
  @StepNo = stepno
  @StepName = stepname
  @StepId = stepid
  @Status = status
  @StartTime = starttime
  @Errors = errors
  @Warnings = warnings
  @Progress = progress
end

Instance Attribute Details

#ErrorsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def Errors
  @Errors
end

#ProgressObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def Progress
  @Progress
end

#StartTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def StartTime
  @StartTime
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def Status
  @Status
end

#StepIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def StepId
  @StepId
end

#StepNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def StepName
  @StepName
end

#StepNoObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def StepNo
  @StepNo
end

#WarningsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 步骤编号

  • 步骤名

  • 步骤标号

  • 当前步骤状态,可能返回有 notStarted(未开始)、running(校验中)、failed(校验任务失败)、finished(完成)、skipped(跳过)、paused(暂停)

  • 步骤开始时间,可能为空

  • 错误信息

  • 警告信息

  • 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度



6955
6956
6957
# File 'lib/v20211206/models.rb', line 6955

def Warnings
  @Warnings
end

Instance Method Details

#deserialize(params) ⇒ Object



6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
# File 'lib/v20211206/models.rb', line 6968

def deserialize(params)
  @StepNo = params['StepNo']
  @StepName = params['StepName']
  @StepId = params['StepId']
  @Status = params['Status']
  @StartTime = params['StartTime']
  unless params['Errors'].nil?
    @Errors = []
    params['Errors'].each do |i|
      steptip_tmp = StepTip.new
      steptip_tmp.deserialize(i)
      @Errors << steptip_tmp
    end
  end
  unless params['Warnings'].nil?
    @Warnings = []
    params['Warnings'].each do |i|
      steptip_tmp = StepTip.new
      steptip_tmp.deserialize(i)
      @Warnings << steptip_tmp
    end
  end
  @Progress = params['Progress']
end