Class: TencentCloud::Ckafka::V20190819::TransformsParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TransformsParam
- Defined in:
- lib/v20190819/models.rb
Overview
数据处理参数
Instance Attribute Summary collapse
- #BatchAnalyse ⇒ Object
- #Content ⇒ Object
- #FailureParam ⇒ Object
- #FieldChain ⇒ Object
- #FilterParam ⇒ Object
- #KeepMetadata ⇒ Object
- #OutputFormat ⇒ Object
- #Result ⇒ Object
- #RowParam ⇒ Object
- #SourceType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(content = nil, fieldchain = nil, filterparam = nil, failureparam = nil, result = nil, sourcetype = nil, outputformat = nil, rowparam = nil, keepmetadata = nil, batchanalyse = nil) ⇒ TransformsParam
constructor
A new instance of TransformsParam.
Constructor Details
#initialize(content = nil, fieldchain = nil, filterparam = nil, failureparam = nil, result = nil, sourcetype = nil, outputformat = nil, rowparam = nil, keepmetadata = nil, batchanalyse = nil) ⇒ TransformsParam
Returns a new instance of TransformsParam.
12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 |
# File 'lib/v20190819/models.rb', line 12292 def initialize(content=nil, fieldchain=nil, filterparam=nil, failureparam=nil, result=nil, sourcetype=nil, outputformat=nil, rowparam=nil, =nil, batchanalyse=nil) @Content = content @FieldChain = fieldchain @FilterParam = filterparam @FailureParam = failureparam @Result = result @SourceType = sourcetype @OutputFormat = outputformat @RowParam = rowparam @KeepMetadata = @BatchAnalyse = batchanalyse end |
Instance Attribute Details
#BatchAnalyse ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def BatchAnalyse @BatchAnalyse end |
#Content ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def Content @Content end |
#FailureParam ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def FailureParam @FailureParam end |
#FieldChain ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def FieldChain @FieldChain end |
#FilterParam ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def FilterParam @FilterParam end |
#KeepMetadata ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def KeepMetadata @KeepMetadata end |
#OutputFormat ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def OutputFormat @OutputFormat end |
#Result ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def Result @Result end |
#RowParam ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def RowParam @RowParam end |
#SourceType ⇒ Object
12290 12291 12292 |
# File 'lib/v20190819/models.rb', line 12290 def SourceType @SourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 |
# File 'lib/v20190819/models.rb', line 12305 def deserialize(params) @Content = params['Content'] unless params['FieldChain'].nil? @FieldChain = [] params['FieldChain'].each do |i| fieldparam_tmp = FieldParam.new fieldparam_tmp.deserialize(i) @FieldChain << fieldparam_tmp end end unless params['FilterParam'].nil? @FilterParam = [] params['FilterParam'].each do |i| filtermapparam_tmp = FilterMapParam.new filtermapparam_tmp.deserialize(i) @FilterParam << filtermapparam_tmp end end unless params['FailureParam'].nil? @FailureParam = FailureParam.new @FailureParam.deserialize(params['FailureParam']) end @Result = params['Result'] @SourceType = params['SourceType'] @OutputFormat = params['OutputFormat'] unless params['RowParam'].nil? @RowParam = RowParam.new @RowParam.deserialize(params['RowParam']) end @KeepMetadata = params['KeepMetadata'] unless params['BatchAnalyse'].nil? @BatchAnalyse = BatchAnalyseParam.new @BatchAnalyse.deserialize(params['BatchAnalyse']) end end |