mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
* Make nullable warnings a per file opt-in * Remove unneeded compiler directives * Remove compiler directive for User Data
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
#nullable disable
|
|
|
|
using System.Collections.Generic;
|
|
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
|
{
|
|
public class RestoreConfigInfoRequestParams
|
|
{
|
|
/// <summary>
|
|
/// The Uri to find the connection to do the restore operations
|
|
/// </summary>
|
|
public string OwnerUri { get; set; }
|
|
}
|
|
|
|
public class RestoreConfigInfoResponse
|
|
{
|
|
public RestoreConfigInfoResponse()
|
|
{
|
|
ConfigInfo = new Dictionary<string, object>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Config Info
|
|
/// </summary>
|
|
public Dictionary<string, object> ConfigInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Errors occurred while creating the restore config info
|
|
/// </summary>
|
|
public string ErrorMessage { get; set; }
|
|
}
|
|
|
|
public class RestoreConfigInfoRequest
|
|
{
|
|
public static readonly
|
|
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse> Type =
|
|
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse>.Create("restore/restoreconfiginfo");
|
|
}
|
|
}
|