Skip to content

Commit cb4f90d

Browse files
committed
Made AppInstanceEntity.cs more nullable
1 parent 9ccfc0a commit cb4f90d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public AppInstanceEntity()
6161
/// <summary>
6262
/// Values for the settings exposed by the app.
6363
/// </summary>
64-
public Dictionary<string, string> Settings { get; set; }
64+
public Dictionary<string, string>? Settings { get; set; }
6565

6666
/// <summary>
6767
/// If <c>true</c>, administrative users may invoke the app manually or through alerts.
@@ -79,13 +79,13 @@ public AppInstanceEntity()
7979
/// The settings that can be overridden at invocation time (when an event is sent to
8080
/// the instance).
8181
/// </summary>
82-
public List<string> InvocationOverridableSettings { get; set; }
82+
public List<string>? InvocationOverridableSettings { get; set; }
8383

8484
/// <summary>
8585
/// Metadata describing the overridable settings. This field is provided by the server
8686
/// and cannot be modified.
8787
/// </summary>
88-
public List<AppSettingPart> InvocationOverridableSettingDefinitions { get; set; }
88+
public List<AppSettingPart>? InvocationOverridableSettingDefinitions { get; set; }
8989

9090
/// <summary>
9191
/// If <c>true</c>, events will be streamed to the app. Otherwise, events will be
@@ -123,31 +123,31 @@ public AppInstanceEntity()
123123
/// Settings that control how events are ingested through the app.
124124
/// </summary>
125125
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
126-
public InputSettingsPart InputSettings { get; set; }
126+
public InputSettingsPart? InputSettings { get; set; }
127127

128128
/// <summary>
129129
/// Metrics describing the state and activity of the app process.
130130
/// </summary>
131131
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
132-
public AppInstanceProcessMetricsPart ProcessMetrics { get; set; }
132+
public AppInstanceProcessMetricsPart? ProcessMetrics { get; set; }
133133

134134
/// <summary>
135135
/// Information about ingestion activity through this app.
136136
/// </summary>
137137
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
138-
public InputMetricsPart InputMetrics { get; set; }
138+
public InputMetricsPart? InputMetrics { get; set; }
139139

140140
/// <summary>
141141
/// Information about the app's diagnostic input.
142142
/// </summary>
143143
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
144-
public InputMetricsPart DiagnosticInputMetrics { get; set; }
144+
public InputMetricsPart? DiagnosticInputMetrics { get; set; }
145145

146146
/// <summary>
147147
/// Information about events output through the app.
148148
/// </summary>
149149
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
150-
public AppInstanceOutputMetricsPart OutputMetrics { get; set; }
150+
public AppInstanceOutputMetricsPart? OutputMetrics { get; set; }
151151

152152
/// <summary>
153153
/// Obsolete.

0 commit comments

Comments
 (0)