@@ -22,7 +22,7 @@ class DatabaseDocument(BaseModel):
2222 """ # noqa: E501
2323 barcode_fields : SkipValidation [bool ] = Field (alias = "barcode_fields" , description = "Whether the document has a barcode." )
2424 country : SkipValidation [str ] = Field (alias = "country" , description = "Country name." )
25- createad : SkipValidation [str ] = Field (alias = "createad " , description = "Date when the document description was created in the database." )
25+ created : SkipValidation [str ] = Field (alias = "created " , description = "Date when the document description was created in the database." )
2626 doc_type : SkipValidation [DocumentType ] = Field (alias = "doc_type" )
2727 document : SkipValidation [str ] = Field (alias = "document" , description = "Document name." )
2828 graphic_fields : SkipValidation [bool ] = Field (alias = "graphic_fields" , description = "The presence of graphic fields in the document." )
@@ -37,7 +37,7 @@ class DatabaseDocument(BaseModel):
3737 deprecated : SkipValidation [Optional [bool ]] = Field (alias = "deprecated" , default = None , description = "Whether the document is no longer in circulation." )
3838 icao_code : SkipValidation [Optional [str ]] = Field (alias = "icao_code" , default = None , description = "ICAO country code." )
3939 doc_codes : SkipValidation [Optional [str ]] = Field (alias = "doc_codes" , default = None , description = "Document codes." )
40- __properties : ClassVar [List [str ]] = ["barcode_fields" , "country" , "createad " , "doc_type" , "document" , "graphic_fields" , "id" , "mrz" , "region" , "rfid_chip" , "text_fields" , "updated" , "year" , "sovereignty" , "deprecated" , "icao_code" , "doc_codes" ]
40+ __properties : ClassVar [List [str ]] = ["barcode_fields" , "country" , "created " , "doc_type" , "document" , "graphic_fields" , "id" , "mrz" , "region" , "rfid_chip" , "text_fields" , "updated" , "year" , "sovereignty" , "deprecated" , "icao_code" , "doc_codes" ]
4141
4242 model_config = ConfigDict (
4343 populate_by_name = True ,
@@ -94,7 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9494 _obj = cls .model_validate ({
9595 "barcode_fields" : obj .get ("barcode_fields" ),
9696 "country" : obj .get ("country" ),
97- "createad " : obj .get ("createad " ),
97+ "created " : obj .get ("created " ),
9898 "doc_type" : obj .get ("doc_type" ),
9999 "document" : obj .get ("document" ),
100100 "graphic_fields" : obj .get ("graphic_fields" ),
0 commit comments