Class: TencentCloud::Dlc::V20210125::CreateImportTaskRequest

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

Overview

CreateImportTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inputtype = nil, inputconf = nil, outputconf = nil, outputtype = nil) ⇒ CreateImportTaskRequest

Returns a new instance of CreateImportTaskRequest.



2176
2177
2178
2179
2180
2181
# File 'lib/v20210125/models.rb', line 2176

def initialize(inputtype=nil, inputconf=nil, outputconf=nil, outputtype=nil)
  @InputType = inputtype
  @InputConf = inputconf
  @OutputConf = outputconf
  @OutputType = outputtype
end

Instance Attribute Details

#InputConfObject

Parameters:

  • InputType:

    数据来源,cos

  • InputConf:

    输入配置

  • OutputConf:

    输出配置

  • OutputType:

    目标数据源的类型,目前支持导入到托管存储,即lakefsStorage



2174
2175
2176
# File 'lib/v20210125/models.rb', line 2174

def InputConf
  @InputConf
end

#InputTypeObject

Parameters:

  • InputType:

    数据来源,cos

  • InputConf:

    输入配置

  • OutputConf:

    输出配置

  • OutputType:

    目标数据源的类型,目前支持导入到托管存储,即lakefsStorage



2174
2175
2176
# File 'lib/v20210125/models.rb', line 2174

def InputType
  @InputType
end

#OutputConfObject

Parameters:

  • InputType:

    数据来源,cos

  • InputConf:

    输入配置

  • OutputConf:

    输出配置

  • OutputType:

    目标数据源的类型,目前支持导入到托管存储,即lakefsStorage



2174
2175
2176
# File 'lib/v20210125/models.rb', line 2174

def OutputConf
  @OutputConf
end

#OutputTypeObject

Parameters:

  • InputType:

    数据来源,cos

  • InputConf:

    输入配置

  • OutputConf:

    输出配置

  • OutputType:

    目标数据源的类型,目前支持导入到托管存储,即lakefsStorage



2174
2175
2176
# File 'lib/v20210125/models.rb', line 2174

def OutputType
  @OutputType
end

Instance Method Details

#deserialize(params) ⇒ Object



2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
# File 'lib/v20210125/models.rb', line 2183

def deserialize(params)
  @InputType = params['InputType']
  unless params['InputConf'].nil?
    @InputConf = []
    params['InputConf'].each do |i|
      kvpair_tmp = KVPair.new
      kvpair_tmp.deserialize(i)
      @InputConf << kvpair_tmp
    end
  end
  unless params['OutputConf'].nil?
    @OutputConf = []
    params['OutputConf'].each do |i|
      kvpair_tmp = KVPair.new
      kvpair_tmp.deserialize(i)
      @OutputConf << kvpair_tmp
    end
  end
  @OutputType = params['OutputType']
end