// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts { /// /// Restore response /// public class RestoreResponse { /// /// Indicates if the restore task created successfully /// public bool Result { get; set; } /// /// The task id assosiated witht the restore operation /// public string TaskId { get; set; } /// /// Errors occurred while creating the restore operation task /// public string ErrorMessage { get; set; } } public class RestoreRequest { public static readonly RequestType Type = RequestType.Create("disasterrecovery/restore"); } }