Class: TencentCloud::Ckafka::V20190819::JsonPathReplaceParam

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

Overview

数据处理——Value处理参数——Jsonpath替换参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oldvalue = nil, newvalue = nil) ⇒ JsonPathReplaceParam

Returns a new instance of JsonPathReplaceParam.



8545
8546
8547
8548
# File 'lib/v20190819/models.rb', line 8545

def initialize(oldvalue=nil, newvalue=nil)
  @OldValue = oldvalue
  @NewValue = newvalue
end

Instance Attribute Details

#NewValueObject

Parameters:

  • OldValue:

    被替换值,Jsonpath表达式

  • NewValue:

    替换值,Jsonpath表达式或字符串



8543
8544
8545
# File 'lib/v20190819/models.rb', line 8543

def NewValue
  @NewValue
end

#OldValueObject

Parameters:

  • OldValue:

    被替换值,Jsonpath表达式

  • NewValue:

    替换值,Jsonpath表达式或字符串



8543
8544
8545
# File 'lib/v20190819/models.rb', line 8543

def OldValue
  @OldValue
end

Instance Method Details

#deserialize(params) ⇒ Object



8550
8551
8552
8553
# File 'lib/v20190819/models.rb', line 8550

def deserialize(params)
  @OldValue = params['OldValue']
  @NewValue = params['NewValue']
end