File tree Expand file tree Collapse file tree 2 files changed +4
-28
lines changed
Expand file tree Collapse file tree 2 files changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -19,33 +19,21 @@ public partial class TimeRange
1919 /// <summary>
2020 /// Initializes a new instance of the TimeRange class.
2121 /// </summary>
22- [ JsonConstructor ]
2322 public TimeRange ( ) { }
2423
25- /// <summary>
26- /// Initializes a new instance of the TimeRange class.
27- /// </summary>
28- /// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
29- /// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
30- public TimeRange ( long from , long until )
31- {
32- From = from ;
33- Until = until ;
34- }
35-
3624 /// <summary>
3725 /// When the rule should start to be active, in Unix epoch time.
3826 /// </summary>
3927 /// <value>When the rule should start to be active, in Unix epoch time.</value>
4028 [ JsonPropertyName ( "from" ) ]
41- public long From { get ; set ; }
29+ public long ? From { get ; set ; }
4230
4331 /// <summary>
4432 /// When the rule should stop to be active, in Unix epoch time.
4533 /// </summary>
4634 /// <value>When the rule should stop to be active, in Unix epoch time.</value>
4735 [ JsonPropertyName ( "until" ) ]
48- public long Until { get ; set ; }
36+ public long ? Until { get ; set ; }
4937
5038 /// <summary>
5139 /// Returns the string presentation of the object
Original file line number Diff line number Diff line change @@ -19,33 +19,21 @@ public partial class TimeRange
1919 /// <summary>
2020 /// Initializes a new instance of the TimeRange class.
2121 /// </summary>
22- [ JsonConstructor ]
2322 public TimeRange ( ) { }
2423
25- /// <summary>
26- /// Initializes a new instance of the TimeRange class.
27- /// </summary>
28- /// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
29- /// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
30- public TimeRange ( long from , long until )
31- {
32- From = from ;
33- Until = until ;
34- }
35-
3624 /// <summary>
3725 /// When the rule should start to be active, in Unix epoch time.
3826 /// </summary>
3927 /// <value>When the rule should start to be active, in Unix epoch time.</value>
4028 [ JsonPropertyName ( "from" ) ]
41- public long From { get ; set ; }
29+ public long ? From { get ; set ; }
4230
4331 /// <summary>
4432 /// When the rule should stop to be active, in Unix epoch time.
4533 /// </summary>
4634 /// <value>When the rule should stop to be active, in Unix epoch time.</value>
4735 [ JsonPropertyName ( "until" ) ]
48- public long Until { get ; set ; }
36+ public long ? Until { get ; set ; }
4937
5038 /// <summary>
5139 /// Returns the string presentation of the object
You can’t perform that action at this time.
0 commit comments