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.



447
448
449
450
451
452
# File 'lib/v20200915/models.rb', line 447

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:

    保存配置文件的路径



445
446
447
# File 'lib/v20200915/models.rb', line 445

def FileName
  @FileName
end

#FilePathObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



445
446
447
# File 'lib/v20200915/models.rb', line 445

def FilePath
  @FilePath
end

#NewConfValueObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



445
446
447
# File 'lib/v20200915/models.rb', line 445

def NewConfValue
  @NewConfValue
end

#OldConfValueObject

Parameters:

  • FileName:

    配置文件名称

  • OldConfValue:

    配置文件旧内容,base64编码

  • NewConfValue:

    配置文件新内容,base64编码

  • FilePath:

    保存配置文件的路径



445
446
447
# File 'lib/v20200915/models.rb', line 445

def OldConfValue
  @OldConfValue
end

Instance Method Details

#deserialize(params) ⇒ Object



454
455
456
457
458
459
# File 'lib/v20200915/models.rb', line 454

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