Skip to content

Commit 23df2cd

Browse files
algolia-botmillotp
andcommitted
fix(specs): update run reason in observability (generated)
algolia/api-clients-automation#5623 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 528a866 commit 23df2cd

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

algoliasearch/Models/Ingestion/RunReasonCode.cs

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,51 @@ public enum RunReasonCode
2424
[JsonPropertyName("internal")]
2525
Internal = 1,
2626

27+
/// <summary>
28+
/// Enum Cancelled for value: cancelled
29+
/// </summary>
30+
[JsonPropertyName("cancelled")]
31+
Cancelled = 2,
32+
2733
/// <summary>
2834
/// Enum Critical for value: critical
2935
/// </summary>
3036
[JsonPropertyName("critical")]
31-
Critical = 2,
37+
Critical = 3,
3238

3339
/// <summary>
3440
/// Enum NoEvents for value: no_events
3541
/// </summary>
3642
[JsonPropertyName("no_events")]
37-
NoEvents = 3,
43+
NoEvents = 4,
3844

3945
/// <summary>
4046
/// Enum TooManyErrors for value: too_many_errors
4147
/// </summary>
4248
[JsonPropertyName("too_many_errors")]
43-
TooManyErrors = 4,
49+
TooManyErrors = 5,
4450

4551
/// <summary>
46-
/// Enum Ok for value: ok
52+
/// Enum LackingEvents for value: lacking_events
4753
/// </summary>
48-
[JsonPropertyName("ok")]
49-
Ok = 5,
54+
[JsonPropertyName("lacking_events")]
55+
LackingEvents = 6,
5056

5157
/// <summary>
52-
/// Enum Discarded for value: discarded
58+
/// Enum Ok for value: ok
5359
/// </summary>
54-
[JsonPropertyName("discarded")]
55-
Discarded = 6,
60+
[JsonPropertyName("ok")]
61+
Ok = 7,
5662

5763
/// <summary>
5864
/// Enum Blocking for value: blocking
5965
/// </summary>
6066
[JsonPropertyName("blocking")]
61-
Blocking = 7,
67+
Blocking = 8,
68+
69+
/// <summary>
70+
/// Enum Idle for value: idle
71+
/// </summary>
72+
[JsonPropertyName("idle")]
73+
Idle = 9,
6274
}

algoliasearch/Models/Ingestion/RunStatus.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,15 @@ public enum RunStatus
3030
[JsonPropertyName("started")]
3131
Started = 2,
3232

33-
/// <summary>
34-
/// Enum Idled for value: idled
35-
/// </summary>
36-
[JsonPropertyName("idled")]
37-
Idled = 3,
38-
3933
/// <summary>
4034
/// Enum Finished for value: finished
4135
/// </summary>
4236
[JsonPropertyName("finished")]
43-
Finished = 4,
37+
Finished = 3,
4438

4539
/// <summary>
4640
/// Enum Skipped for value: skipped
4741
/// </summary>
4842
[JsonPropertyName("skipped")]
49-
Skipped = 5,
43+
Skipped = 4,
5044
}

0 commit comments

Comments
 (0)