@@ -44,23 +44,23 @@ public async Task<string> GetParam(string name, bool withDecryption = true, Canc
4444
4545internal sealed class ParameterResponse
4646{
47- public Parameter ? Parameter { get ; set ; }
47+ public required Parameter Parameter { get ; set ; }
4848}
4949
5050internal sealed class Parameter
5151{
5252 [ JsonPropertyName ( "ARN" ) ]
53- public string ? Arn { get ; set ; }
54- public string ? Name { get ; set ; }
55- public string ? Type { get ; set ; }
56- public string ? Value { get ; set ; }
57- public string ? Version { get ; set ; }
53+ public required string Arn { get ; set ; }
54+ public required string Name { get ; set ; }
55+ public required string Type { get ; set ; }
56+ public required string Value { get ; set ; }
57+ public required int Version { get ; set ; }
5858 public string ? Selector { get ; set ; }
59- public string ? LastModifiedDate { get ; set ; }
60- public string ? LastModifiedUser { get ; set ; }
61- public string ? DataType { get ; set ; }
59+ public DateTime LastModifiedDate { get ; set ; }
60+ public required string DataType { get ; set ; }
6261}
6362
6463
6564[ JsonSerializable ( typeof ( ParameterResponse ) ) ]
65+ [ JsonSourceGenerationOptions ( PropertyNamingPolicy = JsonKnownNamingPolicy . Unspecified ) ]
6666internal sealed partial class AwsJsonContext : JsonSerializerContext ;
0 commit comments