Class: TencentCloud::Wedata::V20250806::CreateTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::CreateTaskRequest
- Defined in:
- lib/v20250806/models.rb
Overview
CreateTask请求参数结构体
Instance Attribute Summary collapse
- #ProjectId ⇒ Object
- #TaskBaseAttribute ⇒ Object
- #TaskConfiguration ⇒ Object
- #TaskSchedulerConfiguration ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, taskbaseattribute = nil, taskconfiguration = nil, taskschedulerconfiguration = nil) ⇒ CreateTaskRequest
constructor
A new instance of CreateTaskRequest.
Constructor Details
#initialize(projectid = nil, taskbaseattribute = nil, taskconfiguration = nil, taskschedulerconfiguration = nil) ⇒ CreateTaskRequest
Returns a new instance of CreateTaskRequest.
2104 2105 2106 2107 2108 2109 |
# File 'lib/v20250806/models.rb', line 2104 def initialize(projectid=nil, taskbaseattribute=nil, taskconfiguration=nil, taskschedulerconfiguration=nil) @ProjectId = projectid @TaskBaseAttribute = taskbaseattribute @TaskConfiguration = taskconfiguration @TaskSchedulerConfiguration = taskschedulerconfiguration end |
Instance Attribute Details
#ProjectId ⇒ Object
2102 2103 2104 |
# File 'lib/v20250806/models.rb', line 2102 def ProjectId @ProjectId end |
#TaskBaseAttribute ⇒ Object
2102 2103 2104 |
# File 'lib/v20250806/models.rb', line 2102 def TaskBaseAttribute @TaskBaseAttribute end |
#TaskConfiguration ⇒ Object
2102 2103 2104 |
# File 'lib/v20250806/models.rb', line 2102 def TaskConfiguration @TaskConfiguration end |
#TaskSchedulerConfiguration ⇒ Object
2102 2103 2104 |
# File 'lib/v20250806/models.rb', line 2102 def TaskSchedulerConfiguration @TaskSchedulerConfiguration end |
Instance Method Details
#deserialize(params) ⇒ Object
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/v20250806/models.rb', line 2111 def deserialize(params) @ProjectId = params['ProjectId'] unless params['TaskBaseAttribute'].nil? @TaskBaseAttribute = CreateTaskBaseAttribute.new @TaskBaseAttribute.deserialize(params['TaskBaseAttribute']) end unless params['TaskConfiguration'].nil? @TaskConfiguration = CreateTaskConfiguration.new @TaskConfiguration.deserialize(params['TaskConfiguration']) end unless params['TaskSchedulerConfiguration'].nil? @TaskSchedulerConfiguration = CreateTaskSchedulerConfiguration.new @TaskSchedulerConfiguration.deserialize(params['TaskSchedulerConfiguration']) end end |