Class: TencentCloud::Wedata::V20210820::CreateOfflineTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::CreateOfflineTaskRequest
- Defined in:
- lib/v20210820/models.rb
Overview
CreateOfflineTask请求参数结构体
Instance Attribute Summary collapse
- #CycleStep ⇒ Object
- #DelayTime ⇒ Object
- #EndTime ⇒ Object
- #Notes ⇒ Object
- #ProjectId ⇒ Object
- #StartTime ⇒ Object
- #TaskAction ⇒ Object
- #TaskImportInfo ⇒ Object
- #TaskMode ⇒ Object
- #TaskName ⇒ Object
- #TypeId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, cyclestep = nil, delaytime = nil, endtime = nil, notes = nil, starttime = nil, taskname = nil, typeid = nil, taskaction = nil, taskmode = nil, taskimportinfo = nil) ⇒ CreateOfflineTaskRequest
constructor
A new instance of CreateOfflineTaskRequest.
Constructor Details
#initialize(projectid = nil, cyclestep = nil, delaytime = nil, endtime = nil, notes = nil, starttime = nil, taskname = nil, typeid = nil, taskaction = nil, taskmode = nil, taskimportinfo = nil) ⇒ CreateOfflineTaskRequest
Returns a new instance of CreateOfflineTaskRequest.
5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 |
# File 'lib/v20210820/models.rb', line 5506 def initialize(projectid=nil, cyclestep=nil, delaytime=nil, endtime=nil, notes=nil, starttime=nil, taskname=nil, typeid=nil, taskaction=nil, taskmode=nil, taskimportinfo=nil) @ProjectId = projectid @CycleStep = cyclestep @DelayTime = delaytime @EndTime = endtime @Notes = notes @StartTime = starttime @TaskName = taskname @TypeId = typeid @TaskAction = taskaction @TaskMode = taskmode @TaskImportInfo = taskimportinfo end |
Instance Attribute Details
#CycleStep ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def CycleStep @CycleStep end |
#DelayTime ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def DelayTime @DelayTime end |
#EndTime ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def EndTime @EndTime end |
#Notes ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def Notes @Notes end |
#ProjectId ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def ProjectId @ProjectId end |
#StartTime ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def StartTime @StartTime end |
#TaskAction ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def TaskAction @TaskAction end |
#TaskImportInfo ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def TaskImportInfo @TaskImportInfo end |
#TaskMode ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def TaskMode @TaskMode end |
#TaskName ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def TaskName @TaskName end |
#TypeId ⇒ Object
5504 5505 5506 |
# File 'lib/v20210820/models.rb', line 5504 def TypeId @TypeId end |
Instance Method Details
#deserialize(params) ⇒ Object
5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 |
# File 'lib/v20210820/models.rb', line 5520 def deserialize(params) @ProjectId = params['ProjectId'] @CycleStep = params['CycleStep'] @DelayTime = params['DelayTime'] @EndTime = params['EndTime'] @Notes = params['Notes'] @StartTime = params['StartTime'] @TaskName = params['TaskName'] @TypeId = params['TypeId'] @TaskAction = params['TaskAction'] @TaskMode = params['TaskMode'] unless params['TaskImportInfo'].nil? @TaskImportInfo = TaskImportInfo.new @TaskImportInfo.deserialize(params['TaskImportInfo']) end end |