class TencentCloud::Sqlserver::V20180328::DescribeMigrationDetailResponse
DescribeMigrationDetail返回参数结构体
def deserialize(params)
def deserialize(params) @MigrateId = params['MigrateId'] @MigrateName = params['MigrateName'] @AppId = params['AppId'] @Region = params['Region'] @SourceType = params['SourceType'] @CreateTime = params['CreateTime'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Status = params['Status'] @Progress = params['Progress'] @MigrateType = params['MigrateType'] 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 @RequestId = params['RequestId'] end
def initialize(migrateid=nil, migratename=nil, appid=nil, region=nil, sourcetype=nil, createtime=nil, starttime=nil, endtime=nil, status=nil, progress=nil, migratetype=nil, source=nil, target=nil, migratedbset=nil, requestid=nil)
def initialize(migrateid=nil, migratename=nil, appid=nil, region=nil, sourcetype=nil, createtime=nil, starttime=nil, endtime=nil, status=nil, progress=nil, migratetype=nil, source=nil, target=nil, migratedbset=nil, requestid=nil) @MigrateId = migrateid @MigrateName = migratename @AppId = appid @Region = region @SourceType = sourcetype @CreateTime = createtime @StartTime = starttime @EndTime = endtime @Status = status @Progress = progress @MigrateType = migratetype @Source = source @Target = target @MigrateDBSet = migratedbset @RequestId = requestid end