1+
12using System ;
23using System . Linq ;
34using System . Collections . Generic ;
@@ -28,16 +29,16 @@ public class AttributeDatetime
2829 public bool ? Array { get ; private set ; }
2930
3031 [ JsonPropertyName ( "$createdAt" ) ]
31- public string createdAt { get ; private set ; }
32+ public string CreatedAt { get ; private set ; }
3233
3334 [ JsonPropertyName ( "$updatedAt" ) ]
34- public string updatedAt { get ; private set ; }
35+ public string UpdatedAt { get ; private set ; }
3536
3637 [ JsonPropertyName ( "format" ) ]
3738 public string Format { get ; private set ; }
3839
3940 [ JsonPropertyName ( "default" ) ]
40- public string ? @ Default { get ; private set ; }
41+ public string ? Default { get ; private set ; }
4142
4243 public AttributeDatetime (
4344 string key ,
@@ -57,10 +58,10 @@ public AttributeDatetime(
5758 Error = error ;
5859 Required = required ;
5960 Array = array ;
60- createdAt = createdAt ;
61- updatedAt = updatedAt ;
61+ CreatedAt = createdAt ;
62+ UpdatedAt = updatedAt ;
6263 Format = format ;
63- @ Default = xdefault ;
64+ Default = xdefault ;
6465 }
6566
6667 public static AttributeDatetime From ( Dictionary < string , object > map ) => new AttributeDatetime (
@@ -84,10 +85,10 @@ public AttributeDatetime(
8485 { "error" , Error } ,
8586 { "required" , Required } ,
8687 { "array" , Array } ,
87- { "$createdAt" , createdAt } ,
88- { "$updatedAt" , updatedAt } ,
88+ { "$createdAt" , CreatedAt } ,
89+ { "$updatedAt" , UpdatedAt } ,
8990 { "format" , Format } ,
90- { "default" , @ Default }
91+ { "default" , Default }
9192 } ;
9293 }
9394}
0 commit comments