class TencentCloud::Sqlserver::V20180328::ModifyMigrationRequest
ModifyMigration请求参数结构体
def deserialize(params)
def deserialize(params) @MigrateId = params['MigrateId'] @MigrateName = params['MigrateName'] @MigrateType = params['MigrateType'] @SourceType = params['SourceType'] unless params['Source'].nil? @Source = MigrateSource.new @Source.deserialize(params['Source']) end unless params['Target'].nil? @Target = MigrateTarget.new @Target.deserialize(params['Target']) end unless params['MigrateDBSet'].nil? @MigrateDBSet = [] params['MigrateDBSet'].each do |i| migratedb_tmp = MigrateDB.new migratedb_tmp.deserialize(i) @MigrateDBSet << migratedb_tmp end end end
def initialize(migrateid=nil, migratename=nil, migratetype=nil, sourcetype=nil, source=nil, target=nil, migratedbset=nil)
def initialize(migrateid=nil, migratename=nil, migratetype=nil, sourcetype=nil, source=nil, target=nil, migratedbset=nil) @MigrateId = migrateid @MigrateName = migratename @MigrateType = migratetype @SourceType = sourcetype @Source = source @Target = target @MigrateDBSet = migratedbset end