Class: TencentCloud::Ckafka::V20190819::ReplaceParam

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ReplaceParam.



10804
10805
10806
10807
# File 'lib/v20190819/models.rb', line 10804

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

Instance Attribute Details

#NewValueObject

Parameters:

  • 被替换值

  • 替换值



10802
10803
10804
# File 'lib/v20190819/models.rb', line 10802

def NewValue
  @NewValue
end

#OldValueObject

Parameters:

  • 被替换值

  • 替换值



10802
10803
10804
# File 'lib/v20190819/models.rb', line 10802

def OldValue
  @OldValue
end

Instance Method Details

#deserialize(params) ⇒ Object



10809
10810
10811
10812
# File 'lib/v20190819/models.rb', line 10809

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