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
- #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) ⇒ 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) ⇒ SubmitTaskTestRunRequest
Returns a new instance of SubmitTaskTestRunRequest.
23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 |
# File 'lib/v20210820/models.rb', line 23103 def initialize(taskids=nil, projectid=nil, workflowid=nil, name=nil, tasks=nil, description=nil, runparams=nil, scriptcontent=nil, versionid=nil) @TaskIds = taskids @ProjectId = projectid @WorkFlowId = workflowid @Name = name @Tasks = tasks @Description = description @RunParams = runparams @ScriptContent = scriptcontent @VersionId = versionid end |
Instance Attribute Details
#Description ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def Description @Description end |
#Name ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def Name @Name end |
#ProjectId ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def ProjectId @ProjectId end |
#RunParams ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def RunParams @RunParams end |
#ScriptContent ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def ScriptContent @ScriptContent end |
#TaskIds ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def TaskIds @TaskIds end |
#Tasks ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def Tasks @Tasks end |
#VersionId ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def VersionId @VersionId end |
#WorkFlowId ⇒ Object
23101 23102 23103 |
# File 'lib/v20210820/models.rb', line 23101 def WorkFlowId @WorkFlowId end |
Instance Method Details
#deserialize(params) ⇒ Object
23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 |
# File 'lib/v20210820/models.rb', line 23115 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'] end |