Class: TencentCloud::Wedata::V20210820::BatchCreateTaskVersionAsyncRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::BatchCreateTaskVersionAsyncRequest
- Defined in:
- lib/v20210820/models.rb
Overview
BatchCreateTaskVersionAsync请求参数结构体
Instance Attribute Summary collapse
- #AlarmRecipientTypes ⇒ Object
- #AlarmWays ⇒ Object
- #AutoRun ⇒ Object
- #EnableMakeUp ⇒ Object
- #NeedCheckParentSubmitted ⇒ Object
- #ProjectId ⇒ Object
- #Tasks ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasks = nil, projectid = nil, autorun = nil, alarmways = nil, alarmrecipienttypes = nil, needcheckparentsubmitted = nil, enablemakeup = nil) ⇒ BatchCreateTaskVersionAsyncRequest
constructor
A new instance of BatchCreateTaskVersionAsyncRequest.
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
#AlarmRecipientTypes ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def AlarmRecipientTypes @AlarmRecipientTypes end |
#AlarmWays ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def AlarmWays @AlarmWays end |
#AutoRun ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def AutoRun @AutoRun end |
#EnableMakeUp ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def EnableMakeUp @EnableMakeUp end |
#NeedCheckParentSubmitted ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def NeedCheckParentSubmitted @NeedCheckParentSubmitted end |
#ProjectId ⇒ Object
1526 1527 1528 |
# File 'lib/v20210820/models.rb', line 1526 def ProjectId @ProjectId end |
#Tasks ⇒ Object
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 |