@@ -31,16 +31,16 @@ public sealed partial class IcuCollationTokenFilter : ITokenFilter
31
31
{
32
32
[ JsonInclude , JsonPropertyName ( "alternate" ) ]
33
33
public Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationAlternate ? Alternate { get ; set ; }
34
- [ JsonInclude , JsonPropertyName ( "caseFirst " ) ]
35
- public Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? Casefirst { get ; set ; }
36
- [ JsonInclude , JsonPropertyName ( "caseLevel " ) ]
37
- public bool ? Caselevel { get ; set ; }
34
+ [ JsonInclude , JsonPropertyName ( "case_first " ) ]
35
+ public Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? CaseFirst { get ; set ; }
36
+ [ JsonInclude , JsonPropertyName ( "case_level " ) ]
37
+ public bool ? CaseLevel { get ; set ; }
38
38
[ JsonInclude , JsonPropertyName ( "country" ) ]
39
39
public string ? Country { get ; set ; }
40
40
[ JsonInclude , JsonPropertyName ( "decomposition" ) ]
41
41
public Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationDecomposition ? Decomposition { get ; set ; }
42
- [ JsonInclude , JsonPropertyName ( "hiraganaQuaternaryMode " ) ]
43
- public bool ? Hiraganaquaternarymode { get ; set ; }
42
+ [ JsonInclude , JsonPropertyName ( "hiragana_quaternary_mode " ) ]
43
+ public bool ? HiraganaQuaternaryMode { get ; set ; }
44
44
[ JsonInclude , JsonPropertyName ( "language" ) ]
45
45
public string ? Language { get ; set ; }
46
46
[ JsonInclude , JsonPropertyName ( "numeric" ) ]
@@ -53,8 +53,8 @@ public sealed partial class IcuCollationTokenFilter : ITokenFilter
53
53
[ JsonInclude , JsonPropertyName ( "type" ) ]
54
54
public string Type => "icu_collation" ;
55
55
56
- [ JsonInclude , JsonPropertyName ( "variableTop " ) ]
57
- public string ? Variabletop { get ; set ; }
56
+ [ JsonInclude , JsonPropertyName ( "variable_top " ) ]
57
+ public string ? VariableTop { get ; set ; }
58
58
[ JsonInclude , JsonPropertyName ( "variant" ) ]
59
59
public string ? Variant { get ; set ; }
60
60
[ JsonInclude , JsonPropertyName ( "version" ) ]
@@ -70,16 +70,16 @@ public IcuCollationTokenFilterDescriptor() : base()
70
70
}
71
71
72
72
private Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationAlternate ? AlternateValue { get ; set ; }
73
- private Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? CasefirstValue { get ; set ; }
74
- private bool ? CaselevelValue { get ; set ; }
73
+ private Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? CaseFirstValue { get ; set ; }
74
+ private bool ? CaseLevelValue { get ; set ; }
75
75
private string ? CountryValue { get ; set ; }
76
76
private Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationDecomposition ? DecompositionValue { get ; set ; }
77
- private bool ? HiraganaquaternarymodeValue { get ; set ; }
77
+ private bool ? HiraganaQuaternaryModeValue { get ; set ; }
78
78
private string ? LanguageValue { get ; set ; }
79
79
private bool ? NumericValue { get ; set ; }
80
80
private string ? RulesValue { get ; set ; }
81
81
private Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationStrength ? StrengthValue { get ; set ; }
82
- private string ? VariabletopValue { get ; set ; }
82
+ private string ? VariableTopValue { get ; set ; }
83
83
private string ? VariantValue { get ; set ; }
84
84
private string ? VersionValue { get ; set ; }
85
85
@@ -89,15 +89,15 @@ public IcuCollationTokenFilterDescriptor Alternate(Elastic.Clients.Elasticsearch
89
89
return Self ;
90
90
}
91
91
92
- public IcuCollationTokenFilterDescriptor Casefirst ( Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? casefirst )
92
+ public IcuCollationTokenFilterDescriptor CaseFirst ( Elastic . Clients . Elasticsearch . Serverless . Analysis . IcuCollationCaseFirst ? caseFirst )
93
93
{
94
- CasefirstValue = casefirst ;
94
+ CaseFirstValue = caseFirst ;
95
95
return Self ;
96
96
}
97
97
98
- public IcuCollationTokenFilterDescriptor Caselevel ( bool ? caselevel = true )
98
+ public IcuCollationTokenFilterDescriptor CaseLevel ( bool ? caseLevel = true )
99
99
{
100
- CaselevelValue = caselevel ;
100
+ CaseLevelValue = caseLevel ;
101
101
return Self ;
102
102
}
103
103
@@ -113,9 +113,9 @@ public IcuCollationTokenFilterDescriptor Decomposition(Elastic.Clients.Elasticse
113
113
return Self ;
114
114
}
115
115
116
- public IcuCollationTokenFilterDescriptor Hiraganaquaternarymode ( bool ? hiraganaquaternarymode = true )
116
+ public IcuCollationTokenFilterDescriptor HiraganaQuaternaryMode ( bool ? hiraganaQuaternaryMode = true )
117
117
{
118
- HiraganaquaternarymodeValue = hiraganaquaternarymode ;
118
+ HiraganaQuaternaryModeValue = hiraganaQuaternaryMode ;
119
119
return Self ;
120
120
}
121
121
@@ -143,9 +143,9 @@ public IcuCollationTokenFilterDescriptor Strength(Elastic.Clients.Elasticsearch.
143
143
return Self ;
144
144
}
145
145
146
- public IcuCollationTokenFilterDescriptor Variabletop ( string ? variabletop )
146
+ public IcuCollationTokenFilterDescriptor VariableTop ( string ? variableTop )
147
147
{
148
- VariabletopValue = variabletop ;
148
+ VariableTopValue = variableTop ;
149
149
return Self ;
150
150
}
151
151
@@ -170,16 +170,16 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
170
170
JsonSerializer . Serialize ( writer , AlternateValue , options ) ;
171
171
}
172
172
173
- if ( CasefirstValue is not null )
173
+ if ( CaseFirstValue is not null )
174
174
{
175
- writer . WritePropertyName ( "caseFirst " ) ;
176
- JsonSerializer . Serialize ( writer , CasefirstValue , options ) ;
175
+ writer . WritePropertyName ( "case_first " ) ;
176
+ JsonSerializer . Serialize ( writer , CaseFirstValue , options ) ;
177
177
}
178
178
179
- if ( CaselevelValue . HasValue )
179
+ if ( CaseLevelValue . HasValue )
180
180
{
181
- writer . WritePropertyName ( "caseLevel " ) ;
182
- writer . WriteBooleanValue ( CaselevelValue . Value ) ;
181
+ writer . WritePropertyName ( "case_level " ) ;
182
+ writer . WriteBooleanValue ( CaseLevelValue . Value ) ;
183
183
}
184
184
185
185
if ( ! string . IsNullOrEmpty ( CountryValue ) )
@@ -194,10 +194,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
194
194
JsonSerializer . Serialize ( writer , DecompositionValue , options ) ;
195
195
}
196
196
197
- if ( HiraganaquaternarymodeValue . HasValue )
197
+ if ( HiraganaQuaternaryModeValue . HasValue )
198
198
{
199
- writer . WritePropertyName ( "hiraganaQuaternaryMode " ) ;
200
- writer . WriteBooleanValue ( HiraganaquaternarymodeValue . Value ) ;
199
+ writer . WritePropertyName ( "hiragana_quaternary_mode " ) ;
200
+ writer . WriteBooleanValue ( HiraganaQuaternaryModeValue . Value ) ;
201
201
}
202
202
203
203
if ( ! string . IsNullOrEmpty ( LanguageValue ) )
@@ -226,10 +226,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
226
226
227
227
writer . WritePropertyName ( "type" ) ;
228
228
writer . WriteStringValue ( "icu_collation" ) ;
229
- if ( ! string . IsNullOrEmpty ( VariabletopValue ) )
229
+ if ( ! string . IsNullOrEmpty ( VariableTopValue ) )
230
230
{
231
- writer . WritePropertyName ( "variableTop " ) ;
232
- writer . WriteStringValue ( VariabletopValue ) ;
231
+ writer . WritePropertyName ( "variable_top " ) ;
232
+ writer . WriteStringValue ( VariableTopValue ) ;
233
233
}
234
234
235
235
if ( ! string . IsNullOrEmpty ( VariantValue ) )
@@ -250,16 +250,16 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
250
250
IcuCollationTokenFilter IBuildableDescriptor < IcuCollationTokenFilter > . Build ( ) => new ( )
251
251
{
252
252
Alternate = AlternateValue ,
253
- Casefirst = CasefirstValue ,
254
- Caselevel = CaselevelValue ,
253
+ CaseFirst = CaseFirstValue ,
254
+ CaseLevel = CaseLevelValue ,
255
255
Country = CountryValue ,
256
256
Decomposition = DecompositionValue ,
257
- Hiraganaquaternarymode = HiraganaquaternarymodeValue ,
257
+ HiraganaQuaternaryMode = HiraganaQuaternaryModeValue ,
258
258
Language = LanguageValue ,
259
259
Numeric = NumericValue ,
260
260
Rules = RulesValue ,
261
261
Strength = StrengthValue ,
262
- Variabletop = VariabletopValue ,
262
+ VariableTop = VariableTopValue ,
263
263
Variant = VariantValue ,
264
264
Version = VersionValue
265
265
} ;
0 commit comments