kittycad.models.async_api_call_output.FileConversion
- class kittycad.models.async_api_call_output.FileConversion(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_format=<kittycad.types.Unset object>, output_format_options=<kittycad.types.Unset object>, outputs=<kittycad.types.Unset object>, src_format=<kittycad.types.Unset object>, src_format_options=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, type='FileConversion', updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source][source]
Bases:
object
A file conversion.
Method generated by attrs for class FileConversion.
- __init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_format=<kittycad.types.Unset object>, output_format_options=<kittycad.types.Unset object>, outputs=<kittycad.types.Unset object>, src_format=<kittycad.types.Unset object>, src_format_options=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, type='FileConversion', updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]
Method generated by attrs for class FileConversion.
Methods
__init__
([completed_at, created_at, error, ...])Method generated by attrs for class FileConversion.
from_dict
(src_dict)- rtype:
TypeVar
(MN
, bound= FileConversion)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'output': typing.Union[kittycad.types.Unset, str], 'output_format': typing.Union[kittycad.types.Unset, kittycad.models.file_export_format.FileExportFormat], 'output_format_options': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'outputs': typing.Union[kittycad.types.Unset, typing.Any], 'src_format': typing.Union[kittycad.types.Unset, kittycad.models.file_import_format.FileImportFormat], 'src_format_options': typing.Union[kittycad.types.Unset, kittycad.models.input_format.gltf, kittycad.models.input_format.step, kittycad.models.input_format.obj, kittycad.models.input_format.ply, kittycad.models.input_format.stl], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], 'type': <class 'str'>, 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='completed_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='completed_at'), Attribute(name='created_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='error', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error'), Attribute(name='id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='id'), Attribute(name='output', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output'), Attribute(name='output_format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.file_export_format.FileExportFormat], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_format'), Attribute(name='output_format_options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_format_options'), Attribute(name='outputs', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='outputs'), Attribute(name='src_format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.file_import_format.FileImportFormat], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='src_format'), Attribute(name='src_format_options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.input_format.gltf, kittycad.models.input_format.step, kittycad.models.input_format.obj, kittycad.models.input_format.ply, kittycad.models.input_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='src_format_options'), Attribute(name='started_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='started_at'), Attribute(name='status', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), Attribute(name='type', default='FileConversion', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='updated_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), Attribute(name='user_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='user_id'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.async_api_call_output', '__annotations__': {'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'output': typing.Union[kittycad.types.Unset, str], 'output_format': typing.Union[kittycad.types.Unset, kittycad.models.file_export_format.FileExportFormat], 'output_format_options': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'outputs': typing.Union[kittycad.types.Unset, typing.Any], 'src_format': typing.Union[kittycad.types.Unset, kittycad.models.file_import_format.FileImportFormat], 'src_format_options': typing.Union[kittycad.types.Unset, kittycad.models.input_format.gltf, kittycad.models.input_format.step, kittycad.models.input_format.obj, kittycad.models.input_format.ply, kittycad.models.input_format.stl], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], 'type': <class 'str'>, 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A file conversion.', 'to_dict': <function FileConversion.to_dict>, 'from_dict': <classmethod(<function FileConversion.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function FileConversion.__getitem__>, '__setitem__': <function FileConversion.__setitem__>, '__delitem__': <function FileConversion.__delitem__>, '__contains__': <function FileConversion.__contains__>, '__dict__': <attribute '__dict__' of 'FileConversion' objects>, '__weakref__': <attribute '__weakref__' of 'FileConversion' objects>, '__attrs_attrs__': (Attribute(name='completed_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='completed_at'), Attribute(name='created_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='error', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error'), Attribute(name='id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='id'), Attribute(name='output', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output'), Attribute(name='output_format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.file_export_format.FileExportFormat], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_format'), Attribute(name='output_format_options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_format_options'), Attribute(name='outputs', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='outputs'), Attribute(name='src_format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.file_import_format.FileImportFormat], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='src_format'), Attribute(name='src_format_options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.input_format.gltf, kittycad.models.input_format.step, kittycad.models.input_format.obj, kittycad.models.input_format.ply, kittycad.models.input_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='src_format_options'), Attribute(name='started_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='started_at'), Attribute(name='status', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), Attribute(name='type', default='FileConversion', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='updated_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), Attribute(name='user_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='user_id'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function FileConversion.__repr__>, '__eq__': <function FileConversion.__eq__>, '__ne__': <function FileConversion.__ne__>, '__lt__': <function FileConversion.__lt__>, '__le__': <function FileConversion.__le__>, '__gt__': <function FileConversion.__gt__>, '__ge__': <function FileConversion.__ge__>, '__hash__': None, '__init__': <function FileConversion.__init__>, '__match_args__': ('completed_at', 'created_at', 'error', 'id', 'output', 'output_format', 'output_format_options', 'outputs', 'src_format', 'src_format_options', 'started_at', 'status', 'type', 'updated_at', 'user_id')})[source]
- __init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_format=<kittycad.types.Unset object>, output_format_options=<kittycad.types.Unset object>, outputs=<kittycad.types.Unset object>, src_format=<kittycad.types.Unset object>, src_format_options=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, type='FileConversion', updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]
Method generated by attrs for class FileConversion.
- __match_args__ = ('completed_at', 'created_at', 'error', 'id', 'output', 'output_format', 'output_format_options', 'outputs', 'src_format', 'src_format_options', 'started_at', 'status', 'type', 'updated_at', 'user_id')[source]
-
output_format:
Union
[Unset
,FileExportFormat
][source]
-
src_format:
Union
[Unset
,FileImportFormat
][source]
-
status:
Union
[Unset
,ApiCallStatus
][source]