File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
algoliasearch/Models/Ingestion Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,30 @@ public partial class RunProgress
19
19
/// <summary>
20
20
/// Initializes a new instance of the RunProgress class.
21
21
/// </summary>
22
- public RunProgress ( )
22
+ [ JsonConstructor ]
23
+ public RunProgress ( ) { }
24
+ /// <summary>
25
+ /// Initializes a new instance of the RunProgress class.
26
+ /// </summary>
27
+ /// <param name="expectedNbOfEvents">expectedNbOfEvents (required).</param>
28
+ /// <param name="receivedNbOfEvents">receivedNbOfEvents (required).</param>
29
+ public RunProgress ( int expectedNbOfEvents , int receivedNbOfEvents )
23
30
{
31
+ ExpectedNbOfEvents = expectedNbOfEvents ;
32
+ ReceivedNbOfEvents = receivedNbOfEvents ;
24
33
}
25
34
26
35
/// <summary>
27
36
/// Gets or Sets ExpectedNbOfEvents
28
37
/// </summary>
29
38
[ JsonPropertyName ( "expectedNbOfEvents" ) ]
30
- public int ? ExpectedNbOfEvents { get ; set ; }
39
+ public int ExpectedNbOfEvents { get ; set ; }
31
40
32
41
/// <summary>
33
42
/// Gets or Sets ReceivedNbOfEvents
34
43
/// </summary>
35
44
[ JsonPropertyName ( "receivedNbOfEvents" ) ]
36
- public int ? ReceivedNbOfEvents { get ; set ; }
45
+ public int ReceivedNbOfEvents { get ; set ; }
37
46
38
47
/// <summary>
39
48
/// Returns the string presentation of the object
You can’t perform that action at this time.
0 commit comments