Update api spec (#98)

* YOYO NEW API SPEC!

* fixups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-07-07 18:03:18 -07:00
committed by GitHub
parent c6af833ec5
commit d0a345acd0
87 changed files with 1522 additions and 506 deletions

View File

@ -120,14 +120,14 @@ class FileConversion:
if isinstance(_output_format, Unset):
output_format = UNSET
else:
output_format = FileExportFormat(_output_format)
output_format = _output_format # type: ignore[arg-type]
_src_format = d.pop("src_format", UNSET)
src_format: Union[Unset, FileImportFormat]
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -141,7 +141,7 @@ class FileConversion:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
type = d.pop("type", UNSET)
@ -296,7 +296,7 @@ class FileCenterOfMass:
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -310,7 +310,7 @@ class FileCenterOfMass:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
type = d.pop("type", UNSET)
@ -468,7 +468,7 @@ class FileMass:
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -482,7 +482,7 @@ class FileMass:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
type = d.pop("type", UNSET)
@ -633,7 +633,7 @@ class FileVolume:
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -647,7 +647,7 @@ class FileVolume:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
type = d.pop("type", UNSET)
@ -807,7 +807,7 @@ class FileDensity:
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -821,7 +821,7 @@ class FileDensity:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
type = d.pop("type", UNSET)
@ -972,7 +972,7 @@ class FileSurfaceArea:
if isinstance(_src_format, Unset):
src_format = UNSET
else:
src_format = FileImportFormat(_src_format)
src_format = _src_format # type: ignore[arg-type]
_started_at = d.pop("started_at", UNSET)
started_at: Union[Unset, datetime.datetime]
@ -986,7 +986,7 @@ class FileSurfaceArea:
if isinstance(_status, Unset):
status = UNSET
else:
status = ApiCallStatus(_status)
status = _status # type: ignore[arg-type]
surface_area = d.pop("surface_area", UNSET)