From cb4f90d3517ec48049eeacce1e57cdf3d1cf0a24 Mon Sep 17 00:00:00 2001 From: Liam McLennan Date: Thu, 24 Feb 2022 16:02:23 +1100 Subject: [PATCH] Made AppInstanceEntity.cs more nullable --- .../Model/AppInstances/AppInstanceEntity.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs b/src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs index 5297189..e563308 100644 --- a/src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs +++ b/src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs @@ -61,7 +61,7 @@ public AppInstanceEntity() /// /// Values for the settings exposed by the app. /// - public Dictionary Settings { get; set; } + public Dictionary? Settings { get; set; } /// /// If true, administrative users may invoke the app manually or through alerts. @@ -79,13 +79,13 @@ public AppInstanceEntity() /// The settings that can be overridden at invocation time (when an event is sent to /// the instance). /// - public List InvocationOverridableSettings { get; set; } + public List? InvocationOverridableSettings { get; set; } /// /// Metadata describing the overridable settings. This field is provided by the server /// and cannot be modified. /// - public List InvocationOverridableSettingDefinitions { get; set; } + public List? InvocationOverridableSettingDefinitions { get; set; } /// /// If true, events will be streamed to the app. Otherwise, events will be @@ -123,31 +123,31 @@ public AppInstanceEntity() /// Settings that control how events are ingested through the app. /// [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] - public InputSettingsPart InputSettings { get; set; } + public InputSettingsPart? InputSettings { get; set; } /// /// Metrics describing the state and activity of the app process. /// [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] - public AppInstanceProcessMetricsPart ProcessMetrics { get; set; } + public AppInstanceProcessMetricsPart? ProcessMetrics { get; set; } /// /// Information about ingestion activity through this app. /// [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] - public InputMetricsPart InputMetrics { get; set; } + public InputMetricsPart? InputMetrics { get; set; } /// /// Information about the app's diagnostic input. /// [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] - public InputMetricsPart DiagnosticInputMetrics { get; set; } + public InputMetricsPart? DiagnosticInputMetrics { get; set; } /// /// Information about events output through the app. /// [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] - public AppInstanceOutputMetricsPart OutputMetrics { get; set; } + public AppInstanceOutputMetricsPart? OutputMetrics { get; set; } /// /// Obsolete.