Class: TencentCloud::Ckafka::V20190819::TransformParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TransformParam
- Defined in:
- lib/v20190819/models.rb
Overview
数据处理参数
Instance Attribute Summary collapse
- #AnalyseResult ⇒ Object
- #AnalysisFormat ⇒ Object
- #Content ⇒ Object
- #FailureParam ⇒ Object
- #FilterParam ⇒ Object
- #MapParam ⇒ Object
- #OutputFormat ⇒ Object
- #Regex ⇒ Object
- #Result ⇒ Object
- #SourceType ⇒ Object
- #UseEventBus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(analysisformat = nil, outputformat = nil, failureparam = nil, content = nil, sourcetype = nil, regex = nil, mapparam = nil, filterparam = nil, result = nil, analyseresult = nil, useeventbus = nil) ⇒ TransformParam
constructor
A new instance of TransformParam.
Constructor Details
#initialize(analysisformat = nil, outputformat = nil, failureparam = nil, content = nil, sourcetype = nil, regex = nil, mapparam = nil, filterparam = nil, result = nil, analyseresult = nil, useeventbus = nil) ⇒ TransformParam
Returns a new instance of TransformParam.
12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 |
# File 'lib/v20190819/models.rb', line 12214 def initialize(analysisformat=nil, outputformat=nil, failureparam=nil, content=nil, sourcetype=nil, regex=nil, mapparam=nil, filterparam=nil, result=nil, analyseresult=nil, useeventbus=nil) @AnalysisFormat = analysisformat @OutputFormat = outputformat @FailureParam = failureparam @Content = content @SourceType = sourcetype @Regex = regex @MapParam = mapparam @FilterParam = filterparam @Result = result @AnalyseResult = analyseresult @UseEventBus = useeventbus end |
Instance Attribute Details
#AnalyseResult ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def AnalyseResult @AnalyseResult end |
#AnalysisFormat ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def AnalysisFormat @AnalysisFormat end |
#Content ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def Content @Content end |
#FailureParam ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def FailureParam @FailureParam end |
#FilterParam ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def FilterParam @FilterParam end |
#MapParam ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def MapParam @MapParam end |
#OutputFormat ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def OutputFormat @OutputFormat end |
#Regex ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def Regex @Regex end |
#Result ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def Result @Result end |
#SourceType ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def SourceType @SourceType end |
#UseEventBus ⇒ Object
12212 12213 12214 |
# File 'lib/v20190819/models.rb', line 12212 def UseEventBus @UseEventBus end |
Instance Method Details
#deserialize(params) ⇒ Object
12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 |
# File 'lib/v20190819/models.rb', line 12228 def deserialize(params) @AnalysisFormat = params['AnalysisFormat'] @OutputFormat = params['OutputFormat'] unless params['FailureParam'].nil? @FailureParam = FailureParam.new @FailureParam.deserialize(params['FailureParam']) end @Content = params['Content'] @SourceType = params['SourceType'] @Regex = params['Regex'] unless params['MapParam'].nil? @MapParam = [] params['MapParam'].each do |i| mapparam_tmp = MapParam.new mapparam_tmp.deserialize(i) @MapParam << mapparam_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 @Result = params['Result'] unless params['AnalyseResult'].nil? @AnalyseResult = [] params['AnalyseResult'].each do |i| mapparam_tmp = MapParam.new mapparam_tmp.deserialize(i) @AnalyseResult << mapparam_tmp end end @UseEventBus = params['UseEventBus'] end |