44namespace DeepL
55{
66 /// <summary>
7- /// Aggregate counts of issues across all segments.
7+ /// Aggregate quality results across all segments.
88 /// </summary>
99 public sealed partial class QualityEvaluationDoneSummary
1010 {
11+ /// <summary>
12+ /// Overall translation quality, from 0 (lowest) to 100 (highest). See [Summary](/api-reference/quality-evaluation/poll#summary).<br/>
13+ /// Example: 72
14+ /// </summary>
15+ /// <example>72</example>
16+ [ global ::System . Text . Json . Serialization . JsonPropertyName ( "overall_score" ) ]
17+ [ global ::System . Text . Json . Serialization . JsonRequired ]
18+ public required int OverallScore { get ; set ; }
19+
1120 /// <summary>
1221 /// Nested counts keyed by `type`, then `sub_type`, then `severity`. Leaf values are integer counts.<br/>
1322 /// Example: {"Accuracy":{"Mistranslation":{"Critical":1,"Minor":1},"Omission":{"Major":1}}}
@@ -26,6 +35,10 @@ public sealed partial class QualityEvaluationDoneSummary
2635 /// <summary>
2736 /// Initializes a new instance of the <see cref="QualityEvaluationDoneSummary" /> class.
2837 /// </summary>
38+ /// <param name="overallScore">
39+ /// Overall translation quality, from 0 (lowest) to 100 (highest). See [Summary](/api-reference/quality-evaluation/poll#summary).<br/>
40+ /// Example: 72
41+ /// </param>
2942 /// <param name="granularCounts">
3043 /// Nested counts keyed by `type`, then `sub_type`, then `severity`. Leaf values are integer counts.<br/>
3144 /// Example: {"Accuracy":{"Mistranslation":{"Critical":1,"Minor":1},"Omission":{"Major":1}}}
@@ -34,8 +47,10 @@ public sealed partial class QualityEvaluationDoneSummary
3447 [ global ::System . Diagnostics . CodeAnalysis . SetsRequiredMembers ]
3548#endif
3649 public QualityEvaluationDoneSummary (
50+ int overallScore ,
3751 object granularCounts )
3852 {
53+ this . OverallScore = overallScore ;
3954 this . GranularCounts = granularCounts ?? throw new global ::System . ArgumentNullException ( nameof ( granularCounts ) ) ;
4055 }
4156
0 commit comments