@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user