Class: TencentCloud::Postgres::V20170312::TaskDetail

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

Overview

任务的详情信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(currentstep = nil, allsteps = nil, input = nil, output = nil, switchtag = nil, switchtime = nil, message = nil) ⇒ TaskDetail

Returns a new instance of TaskDetail.



7522
7523
7524
7525
7526
7527
7528
7529
7530
# File 'lib/v20170312/models.rb', line 7522

def initialize(currentstep=nil, allsteps=nil, input=nil, output=nil, switchtag=nil, switchtime=nil, message=nil)
  @CurrentStep = currentstep
  @AllSteps = allsteps
  @Input = input
  @Output = output
  @SwitchTag = switchtag
  @SwitchTime = switchtime
  @Message = message
end

Instance Attribute Details

#AllStepsObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def AllSteps
  @AllSteps
end

#CurrentStepObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def CurrentStep
  @CurrentStep
end

#InputObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def Input
  @Input
end

#MessageObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def Message
  @Message
end

#OutputObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def Output
  @Output
end

#SwitchTagObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def SwitchTag
  @SwitchTag
end

#SwitchTimeObject

0: 此任务不需要切换1:立即切换2:指定时间切换3:维护时间窗口内切换。

Parameters:

  • CurrentStep:

    当前执行的子任务步骤名称。

  • AllSteps:

    当前任务所拥有的子步骤描述。

  • Input:

    任务的输入参数。

  • Output:

    任务的输出参数。

  • SwitchTag:

    指定实例配置完成变更后的切换时间,默认值:0

  • SwitchTime:

    指定的切换时间。

  • Message:

    任务的提示信息。



7520
7521
7522
# File 'lib/v20170312/models.rb', line 7520

def SwitchTime
  @SwitchTime
end

Instance Method Details

#deserialize(params) ⇒ Object



7532
7533
7534
7535
7536
7537
7538
7539
7540
# File 'lib/v20170312/models.rb', line 7532

def deserialize(params)
  @CurrentStep = params['CurrentStep']
  @AllSteps = params['AllSteps']
  @Input = params['Input']
  @Output = params['Output']
  @SwitchTag = params['SwitchTag']
  @SwitchTime = params['SwitchTime']
  @Message = params['Message']
end