Class: TencentCloud::Wedata::V20210820::CreateTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::CreateTaskRequest
- Defined in:
- lib/v20210820/models.rb
Overview
CreateTask请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, workflowid = nil, taskname = nil, tasktype = nil, taskext = nil) ⇒ CreateTaskRequest
constructor
A new instance of CreateTaskRequest.
Constructor Details
#initialize(projectid = nil, workflowid = nil, taskname = nil, tasktype = nil, taskext = nil) ⇒ CreateTaskRequest
5803 5804 5805 5806 5807 5808 5809 |
# File 'lib/v20210820/models.rb', line 5803 def initialize(projectid=nil, workflowid=nil, taskname=nil, tasktype=nil, taskext=nil) @ProjectId = projectid @WorkflowId = workflowid @TaskName = taskname @TaskType = tasktype @TaskExt = taskext end |
Instance Attribute Details
#ProjectId ⇒ Object
5801 5802 5803 |
# File 'lib/v20210820/models.rb', line 5801 def ProjectId @ProjectId end |
#TaskExt ⇒ Object
5801 5802 5803 |
# File 'lib/v20210820/models.rb', line 5801 def TaskExt @TaskExt end |
#TaskName ⇒ Object
5801 5802 5803 |
# File 'lib/v20210820/models.rb', line 5801 def TaskName @TaskName end |
#TaskType ⇒ Object
5801 5802 5803 |
# File 'lib/v20210820/models.rb', line 5801 def TaskType @TaskType end |
#WorkflowId ⇒ Object
5801 5802 5803 |
# File 'lib/v20210820/models.rb', line 5801 def WorkflowId @WorkflowId end |
Instance Method Details
#deserialize(params) ⇒ Object
5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 |
# File 'lib/v20210820/models.rb', line 5811 def deserialize(params) @ProjectId = params['ProjectId'] @WorkflowId = params['WorkflowId'] @TaskName = params['TaskName'] @TaskType = params['TaskType'] unless params['TaskExt'].nil? @TaskExt = [] params['TaskExt'].each do |i| taskextinfo_tmp = TaskExtInfo.new taskextinfo_tmp.deserialize(i) @TaskExt << taskextinfo_tmp end end end |