kittycad.models.export_file.ExportFile

class kittycad.models.export_file.ExportFile(contents=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source][source]

Bases: object

A file to be exported to the client.

Method generated by attrs for class ExportFile.

__init__(contents=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ExportFile.

Methods

__init__([contents, name])

Method generated by attrs for class ExportFile.

from_dict(src_dict)

rtype:

TypeVar(ED, bound= ExportFile)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

contents

name

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'contents': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='contents', 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='contents'), Attribute(name='name', 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='name'), 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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.export_file', '__annotations__': {'contents': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A file to be exported to the client.', 'to_dict': <function ExportFile.to_dict>, 'from_dict': <classmethod(<function ExportFile.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ExportFile.__getitem__>, '__setitem__': <function ExportFile.__setitem__>, '__delitem__': <function ExportFile.__delitem__>, '__contains__': <function ExportFile.__contains__>, '__dict__': <attribute '__dict__' of 'ExportFile' objects>, '__weakref__': <attribute '__weakref__' of 'ExportFile' objects>, '__attrs_attrs__': (Attribute(name='contents', 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='contents'), Attribute(name='name', 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='name'), 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 ExportFile.__repr__>, '__eq__': <function ExportFile.__eq__>, '__ne__': <function ExportFile.__ne__>, '__lt__': <function ExportFile.__lt__>, '__le__': <function ExportFile.__le__>, '__gt__': <function ExportFile.__gt__>, '__ge__': <function ExportFile.__ge__>, '__hash__': None, '__init__': <function ExportFile.__init__>, '__match_args__': ('contents', 'name')})[source]
__eq__(other)[source]

Method generated by attrs for class ExportFile.

__ge__(other)[source]

Method generated by attrs for class ExportFile.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class ExportFile.

__hash__ = None[source]
__init__(contents=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ExportFile.

__le__(other)[source]

Method generated by attrs for class ExportFile.

__lt__(other)[source]

Method generated by attrs for class ExportFile.

__match_args__ = ('contents', 'name')[source]
__module__ = 'kittycad.models.export_file'[source]
__ne__(other)[source]

Method generated by attrs for class ExportFile.

__repr__()[source]

Method generated by attrs for class ExportFile.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
contents: Union[Unset, str][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(ED, bound= ExportFile)

name: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]