2020using Seq . Api . Model . Signals ;
2121using Seq . Api . ResourceGroups ;
2222
23+ #nullable enable
24+
2325namespace Seq . Api . Model . AppInstances
2426{
2527 /// <summary>
@@ -49,17 +51,17 @@ public AppInstanceEntity()
4951 /// <summary>
5052 /// The id of the <see cref="AppEntity"/> that this is an instance of.
5153 /// </summary>
52- public string AppId { get ; set ; }
54+ public string ? AppId { get ; set ; }
5355
5456 /// <summary>
5557 /// The user-friendly title of the app instance.
5658 /// </summary>
57- public string Title { get ; set ; }
59+ public string ? Title { get ; set ; }
5860
5961 /// <summary>
6062 /// Values for the settings exposed by the app.
6163 /// </summary>
62- public Dictionary < string , string > Settings { get ; set ; }
64+ public Dictionary < string , string > ? Settings { get ; set ; }
6365
6466 /// <summary>
6567 /// If <c>true</c>, administrative users may invoke the app manually or through alerts.
@@ -77,13 +79,13 @@ public AppInstanceEntity()
7779 /// The settings that can be overridden at invocation time (when an event is sent to
7880 /// the instance).
7981 /// </summary>
80- public List < string > InvocationOverridableSettings { get ; set ; }
82+ public List < string > ? InvocationOverridableSettings { get ; set ; }
8183
8284 /// <summary>
8385 /// Metadata describing the overridable settings. This field is provided by the server
8486 /// and cannot be modified.
8587 /// </summary>
86- public List < AppSettingPart > InvocationOverridableSettingDefinitions { get ; set ; }
88+ public List < AppSettingPart > ? InvocationOverridableSettingDefinitions { get ; set ; }
8789
8890 /// <summary>
8991 /// If <c>true</c>, events will be streamed to the app. Otherwise, events will be
@@ -95,7 +97,7 @@ public AppInstanceEntity()
9597 /// The signal expression describing which events will be sent to the app; if <c>null</c>,
9698 /// all events will reach the app.
9799 /// </summary>
98- public SignalExpressionPart StreamedSignalExpression { get ; set ; }
100+ public SignalExpressionPart ? StreamedSignalExpression { get ; set ; }
99101
100102 /// <summary>
101103 /// If a value is specified, events will be buffered to disk and sorted by timestamp-order
@@ -121,31 +123,31 @@ public AppInstanceEntity()
121123 /// Settings that control how events are ingested through the app.
122124 /// </summary>
123125 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
124- public InputSettingsPart InputSettings { get ; set ; }
126+ public InputSettingsPart ? InputSettings { get ; set ; }
125127
126128 /// <summary>
127129 /// Metrics describing the state and activity of the app process.
128130 /// </summary>
129131 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
130- public AppInstanceProcessMetricsPart ProcessMetrics { get ; set ; }
132+ public AppInstanceProcessMetricsPart ? ProcessMetrics { get ; set ; }
131133
132134 /// <summary>
133135 /// Information about ingestion activity through this app.
134136 /// </summary>
135137 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
136- public InputMetricsPart InputMetrics { get ; set ; }
138+ public InputMetricsPart ? InputMetrics { get ; set ; }
137139
138140 /// <summary>
139141 /// Information about the app's diagnostic input.
140142 /// </summary>
141143 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
142- public InputMetricsPart DiagnosticInputMetrics { get ; set ; }
144+ public InputMetricsPart ? DiagnosticInputMetrics { get ; set ; }
143145
144146 /// <summary>
145147 /// Information about events output through the app.
146148 /// </summary>
147149 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
148- public AppInstanceOutputMetricsPart OutputMetrics { get ; set ; }
150+ public AppInstanceOutputMetricsPart ? OutputMetrics { get ; set ; }
149151
150152 /// <summary>
151153 /// Obsolete.
@@ -160,5 +162,17 @@ public AppInstanceEntity()
160162 [ Obsolete ( "Use !AcceptDirectInvocation instead." ) ]
161163 [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
162164 public bool ? DisallowManualInput { get ; set ; }
165+
166+ /// <summary>
167+ /// The name of the app.
168+ /// </summary>
169+ [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
170+ public string ? AppName { get ; set ; }
171+
172+ /// <summary>
173+ /// If <c>true</c>, then the app is able to write events to the log.
174+ /// </summary>
175+ [ JsonProperty ( DefaultValueHandling = DefaultValueHandling . Ignore ) ]
176+ public bool ? IsInput { get ; set ; }
163177 }
164178}
0 commit comments