better generatioon

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-06-15 18:18:19 -07:00
parent ba8eeca234
commit 774b8f079c
30 changed files with 9145 additions and 6819 deletions

View File

@ -18,7 +18,7 @@ class FileMass:
completed_at: Union[Unset, datetime.datetime] = UNSET
created_at: Union[Unset, datetime.datetime] = UNSET
error: Union[Unset, str] = UNSET
id: Union[Unset, Uuid] = UNSET
id: Union[Unset, str] = UNSET
mass: Union[Unset, float] = UNSET
material_density: Union[Unset, float] = UNSET
src_format: Union[Unset, FileSourceFormat] = UNSET
@ -37,9 +37,7 @@ class FileMass:
if not isinstance(self.created_at, Unset):
created_at = self.created_at.isoformat()
error = self.error
id: Union[Unset, str] = UNSET
if not isinstance(self.id, Unset):
id = self.id.value
id = self.id
mass = self.mass
material_density = self.material_density
src_format: Union[Unset, str] = UNSET
@ -103,12 +101,7 @@ class FileMass:
error = d.pop("error", UNSET)
_id = d.pop("id", UNSET)
id: Union[Unset, Uuid]
if isinstance(_id, Unset):
id = UNSET
else:
id = Uuid(_id)
id = d.pop("id", UNSET)
mass = d.pop("mass", UNSET)