Skip to content

Commit 9d6861f

Browse files
committed
fix: including internal properties in json
1 parent d8b0d04 commit 9d6861f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ElectronNET.API/API/Entities/NotificationOptions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public class NotificationOptions
8686
/// <value>
8787
/// The show identifier.
8888
/// </value>
89-
[JsonPropertyName("showID")]
89+
[JsonInclude]
9090
internal string ShowID { get; set; }
9191

9292
/// <summary>
@@ -101,7 +101,7 @@ public class NotificationOptions
101101
/// <value>
102102
/// The click identifier.
103103
/// </value>
104-
[JsonPropertyName("clickID")]
104+
[JsonInclude]
105105
internal string ClickID { get; set; }
106106

107107
/// <summary>
@@ -118,7 +118,7 @@ public class NotificationOptions
118118
/// <value>
119119
/// The close identifier.
120120
/// </value>
121-
[JsonPropertyName("closeID")]
121+
[JsonInclude]
122122
internal string CloseID { get; set; }
123123

124124
/// <summary>
@@ -135,7 +135,7 @@ public class NotificationOptions
135135
/// <value>
136136
/// The reply identifier.
137137
/// </value>
138-
[JsonPropertyName("replyID")]
138+
[JsonInclude]
139139
internal string ReplyID { get; set; }
140140

141141
/// <summary>
@@ -150,7 +150,7 @@ public class NotificationOptions
150150
/// <value>
151151
/// The action identifier.
152152
/// </value>
153-
[JsonPropertyName("actionID")]
153+
[JsonInclude]
154154
internal string ActionID { get; set; }
155155

156156
/// <summary>

0 commit comments

Comments
 (0)