Skip to content

Commit e80c2ba

Browse files
Preserve BucketsPath alias (#8561) (#8562)
Co-authored-by: Florian Bernd <[email protected]>
1 parent 1e81f5b commit e80c2ba

20 files changed

+59
-59
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AverageBucketAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class AverageBucketAggregationConverter : System.Text.Js
3232
public override Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal AverageBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.Js
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public AverageBucketAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketCorrelationAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal sealed partial class BucketCorrelationAggregationConverter : System.Tex
3131
public override Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3232
{
3333
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
34-
LocalJsonValue<object?> propBucketsPath = default;
34+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3535
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationFunction> propFunction = default;
3636
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
3737
{
@@ -106,7 +106,7 @@ internal BucketCorrelationAggregation(Elastic.Clients.Elasticsearch.Serializatio
106106
/// Path to the buckets that contain one set of values to correlate.
107107
/// </para>
108108
/// </summary>
109-
public object? BucketsPath { get; set; }
109+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
110110

111111
/// <summary>
112112
/// <para>
@@ -149,7 +149,7 @@ public BucketCorrelationAggregationDescriptor()
149149
/// Path to the buckets that contain one set of values to correlate.
150150
/// </para>
151151
/// </summary>
152-
public Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregationDescriptor BucketsPath(object? value)
152+
public Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
153153
{
154154
Instance.BucketsPath = value;
155155
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketKsAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregation R
3434
{
3535
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
3636
LocalJsonValue<System.Collections.Generic.ICollection<string>?> propAlternative = default;
37-
LocalJsonValue<object?> propBucketsPath = default;
37+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3838
LocalJsonValue<System.Collections.Generic.ICollection<double>?> propFractions = default;
3939
LocalJsonValue<string?> propSamplingMethod = default;
4040
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -135,7 +135,7 @@ internal BucketKsAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCon
135135
/// Path to the buckets that contain one set of values to correlate.
136136
/// </para>
137137
/// </summary>
138-
public object? BucketsPath { get; set; }
138+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
139139

140140
/// <summary>
141141
/// <para>
@@ -222,7 +222,7 @@ public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor
222222
/// Path to the buckets that contain one set of values to correlate.
223223
/// </para>
224224
/// </summary>
225-
public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor BucketsPath(object? value)
225+
public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
226226
{
227227
Instance.BucketsPath = value;
228228
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketScriptAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal sealed partial class BucketScriptAggregationConverter : System.Text.Jso
3333
public override Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3434
{
3535
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
36-
LocalJsonValue<object?> propBucketsPath = default;
36+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3737
LocalJsonValue<string?> propFormat = default;
3838
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3939
LocalJsonValue<Elastic.Clients.Elasticsearch.Script?> propScript = default;
@@ -113,7 +113,7 @@ internal BucketScriptAggregation(Elastic.Clients.Elasticsearch.Serialization.Jso
113113
/// Path to the buckets that contain one set of values to correlate.
114114
/// </para>
115115
/// </summary>
116-
public object? BucketsPath { get; set; }
116+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
117117

118118
/// <summary>
119119
/// <para>
@@ -162,7 +162,7 @@ public BucketScriptAggregationDescriptor()
162162
/// Path to the buckets that contain one set of values to correlate.
163163
/// </para>
164164
/// </summary>
165-
public Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregationDescriptor BucketsPath(object? value)
165+
public Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
166166
{
167167
Instance.BucketsPath = value;
168168
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketSelectorAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal sealed partial class BucketSelectorAggregationConverter : System.Text.J
3333
public override Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3434
{
3535
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
36-
LocalJsonValue<object?> propBucketsPath = default;
36+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3737
LocalJsonValue<string?> propFormat = default;
3838
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3939
LocalJsonValue<Elastic.Clients.Elasticsearch.Script?> propScript = default;
@@ -113,7 +113,7 @@ internal BucketSelectorAggregation(Elastic.Clients.Elasticsearch.Serialization.J
113113
/// Path to the buckets that contain one set of values to correlate.
114114
/// </para>
115115
/// </summary>
116-
public object? BucketsPath { get; set; }
116+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
117117

118118
/// <summary>
119119
/// <para>
@@ -162,7 +162,7 @@ public BucketSelectorAggregationDescriptor()
162162
/// Path to the buckets that contain one set of values to correlate.
163163
/// </para>
164164
/// </summary>
165-
public Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregationDescriptor BucketsPath(object? value)
165+
public Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
166166
{
167167
Instance.BucketsPath = value;
168168
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeCardinalityAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class CumulativeCardinalityAggregationConverter : System
3232
public override Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal CumulativeCardinalityAggregation(Elastic.Clients.Elasticsearch.Serializ
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public CumulativeCardinalityAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeSumAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class CumulativeSumAggregationConverter : System.Text.Js
3232
public override Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal CumulativeSumAggregation(Elastic.Clients.Elasticsearch.Serialization.Js
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public CumulativeSumAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/DerivativeAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class DerivativeAggregationConverter : System.Text.Json.
3232
public override Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal DerivativeAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonC
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public DerivativeAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/ExtendedStatsBucketAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal sealed partial class ExtendedStatsBucketAggregationConverter : System.T
3333
public override Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3434
{
3535
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
36-
LocalJsonValue<object?> propBucketsPath = default;
36+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3737
LocalJsonValue<string?> propFormat = default;
3838
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3939
LocalJsonValue<double?> propSigma = default;
@@ -113,7 +113,7 @@ internal ExtendedStatsBucketAggregation(Elastic.Clients.Elasticsearch.Serializat
113113
/// Path to the buckets that contain one set of values to correlate.
114114
/// </para>
115115
/// </summary>
116-
public object? BucketsPath { get; set; }
116+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
117117

118118
/// <summary>
119119
/// <para>
@@ -162,7 +162,7 @@ public ExtendedStatsBucketAggregationDescriptor()
162162
/// Path to the buckets that contain one set of values to correlate.
163163
/// </para>
164164
/// </summary>
165-
public Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregationDescriptor BucketsPath(object? value)
165+
public Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
166166
{
167167
Instance.BucketsPath = value;
168168
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceAggregation.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal sealed partial class InferenceAggregationConverter : System.Text.Json.S
3434
public override Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3535
{
3636
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
37-
LocalJsonValue<object?> propBucketsPath = default;
37+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3838
LocalJsonValue<string?> propFormat = default;
3939
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
4040
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.InferenceConfig?> propInferenceConfig = default;
@@ -128,7 +128,7 @@ internal InferenceAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo
128128
/// Path to the buckets that contain one set of values to correlate.
129129
/// </para>
130130
/// </summary>
131-
public object? BucketsPath { get; set; }
131+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
132132

133133
/// <summary>
134134
/// <para>
@@ -188,7 +188,7 @@ public InferenceAggregationDescriptor()
188188
/// Path to the buckets that contain one set of values to correlate.
189189
/// </para>
190190
/// </summary>
191-
public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor<TDocument> BucketsPath(object? value)
191+
public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor<TDocument> BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
192192
{
193193
Instance.BucketsPath = value;
194194
return this;
@@ -283,7 +283,7 @@ public InferenceAggregationDescriptor()
283283
/// Path to the buckets that contain one set of values to correlate.
284284
/// </para>
285285
/// </summary>
286-
public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(object? value)
286+
public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
287287
{
288288
Instance.BucketsPath = value;
289289
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MaxBucketAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class MaxBucketAggregationConverter : System.Text.Json.S
3232
public override Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal MaxBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public MaxBucketAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MinBucketAggregation.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal sealed partial class MinBucketAggregationConverter : System.Text.Json.S
3232
public override Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
3333
{
3434
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
35-
LocalJsonValue<object?> propBucketsPath = default;
35+
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.BucketsPath?> propBucketsPath = default;
3636
LocalJsonValue<string?> propFormat = default;
3737
LocalJsonValue<Elastic.Clients.Elasticsearch.Aggregations.GapPolicy?> propGapPolicy = default;
3838
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -104,7 +104,7 @@ internal MinBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo
104104
/// Path to the buckets that contain one set of values to correlate.
105105
/// </para>
106106
/// </summary>
107-
public object? BucketsPath { get; set; }
107+
public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; }
108108

109109
/// <summary>
110110
/// <para>
@@ -146,7 +146,7 @@ public MinBucketAggregationDescriptor()
146146
/// Path to the buckets that contain one set of values to correlate.
147147
/// </para>
148148
/// </summary>
149-
public Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregationDescriptor BucketsPath(object? value)
149+
public Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value)
150150
{
151151
Instance.BucketsPath = value;
152152
return this;

0 commit comments

Comments
 (0)