kittycad.models.modeling_cmd.entity_get_num_children

class kittycad.models.modeling_cmd.entity_get_num_children(entity_id=<kittycad.types.Unset object>, type='entity_get_num_children')[source][source]

Bases: object

How many children does the entity have?

Method generated by attrs for class entity_get_num_children.

__init__(entity_id=<kittycad.types.Unset object>, type='entity_get_num_children')[source]

Method generated by attrs for class entity_get_num_children.

Methods

__init__([entity_id, type])

Method generated by attrs for class entity_get_num_children.

from_dict(src_dict)

rtype:

TypeVar(NY, bound= entity_get_num_children)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

entity_id

type

additional_properties

__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='entity_get_num_children', 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]
__contains__(key)[source][source]
Return type:

bool

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

None

__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__': 'How many children does the entity have?', 'to_dict': <function entity_get_num_children.to_dict>, 'from_dict': <classmethod(<function entity_get_num_children.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function entity_get_num_children.__getitem__>, '__setitem__': <function entity_get_num_children.__setitem__>, '__delitem__': <function entity_get_num_children.__delitem__>, '__contains__': <function entity_get_num_children.__contains__>, '__dict__': <attribute '__dict__' of 'entity_get_num_children' objects>, '__weakref__': <attribute '__weakref__' of 'entity_get_num_children' 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='entity_get_num_children', 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 entity_get_num_children.__repr__>, '__eq__': <function entity_get_num_children.__eq__>, '__ne__': <function entity_get_num_children.__ne__>, '__lt__': <function entity_get_num_children.__lt__>, '__le__': <function entity_get_num_children.__le__>, '__gt__': <function entity_get_num_children.__gt__>, '__ge__': <function entity_get_num_children.__ge__>, '__hash__': None, '__init__': <function entity_get_num_children.__init__>, '__match_args__': ('entity_id', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class entity_get_num_children.

__ge__(other)[source]

Method generated by attrs for class entity_get_num_children.

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

Any

__gt__(other)[source]

Method generated by attrs for class entity_get_num_children.

__hash__ = None[source]
__init__(entity_id=<kittycad.types.Unset object>, type='entity_get_num_children')[source]

Method generated by attrs for class entity_get_num_children.

__le__(other)[source]

Method generated by attrs for class entity_get_num_children.

__lt__(other)[source]

Method generated by attrs for class entity_get_num_children.

__match_args__ = ('entity_id', 'type')[source]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class entity_get_num_children.

__repr__()[source]

Method generated by attrs for class entity_get_num_children.

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

None

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

TypeVar(NY, bound= entity_get_num_children)

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

Dict[str, Any]

type: str[source]