Class: TencentCloud::Wedata::V20210820::SubmitTaskTestRunRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::SubmitTaskTestRunRequest
- Defined in:
- lib/v20210820/models.rb
Overview
SubmitTaskTestRun请求参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Name ⇒ Object
- #ProjectId ⇒ Object
- #RunParams ⇒ Object
- #ScriptContent ⇒ Object
- #SubmitTaskTestRunType ⇒ Object
- #TaskIds ⇒ Object
- #Tasks ⇒ Object
- #VersionId ⇒ Object
- #WorkFlowId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskids = nil, projectid = nil, workflowid = nil, name = nil, tasks = nil, description = nil, runparams = nil, scriptcontent = nil, versionid = nil, submittasktestruntype = nil) ⇒ SubmitTaskTestRunRequest
constructor
A new instance of SubmitTaskTestRunRequest.
Constructor Details
#initialize(taskids = nil, projectid = nil, workflowid = nil, name = nil, tasks = nil, description = nil, runparams = nil, scriptcontent = nil, versionid = nil, submittasktestruntype = nil) ⇒ SubmitTaskTestRunRequest
Returns a new instance of SubmitTaskTestRunRequest.
34427 34428 34429 34430 34431 34432 34433 34434 34435 34436 34437 34438 |
# File 'lib/v20210820/models.rb', line 34427 def initialize(taskids=nil, projectid=nil, workflowid=nil, name=nil, tasks=nil, description=nil, runparams=nil, scriptcontent=nil, versionid=nil, submittasktestruntype=nil) @TaskIds = taskids @ProjectId = projectid @WorkFlowId = workflowid @Name = name @Tasks = tasks @Description = description @RunParams = runparams @ScriptContent = scriptcontent @VersionId = versionid @SubmitTaskTestRunType = submittasktestruntype end |
Instance Attribute Details
#Description ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def Description @Description end |
#Name ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def Name @Name end |
#ProjectId ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def ProjectId @ProjectId end |
#RunParams ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def RunParams @RunParams end |
#ScriptContent ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def ScriptContent @ScriptContent end |
#SubmitTaskTestRunType ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def SubmitTaskTestRunType @SubmitTaskTestRunType end |
#TaskIds ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def TaskIds @TaskIds end |
#Tasks ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def Tasks @Tasks end |
#VersionId ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def VersionId @VersionId end |
#WorkFlowId ⇒ Object
34425 34426 34427 |
# File 'lib/v20210820/models.rb', line 34425 def WorkFlowId @WorkFlowId end |
Instance Method Details
#deserialize(params) ⇒ Object
34440 34441 34442 34443 34444 34445 34446 34447 34448 34449 34450 34451 34452 34453 34454 34455 34456 34457 34458 |
# File 'lib/v20210820/models.rb', line 34440 def deserialize(params) @TaskIds = params['TaskIds'] @ProjectId = params['ProjectId'] @WorkFlowId = params['WorkFlowId'] @Name = params['Name'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| stagecloudapirequest_tmp = StageCloudApiRequest.new stagecloudapirequest_tmp.deserialize(i) @Tasks << stagecloudapirequest_tmp end end @Description = params['Description'] @RunParams = params['RunParams'] @ScriptContent = params['ScriptContent'] @VersionId = params['VersionId'] @SubmitTaskTestRunType = params['SubmitTaskTestRunType'] end |