class TencentCloud::Sqlserver::V20180328::Migration

冷备迁移导入

def deserialize(params)

def deserialize(params)
  @MigrationId = params['MigrationId']
  @MigrationName = params['MigrationName']
  @AppId = params['AppId']
  @Region = params['Region']
  @InstanceId = params['InstanceId']
  @RecoveryType = params['RecoveryType']
  @UploadType = params['UploadType']
  @BackupFiles = params['BackupFiles']
  @Status = params['Status']
  @CreateTime = params['CreateTime']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Message = params['Message']
  unless params['Detail'].nil?
    @Detail = MigrationDetail.new
    @Detail.deserialize(params['Detail'])
  end
  unless params['Action'].nil?
    @Action = MigrationAction.new
    @Action.deserialize(params['Action'])
  end
  @IsRecovery = params['IsRecovery']
end

def initialize(migrationid=nil, migrationname=nil, appid=nil, region=nil, instanceid=nil, recoverytype=nil, uploadtype=nil, backupfiles=nil, status=nil, createtime=nil, starttime=nil, endtime=nil, message=nil, detail=nil, action=nil, isrecovery=nil)

def initialize(migrationid=nil, migrationname=nil, appid=nil, region=nil, instanceid=nil, recoverytype=nil, uploadtype=nil, backupfiles=nil, status=nil, createtime=nil, starttime=nil, endtime=nil, message=nil, detail=nil, action=nil, isrecovery=nil)
  @MigrationId = migrationid
  @MigrationName = migrationname
  @AppId = appid
  @Region = region
  @InstanceId = instanceid
  @RecoveryType = recoverytype
  @UploadType = uploadtype
  @BackupFiles = backupfiles
  @Status = status
  @CreateTime = createtime
  @StartTime = starttime
  @EndTime = endtime
  @Message = message
  @Detail = detail
  @Action = action
  @IsRecovery = isrecovery
end