Class: TencentCloud::Cdb::V20170320::RollbackTables
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::RollbackTables
- Defined in:
- lib/v20170320/models.rb
Overview
用于回档的数据库表详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(database = nil, table = nil) ⇒ RollbackTables
constructor
A new instance of RollbackTables.
Constructor Details
#initialize(database = nil, table = nil) ⇒ RollbackTables
Returns a new instance of RollbackTables.
13174 13175 13176 13177 |
# File 'lib/v20170320/models.rb', line 13174 def initialize(database=nil, table=nil) @Database = database @Table = table end |
Instance Attribute Details
#Database ⇒ Object
13172 13173 13174 |
# File 'lib/v20170320/models.rb', line 13172 def Database @Database end |
#Table ⇒ Object
13172 13173 13174 |
# File 'lib/v20170320/models.rb', line 13172 def Table @Table end |
Instance Method Details
#deserialize(params) ⇒ Object
13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 |
# File 'lib/v20170320/models.rb', line 13179 def deserialize(params) @Database = params['Database'] unless params['Table'].nil? @Table = [] params['Table'].each do |i| rollbacktablename_tmp = RollbackTableName.new rollbacktablename_tmp.deserialize(i) @Table << rollbacktablename_tmp end end end |