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.
5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 |
# File 'lib/v20210820/models.rb', line 5106 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
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def CycleStep @CycleStep end |
#DelayTime ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def DelayTime @DelayTime end |
#EndTime ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def EndTime @EndTime end |
#Notes ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def Notes @Notes end |
#ProjectId ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def ProjectId @ProjectId end |
#StartTime ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def StartTime @StartTime end |
#TaskAction ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def TaskAction @TaskAction end |
#TaskImportInfo ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def TaskImportInfo @TaskImportInfo end |
#TaskMode ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def TaskMode @TaskMode end |
#TaskName ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def TaskName @TaskName end |
#TypeId ⇒ Object
5104 5105 5106 |
# File 'lib/v20210820/models.rb', line 5104 def TypeId @TypeId end |
Instance Method Details
#deserialize(params) ⇒ Object
5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 |
# File 'lib/v20210820/models.rb', line 5120 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 |