kittycad.models.modeling_cmd_req_batch.ModelingCmdReqBatch

class kittycad.models.modeling_cmd_req_batch.ModelingCmdReqBatch(cmds=<kittycad.types.Unset object>, file_id=<kittycad.types.Unset object>)[source][source]

Bases: object

A batch set of graphics commands submitted to the KittyCAD engine via the Modeling API.

Method generated by attrs for class ModelingCmdReqBatch.

__init__(cmds=<kittycad.types.Unset object>, file_id=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ModelingCmdReqBatch.

Methods

__init__([cmds, file_id])

Method generated by attrs for class ModelingCmdReqBatch.

from_dict(src_dict)

rtype:

TypeVar(R, bound= ModelingCmdReqBatch)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

cmds

file_id

additional_properties

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

bool

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

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd_req_batch', '__annotations__': {'cmds': typing.Union[kittycad.types.Unset, typing.Any], 'file_id': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A batch set of graphics commands submitted to the KittyCAD engine via the Modeling API.', 'to_dict': <function ModelingCmdReqBatch.to_dict>, 'from_dict': <classmethod(<function ModelingCmdReqBatch.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ModelingCmdReqBatch.__getitem__>, '__setitem__': <function ModelingCmdReqBatch.__setitem__>, '__delitem__': <function ModelingCmdReqBatch.__delitem__>, '__contains__': <function ModelingCmdReqBatch.__contains__>, '__dict__': <attribute '__dict__' of 'ModelingCmdReqBatch' objects>, '__weakref__': <attribute '__weakref__' of 'ModelingCmdReqBatch' objects>, '__attrs_attrs__': (Attribute(name='cmds', 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='cmds'), Attribute(name='file_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='file_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 ModelingCmdReqBatch.__repr__>, '__eq__': <function ModelingCmdReqBatch.__eq__>, '__ne__': <function ModelingCmdReqBatch.__ne__>, '__lt__': <function ModelingCmdReqBatch.__lt__>, '__le__': <function ModelingCmdReqBatch.__le__>, '__gt__': <function ModelingCmdReqBatch.__gt__>, '__ge__': <function ModelingCmdReqBatch.__ge__>, '__hash__': None, '__init__': <function ModelingCmdReqBatch.__init__>, '__match_args__': ('cmds', 'file_id')})[source]
__eq__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

__ge__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

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

Any

__gt__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

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

Method generated by attrs for class ModelingCmdReqBatch.

__le__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

__lt__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

__match_args__ = ('cmds', 'file_id')[source]
__module__ = 'kittycad.models.modeling_cmd_req_batch'[source]
__ne__(other)[source]

Method generated by attrs for class ModelingCmdReqBatch.

__repr__()[source]

Method generated by attrs for class ModelingCmdReqBatch.

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

None

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

TypeVar(R, bound= ModelingCmdReqBatch)

to_dict()[source][source]
Return type:

Dict[str, Any]