Files
quantconnect--lean/Common/Api/ProjectNode.cs
T
Alexandre Catarino b1a6aa686c
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Replace Nodes Endpoint in SDK (#6899)
* Adds `project/nodes` Endpoint to SDK

* Removes `nodes` Endpoint from SDK

* Fixes Documentation for `ProjectNodesResponse`
2023-02-05 09:35:11 -08:00

45 lines
1.5 KiB
C#

/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using Newtonsoft.Json;
namespace QuantConnect.Api
{
/// <summary>
/// Collection of <see cref="Node"/> objects for each target environment.
/// </summary>
public class ProjectNodes : NodeList
{
}
/// <summary>
/// Response received when reading or updating some nodes of a project
/// </summary>
public class ProjectNodesResponse : RestResponse
{
/// <summary>
/// List of project nodes.
/// </summary>
[JsonProperty(PropertyName = "nodes")]
public ProjectNodes Nodes { get; set; }
/// <summary>
/// Indicate if the node is automatically selected
/// </summary>
[JsonProperty(PropertyName = "autoSelectNode")]
public bool AutoSelectNode { get; set; }
}
}