@@ -27,12 +27,12 @@ internal sealed partial class GetAliasResponseConverter : System.Text.Json.Seria
27
27
{
28
28
public override Elastic . Clients . Elasticsearch . IndexManagement . GetAliasResponse Read ( ref System . Text . Json . Utf8JsonReader reader , System . Type typeToConvert , System . Text . Json . JsonSerializerOptions options )
29
29
{
30
- return new Elastic . Clients . Elasticsearch . IndexManagement . GetAliasResponse ( Elastic . Clients . Elasticsearch . Serialization . JsonConstructorSentinel . Instance ) { Aliases = reader . ReadValue < System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > > ( options , static System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadDictionaryValue < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ( o , null , null ) ! ) } ;
30
+ return new Elastic . Clients . Elasticsearch . IndexManagement . GetAliasResponse ( Elastic . Clients . Elasticsearch . Serialization . JsonConstructorSentinel . Instance ) { Aliases = reader . ReadValue < System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ? > ( options , static System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadDictionaryValue < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ( o , null , null ) ) } ;
31
31
}
32
32
33
33
public override void Write ( System . Text . Json . Utf8JsonWriter writer , Elastic . Clients . Elasticsearch . IndexManagement . GetAliasResponse value , System . Text . Json . JsonSerializerOptions options )
34
34
{
35
- writer . WriteValue ( options , value . Aliases , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > v ) => w . WriteDictionaryValue < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ( o , v , null , null ) ) ;
35
+ writer . WriteValue ( options , value . Aliases , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ? v ) => w . WriteDictionaryValue < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ( o , v , null , null ) ) ;
36
36
}
37
37
}
38
38
@@ -50,9 +50,5 @@ internal GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstr
50
50
_ = sentinel ;
51
51
}
52
52
53
- public
54
- #if NET7_0_OR_GREATER
55
- required
56
- #endif
57
- System. Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > Aliases { get ; set ; }
53
+ public System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . IndexManagement . IndexAliases > ? Aliases { get ; set ; }
58
54
}
0 commit comments