kittycad.models.modeling_cmd.get_entity_type
- class kittycad.models.modeling_cmd.get_entity_type(entity_id=<kittycad.types.Unset object>, type='get_entity_type')[source][source]
Bases:
object
What type of entity is this?
Method generated by attrs for class get_entity_type.
- __init__(entity_id=<kittycad.types.Unset object>, type='get_entity_type')[source]
Method generated by attrs for class get_entity_type.
Methods
__init__
([entity_id, type])Method generated by attrs for class get_entity_type.
from_dict
(src_dict)- rtype:
TypeVar
(WJ
, bound= get_entity_type)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_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='entity_id'), Attribute(name='type', default='get_entity_type', 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='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.modeling_cmd', '__annotations__': {'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'What type of entity is this?', 'to_dict': <function get_entity_type.to_dict>, 'from_dict': <classmethod(<function get_entity_type.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function get_entity_type.__getitem__>, '__setitem__': <function get_entity_type.__setitem__>, '__delitem__': <function get_entity_type.__delitem__>, '__contains__': <function get_entity_type.__contains__>, '__dict__': <attribute '__dict__' of 'get_entity_type' objects>, '__weakref__': <attribute '__weakref__' of 'get_entity_type' objects>, '__attrs_attrs__': (Attribute(name='entity_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='entity_id'), Attribute(name='type', default='get_entity_type', 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='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 get_entity_type.__repr__>, '__eq__': <function get_entity_type.__eq__>, '__ne__': <function get_entity_type.__ne__>, '__lt__': <function get_entity_type.__lt__>, '__le__': <function get_entity_type.__le__>, '__gt__': <function get_entity_type.__gt__>, '__ge__': <function get_entity_type.__ge__>, '__hash__': None, '__init__': <function get_entity_type.__init__>, '__match_args__': ('entity_id', 'type')})[source]