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.
1423 1424 1425 1426 1427 1428 |
# File 'lib/v20250806/models.rb', line 1423 def initialize(projectid=nil, taskbaseattribute=nil, taskconfiguration=nil, taskschedulerconfiguration=nil) @ProjectId = projectid @TaskBaseAttribute = taskbaseattribute @TaskConfiguration = taskconfiguration @TaskSchedulerConfiguration = taskschedulerconfiguration end |
Instance Attribute Details
#ProjectId ⇒ Object
1421 1422 1423 |
# File 'lib/v20250806/models.rb', line 1421 def ProjectId @ProjectId end |
#TaskBaseAttribute ⇒ Object
1421 1422 1423 |
# File 'lib/v20250806/models.rb', line 1421 def TaskBaseAttribute @TaskBaseAttribute end |
#TaskConfiguration ⇒ Object
1421 1422 1423 |
# File 'lib/v20250806/models.rb', line 1421 def TaskConfiguration @TaskConfiguration end |
#TaskSchedulerConfiguration ⇒ Object
1421 1422 1423 |
# File 'lib/v20250806/models.rb', line 1421 def TaskSchedulerConfiguration @TaskSchedulerConfiguration end |
Instance Method Details
#deserialize(params) ⇒ Object
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'lib/v20250806/models.rb', line 1430 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 |