Class: TencentCloud::Tse::V20201207::ConfigFilePersistent

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

Overview

配置文件持久化

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encoding = nil, path = nil, postcmd = nil) ⇒ ConfigFilePersistent

Returns a new instance of ConfigFilePersistent.



1323
1324
1325
1326
1327
# File 'lib/v20201207/models.rb', line 1323

def initialize(encoding=nil, path=nil, postcmd=nil)
  @Encoding = encoding
  @Path = path
  @PostCmd = postcmd
end

Instance Attribute Details

#EncodingObject

Parameters:

  • Encoding:

    文件编码

  • Path:

    文件下发路径

  • PostCmd:

    文件后置命令



1321
1322
1323
# File 'lib/v20201207/models.rb', line 1321

def Encoding
  @Encoding
end

#PathObject

Parameters:

  • Encoding:

    文件编码

  • Path:

    文件下发路径

  • PostCmd:

    文件后置命令



1321
1322
1323
# File 'lib/v20201207/models.rb', line 1321

def Path
  @Path
end

#PostCmdObject

Parameters:

  • Encoding:

    文件编码

  • Path:

    文件下发路径

  • PostCmd:

    文件后置命令



1321
1322
1323
# File 'lib/v20201207/models.rb', line 1321

def PostCmd
  @PostCmd
end

Instance Method Details

#deserialize(params) ⇒ Object



1329
1330
1331
1332
1333
# File 'lib/v20201207/models.rb', line 1329

def deserialize(params)
  @Encoding = params['Encoding']
  @Path = params['Path']
  @PostCmd = params['PostCmd']
end