Class: TencentCloud::Wedata::V20250806::CreateTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

CreateTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ProjectIdObject

Parameters:

  • ProjectId:

    项目ID

  • TaskBaseAttribute:

    任务基本属性

  • TaskConfiguration:

    任务配置

  • TaskSchedulerConfiguration:

    任务调度配置



2102
2103
2104
# File 'lib/v20250806/models.rb', line 2102

def ProjectId
  @ProjectId
end

#TaskBaseAttributeObject

Parameters:

  • ProjectId:

    项目ID

  • TaskBaseAttribute:

    任务基本属性

  • TaskConfiguration:

    任务配置

  • TaskSchedulerConfiguration:

    任务调度配置



2102
2103
2104
# File 'lib/v20250806/models.rb', line 2102

def TaskBaseAttribute
  @TaskBaseAttribute
end

#TaskConfigurationObject

Parameters:

  • ProjectId:

    项目ID

  • TaskBaseAttribute:

    任务基本属性

  • TaskConfiguration:

    任务配置

  • TaskSchedulerConfiguration:

    任务调度配置



2102
2103
2104
# File 'lib/v20250806/models.rb', line 2102

def TaskConfiguration
  @TaskConfiguration
end

#TaskSchedulerConfigurationObject

Parameters:

  • ProjectId:

    项目ID

  • TaskBaseAttribute:

    任务基本属性

  • TaskConfiguration:

    任务配置

  • TaskSchedulerConfiguration:

    任务调度配置



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