class TencentCloud::Cynosdb::V20190107::RollBackClusterRequest

RollBackCluster请求参数结构体

def deserialize(params)

def deserialize(params)
  @ClusterId = params['ClusterId']
  @RollbackStrategy = params['RollbackStrategy']
  @RollbackId = params['RollbackId']
  @ExpectTime = params['ExpectTime']
  @ExpectTimeThresh = params['ExpectTimeThresh']
  unless params['RollbackDatabases'].nil?
    @RollbackDatabases = []
    params['RollbackDatabases'].each do |i|
      rollbackdatabase_tmp = RollbackDatabase.new
      rollbackdatabase_tmp.deserialize(i)
      @RollbackDatabases << rollbackdatabase_tmp
    end
  end
  unless params['RollbackTables'].nil?
    @RollbackTables = []
    params['RollbackTables'].each do |i|
      rollbacktable_tmp = RollbackTable.new
      rollbacktable_tmp.deserialize(i)
      @RollbackTables << rollbacktable_tmp
    end
  end
  @RollbackMode = params['RollbackMode']
end

def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil, rollbackmode=nil)

def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil, rollbackmode=nil)
  @ClusterId = clusterid
  @RollbackStrategy = rollbackstrategy
  @RollbackId = rollbackid
  @ExpectTime = expecttime
  @ExpectTimeThresh = expecttimethresh
  @RollbackDatabases = rollbackdatabases
  @RollbackTables = rollbacktables
  @RollbackMode = rollbackmode
end