Class: TencentCloud::Cdwch::V20200915::ConfigSubmitContext

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

Overview

配置文件修改信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename = nil, oldconfvalue = nil, newconfvalue = nil, filepath = nil) ⇒ ConfigSubmitContext

Returns a new instance of ConfigSubmitContext.



249
250
251
252
253
254
# File 'lib/v20200915/models.rb', line 249

def initialize(filename=nil, oldconfvalue=nil, newconfvalue=nil, filepath=nil)
  @FileName = filename
  @OldConfValue = oldconfvalue
  @NewConfValue = newconfvalue
  @FilePath = filepath
end

Instance Attribute Details

#FileNameObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



247
248
249
# File 'lib/v20200915/models.rb', line 247

def FileName
  @FileName
end

#FilePathObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



247
248
249
# File 'lib/v20200915/models.rb', line 247

def FilePath
  @FilePath
end

#NewConfValueObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



247
248
249
# File 'lib/v20200915/models.rb', line 247

def NewConfValue
  @NewConfValue
end

#OldConfValueObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



247
248
249
# File 'lib/v20200915/models.rb', line 247

def OldConfValue
  @OldConfValue
end

Instance Method Details

#deserialize(params) ⇒ Object



256
257
258
259
260
261
# File 'lib/v20200915/models.rb', line 256

def deserialize(params)
  @FileName = params['FileName']
  @OldConfValue = params['OldConfValue']
  @NewConfValue = params['NewConfValue']
  @FilePath = params['FilePath']
end