Class: TencentCloud::Wedata::V20210820::CreateTaskNewRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::CreateTaskNewRequest
- Defined in:
- lib/v20210820/models.rb
Overview
CreateTaskNew请求参数结构体
Instance Attribute Summary collapse
- #CodeTemplateId ⇒ Object
- #Content ⇒ Object
- #InstanceInitStrategy ⇒ Object
- #LeftCoordinate ⇒ Object
- #ProductName ⇒ Object
- #ProjectId ⇒ Object
- #TaskExt ⇒ Object
- #TaskFolderId ⇒ Object
- #TaskName ⇒ Object
- #TaskType ⇒ Object
- #TopCoordinate ⇒ Object
- #WorkflowId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, workflowid = nil, taskname = nil, tasktype = nil, content = nil, taskext = nil, productname = nil, instanceinitstrategy = nil, leftcoordinate = nil, topcoordinate = nil, taskfolderid = nil, codetemplateid = nil) ⇒ CreateTaskNewRequest
constructor
A new instance of CreateTaskNewRequest.
Constructor Details
#initialize(projectid = nil, workflowid = nil, taskname = nil, tasktype = nil, content = nil, taskext = nil, productname = nil, instanceinitstrategy = nil, leftcoordinate = nil, topcoordinate = nil, taskfolderid = nil, codetemplateid = nil) ⇒ CreateTaskNewRequest
Returns a new instance of CreateTaskNewRequest.
5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 |
# File 'lib/v20210820/models.rb', line 5689 def initialize(projectid=nil, workflowid=nil, taskname=nil, tasktype=nil, content=nil, taskext=nil, productname=nil, instanceinitstrategy=nil, leftcoordinate=nil, topcoordinate=nil, taskfolderid=nil, codetemplateid=nil) @ProjectId = projectid @WorkflowId = workflowid @TaskName = taskname @TaskType = tasktype @Content = content @TaskExt = taskext @ProductName = productname @InstanceInitStrategy = instanceinitstrategy @LeftCoordinate = leftcoordinate @TopCoordinate = topcoordinate @TaskFolderId = taskfolderid @CodeTemplateId = codetemplateid end |
Instance Attribute Details
#CodeTemplateId ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def CodeTemplateId @CodeTemplateId end |
#Content ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def Content @Content end |
#InstanceInitStrategy ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def InstanceInitStrategy @InstanceInitStrategy end |
#LeftCoordinate ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def LeftCoordinate @LeftCoordinate end |
#ProductName ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def ProductName @ProductName end |
#ProjectId ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def ProjectId @ProjectId end |
#TaskExt ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def TaskExt @TaskExt end |
#TaskFolderId ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def TaskFolderId @TaskFolderId end |
#TaskName ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def TaskName @TaskName end |
#TaskType ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def TaskType @TaskType end |
#TopCoordinate ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def TopCoordinate @TopCoordinate end |
#WorkflowId ⇒ Object
5687 5688 5689 |
# File 'lib/v20210820/models.rb', line 5687 def WorkflowId @WorkflowId end |
Instance Method Details
#deserialize(params) ⇒ Object
5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 |
# File 'lib/v20210820/models.rb', line 5704 def deserialize(params) @ProjectId = params['ProjectId'] @WorkflowId = params['WorkflowId'] @TaskName = params['TaskName'] @TaskType = params['TaskType'] @Content = params['Content'] unless params['TaskExt'].nil? @TaskExt = [] params['TaskExt'].each do |i| taskextinfo_tmp = TaskExtInfo.new taskextinfo_tmp.deserialize(i) @TaskExt << taskextinfo_tmp end end @ProductName = params['ProductName'] @InstanceInitStrategy = params['InstanceInitStrategy'] @LeftCoordinate = params['LeftCoordinate'] @TopCoordinate = params['TopCoordinate'] @TaskFolderId = params['TaskFolderId'] @CodeTemplateId = params['CodeTemplateId'] end |