Class: TencentCloud::Wedata::V20210820::BatchCreateTaskVersionAsyncRequest

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

Overview

BatchCreateTaskVersionAsync请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tasks = nil, projectid = nil, autorun = nil, alarmways = nil, alarmrecipienttypes = nil, needcheckparentsubmitted = nil, enablemakeup = nil) ⇒ BatchCreateTaskVersionAsyncRequest

Returns a new instance of BatchCreateTaskVersionAsyncRequest.



1528
1529
1530
1531
1532
1533
1534
1535
1536
# File 'lib/v20210820/models.rb', line 1528

def initialize(tasks=nil, projectid=nil, autorun=nil, alarmways=nil, alarmrecipienttypes=nil, needcheckparentsubmitted=nil, enablemakeup=nil)
  @Tasks = tasks
  @ProjectId = projectid
  @AutoRun = autorun
  @AlarmWays = alarmways
  @AlarmRecipientTypes = alarmrecipienttypes
  @NeedCheckParentSubmitted = needcheckparentsubmitted
  @EnableMakeUp = enablemakeup
end

Instance Attribute Details

#AlarmRecipientTypesObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def AlarmRecipientTypes
  @AlarmRecipientTypes
end

#AlarmWaysObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def AlarmWays
  @AlarmWays
end

#AutoRunObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def AutoRun
  @AutoRun
end

#EnableMakeUpObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def EnableMakeUp
  @EnableMakeUp
end

#NeedCheckParentSubmittedObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def NeedCheckParentSubmitted
  @NeedCheckParentSubmitted
end

#ProjectIdObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def ProjectId
  @ProjectId
end

#TasksObject

Parameters:

  • Tasks:

    任务信息

  • ProjectId:

    项目ID

  • AutoRun:

    是否自动运行

  • AlarmWays:

    告警方式:email-邮件;sms-短信;wecom-企业微信

  • AlarmRecipientTypes:

    告警对象:1-项目管理员,2-任务责任人

  • NeedCheckParentSubmitted:

    是否需要校验父任务已经提交到调度

  • EnableMakeUp:

    是否需要补录中间实例



1526
1527
1528
# File 'lib/v20210820/models.rb', line 1526

def Tasks
  @Tasks
end

Instance Method Details

#deserialize(params) ⇒ Object



1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/v20210820/models.rb', line 1538

def deserialize(params)
  unless params['Tasks'].nil?
    @Tasks = []
    params['Tasks'].each do |i|
      batchcreatetaskversiondto_tmp = BatchCreateTaskVersionDTO.new
      batchcreatetaskversiondto_tmp.deserialize(i)
      @Tasks << batchcreatetaskversiondto_tmp
    end
  end
  @ProjectId = params['ProjectId']
  @AutoRun = params['AutoRun']
  @AlarmWays = params['AlarmWays']
  @AlarmRecipientTypes = params['AlarmRecipientTypes']
  @NeedCheckParentSubmitted = params['NeedCheckParentSubmitted']
  @EnableMakeUp = params['EnableMakeUp']
end