Class: TencentCloud::Cynosdb::V20190107::ParamItem

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

Overview

修改参数时,传入参数描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paramname = nil, currentvalue = nil, oldvalue = nil) ⇒ ParamItem

Returns a new instance of ParamItem.



12234
12235
12236
12237
12238
# File 'lib/v20190107/models.rb', line 12234

def initialize(paramname=nil, currentvalue=nil, oldvalue=nil)
  @ParamName = paramname
  @CurrentValue = currentvalue
  @OldValue = oldvalue
end

Instance Attribute Details

#CurrentValueObject

Parameters:

  • ParamName:

    参数名称

  • CurrentValue:

    当前值

  • OldValue:

    原有值



12232
12233
12234
# File 'lib/v20190107/models.rb', line 12232

def CurrentValue
  @CurrentValue
end

#OldValueObject

Parameters:

  • ParamName:

    参数名称

  • CurrentValue:

    当前值

  • OldValue:

    原有值



12232
12233
12234
# File 'lib/v20190107/models.rb', line 12232

def OldValue
  @OldValue
end

#ParamNameObject

Parameters:

  • ParamName:

    参数名称

  • CurrentValue:

    当前值

  • OldValue:

    原有值



12232
12233
12234
# File 'lib/v20190107/models.rb', line 12232

def ParamName
  @ParamName
end

Instance Method Details

#deserialize(params) ⇒ Object



12240
12241
12242
12243
12244
# File 'lib/v20190107/models.rb', line 12240

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