mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
* unify requests-wip * wip * unify api * fix test * add credential handler * fix credential handler issue. * generic type update * fix scripting for user
31 lines
979 B
C#
31 lines
979 B
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 Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
using Microsoft.SqlTools.Utility;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement.Contracts
|
|
{
|
|
public class SaveObjectRequestParams : GeneralRequestDetails
|
|
{
|
|
/// <summary>
|
|
/// The context id.
|
|
/// </summary>
|
|
public string ContextId { get; set; }
|
|
/// <summary>
|
|
/// The object information.
|
|
/// </summary>
|
|
public JToken Object { get; set; }
|
|
}
|
|
|
|
public class SaveObjectRequestResponse { }
|
|
|
|
public class SaveObjectRequest
|
|
{
|
|
public static readonly RequestType<SaveObjectRequestParams, SaveObjectRequestResponse> Type = RequestType<SaveObjectRequestParams, SaveObjectRequestResponse>.Create("objectManagement/save");
|
|
}
|
|
} |