Skip to content

Commit ee58a38

Browse files
fix(specs): ingestion expected and received events type [skip-bc] (generated)
algolia/api-clients-automation#4356 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 004be40 commit ee58a38

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

algoliasearch/Models/Ingestion/RunProgress.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,30 @@ public partial class RunProgress
1919
/// <summary>
2020
/// Initializes a new instance of the RunProgress class.
2121
/// </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)
2330
{
31+
ExpectedNbOfEvents = expectedNbOfEvents;
32+
ReceivedNbOfEvents = receivedNbOfEvents;
2433
}
2534

2635
/// <summary>
2736
/// Gets or Sets ExpectedNbOfEvents
2837
/// </summary>
2938
[JsonPropertyName("expectedNbOfEvents")]
30-
public int? ExpectedNbOfEvents { get; set; }
39+
public int ExpectedNbOfEvents { get; set; }
3140

3241
/// <summary>
3342
/// Gets or Sets ReceivedNbOfEvents
3443
/// </summary>
3544
[JsonPropertyName("receivedNbOfEvents")]
36-
public int? ReceivedNbOfEvents { get; set; }
45+
public int ReceivedNbOfEvents { get; set; }
3746

3847
/// <summary>
3948
/// Returns the string presentation of the object

0 commit comments

Comments
 (0)