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.
34076 34077 34078 34079 34080 34081 34082 34083 34084 34085 34086 34087 |
# File 'lib/v20210820/models.rb', line 34076 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
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def Description @Description end |
#Name ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def Name @Name end |
#ProjectId ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def ProjectId @ProjectId end |
#RunParams ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def RunParams @RunParams end |
#ScriptContent ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def ScriptContent @ScriptContent end |
#SubmitTaskTestRunType ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def SubmitTaskTestRunType @SubmitTaskTestRunType end |
#TaskIds ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def TaskIds @TaskIds end |
#Tasks ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def Tasks @Tasks end |
#VersionId ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def VersionId @VersionId end |
#WorkFlowId ⇒ Object
34074 34075 34076 |
# File 'lib/v20210820/models.rb', line 34074 def WorkFlowId @WorkFlowId end |
Instance Method Details
#deserialize(params) ⇒ Object
34089 34090 34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 34102 34103 34104 34105 34106 34107 |
# File 'lib/v20210820/models.rb', line 34089 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 |