Skip to content

Commit

Permalink
Made AppInstanceEntity.cs more nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
liammclennan committed Feb 24, 2022
1 parent 9ccfc0a commit cb4f90d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Seq.Api/Model/AppInstances/AppInstanceEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public AppInstanceEntity()
/// <summary>
/// Values for the settings exposed by the app.
/// </summary>
public Dictionary<string, string> Settings { get; set; }
public Dictionary<string, string>? Settings { get; set; }

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

/// <summary>
/// Metadata describing the overridable settings. This field is provided by the server
/// and cannot be modified.
/// </summary>
public List<AppSettingPart> InvocationOverridableSettingDefinitions { get; set; }
public List<AppSettingPart>? InvocationOverridableSettingDefinitions { get; set; }

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

/// <summary>
/// Metrics describing the state and activity of the app process.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public AppInstanceProcessMetricsPart ProcessMetrics { get; set; }
public AppInstanceProcessMetricsPart? ProcessMetrics { get; set; }

/// <summary>
/// Information about ingestion activity through this app.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public InputMetricsPart InputMetrics { get; set; }
public InputMetricsPart? InputMetrics { get; set; }

/// <summary>
/// Information about the app's diagnostic input.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public InputMetricsPart DiagnosticInputMetrics { get; set; }
public InputMetricsPart? DiagnosticInputMetrics { get; set; }

/// <summary>
/// Information about events output through the app.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public AppInstanceOutputMetricsPart OutputMetrics { get; set; }
public AppInstanceOutputMetricsPart? OutputMetrics { get; set; }

/// <summary>
/// Obsolete.
Expand Down

0 comments on commit cb4f90d

Please sign in to comment.