From 5cbfd3afbf558ecaa6b98c49b5106239081bd584 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ricardo=20Andr=C3=A9s=20Marino=20Rojas?=
<47573394+Marinovsky@users.noreply.github.com>
Date: Fri, 10 May 2024 17:28:04 -0500
Subject: [PATCH] Add missing class
---
Common/Api/InsightResponse.cs | 36 +++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Common/Api/InsightResponse.cs
diff --git a/Common/Api/InsightResponse.cs b/Common/Api/InsightResponse.cs
new file mode 100644
index 000000000000..8bc6ab3f42e1
--- /dev/null
+++ b/Common/Api/InsightResponse.cs
@@ -0,0 +1,36 @@
+/*
+ * 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 System.Collections.Generic;
+using QuantConnect.Algorithm.Framework.Alphas;
+
+namespace QuantConnect.Api
+{
+ ///
+ /// Class containing insights and the number of insights of the live algorithm in the request criteria
+ ///
+ public class InsightResponse: RestResponse
+ {
+ ///
+ /// Collection of insights
+ ///
+ public List Insights { get; set; }
+
+ ///
+ /// Total number of returned insights
+ ///
+ public int Length { get; set; }
+ }
+}