Class: TencentCloud::Dlc::V20210125::TasksInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::TasksInfo
- Defined in:
- lib/v20210125/models.rb
Overview
批量顺序执行任务集合
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasktype = nil, failuretolerance = nil, sql = nil, config = nil, params = nil) ⇒ TasksInfo
constructor
A new instance of TasksInfo.
Constructor Details
#initialize(tasktype = nil, failuretolerance = nil, sql = nil, config = nil, params = nil) ⇒ TasksInfo
Returns a new instance of TasksInfo.
16283 16284 16285 16286 16287 16288 16289 |
# File 'lib/v20210125/models.rb', line 16283 def initialize(tasktype=nil, failuretolerance=nil, sql=nil, config=nil, params=nil) @TaskType = tasktype @FailureTolerance = failuretolerance @SQL = sql @Config = config @Params = params end |
Instance Attribute Details
#Config ⇒ Object
16281 16282 16283 |
# File 'lib/v20210125/models.rb', line 16281 def Config @Config end |
#FailureTolerance ⇒ Object
16281 16282 16283 |
# File 'lib/v20210125/models.rb', line 16281 def FailureTolerance @FailureTolerance end |
#Params ⇒ Object
16281 16282 16283 |
# File 'lib/v20210125/models.rb', line 16281 def Params @Params end |
#SQL ⇒ Object
16281 16282 16283 |
# File 'lib/v20210125/models.rb', line 16281 def SQL @SQL end |
#TaskType ⇒ Object
16281 16282 16283 |
# File 'lib/v20210125/models.rb', line 16281 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 |
# File 'lib/v20210125/models.rb', line 16291 def deserialize(params) @TaskType = params['TaskType'] @FailureTolerance = params['FailureTolerance'] @SQL = params['SQL'] unless params['Config'].nil? @Config = [] params['Config'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @Config << kvpair_tmp end end unless params['Params'].nil? @Params = [] params['Params'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @Params << kvpair_tmp end end end |