class TencentCloud::Tsf::V20180326::TaskRecord

任务定义

def deserialize(params)

def deserialize(params)
  @TaskName = params['TaskName']
  @TaskType = params['TaskType']
  @ExecuteType = params['ExecuteType']
  @TaskContent = params['TaskContent']
  @GroupId = params['GroupId']
  @TimeOut = params['TimeOut']
  @RetryCount = params['RetryCount']
  @RetryInterval = params['RetryInterval']
  unless params['TaskRule'].nil?
    @TaskRule = TaskRule.new
    @TaskRule.deserialize(params['TaskRule'])
  end
  @TaskState = params['TaskState']
  @TaskId = params['TaskId']
  @SuccessOperator = params['SuccessOperator']
  @SuccessRatio = params['SuccessRatio']
  @ShardCount = params['ShardCount']
  unless params['AdvanceSettings'].nil?
    @AdvanceSettings = AdvanceSettings.new
    @AdvanceSettings.deserialize(params['AdvanceSettings'])
  end
  unless params['ShardArguments'].nil?
    @ShardArguments = []
    params['ShardArguments'].each do |i|
      shardargument_tmp = ShardArgument.new
      shardargument_tmp.deserialize(i)
      @ShardArguments << shardargument_tmp
    end
  end
  @BelongFlowIds = params['BelongFlowIds']
  @TaskLogId = params['TaskLogId']
  @TriggerType = params['TriggerType']
  @TaskArgument = params['TaskArgument']
end

def initialize(taskname=nil, tasktype=nil, executetype=nil, taskcontent=nil, groupid=nil, timeout=nil, retrycount=nil, retryinterval=nil, taskrule=nil, taskstate=nil, taskid=nil, successoperator=nil, successratio=nil, shardcount=nil, advancesettings=nil, shardarguments=nil, belongflowids=nil, tasklogid=nil, triggertype=nil, taskargument=nil)

def initialize(taskname=nil, tasktype=nil, executetype=nil, taskcontent=nil, groupid=nil, timeout=nil, retrycount=nil, retryinterval=nil, taskrule=nil, taskstate=nil, taskid=nil, successoperator=nil, successratio=nil, shardcount=nil, advancesettings=nil, shardarguments=nil, belongflowids=nil, tasklogid=nil, triggertype=nil, taskargument=nil)
  @TaskName = taskname
  @TaskType = tasktype
  @ExecuteType = executetype
  @TaskContent = taskcontent
  @GroupId = groupid
  @TimeOut = timeout
  @RetryCount = retrycount
  @RetryInterval = retryinterval
  @TaskRule = taskrule
  @TaskState = taskstate
  @TaskId = taskid
  @SuccessOperator = successoperator
  @SuccessRatio = successratio
  @ShardCount = shardcount
  @AdvanceSettings = advancesettings
  @ShardArguments = shardarguments
  @BelongFlowIds = belongflowids
  @TaskLogId = tasklogid
  @TriggerType = triggertype
  @TaskArgument = taskargument
end