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.
1857 1858 1859 1860 1861 1862 1863 1864 1865 |
# File 'lib/v20210820/models.rb', line 1857 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
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def AlarmRecipientTypes @AlarmRecipientTypes end |
#AlarmWays ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def AlarmWays @AlarmWays end |
#AutoRun ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def AutoRun @AutoRun end |
#EnableMakeUp ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def EnableMakeUp @EnableMakeUp end |
#NeedCheckParentSubmitted ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def NeedCheckParentSubmitted @NeedCheckParentSubmitted end |
#ProjectId ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def ProjectId @ProjectId end |
#Tasks ⇒ Object
1855 1856 1857 |
# File 'lib/v20210820/models.rb', line 1855 def Tasks @Tasks end |
Instance Method Details
#deserialize(params) ⇒ Object
1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 |
# File 'lib/v20210820/models.rb', line 1867 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 |