kittycad.models.modeling_cmd.object_visible

class kittycad.models.modeling_cmd.object_visible(hidden=False, object_id=<kittycad.types.Unset object>, type='object_visible')[source][source]

Bases: object

Hide or show an object

Method generated by attrs for class object_visible.

__init__(hidden=False, object_id=<kittycad.types.Unset object>, type='object_visible')[source]

Method generated by attrs for class object_visible.

Methods

__init__([hidden, object_id, type])

Method generated by attrs for class object_visible.

from_dict(src_dict)

rtype:

TypeVar(DJ, bound= object_visible)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

hidden

object_id

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'hidden': typing.Union[kittycad.types.Unset, bool], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
__attrs_attrs__ = (Attribute(name='hidden', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='hidden'), Attribute(name='object_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='object_id'), Attribute(name='type', default='object_visible', 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__': {'hidden': typing.Union[kittycad.types.Unset, bool], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Hide or show an object', 'to_dict': <function object_visible.to_dict>, 'from_dict': <classmethod(<function object_visible.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function object_visible.__getitem__>, '__setitem__': <function object_visible.__setitem__>, '__delitem__': <function object_visible.__delitem__>, '__contains__': <function object_visible.__contains__>, '__dict__': <attribute '__dict__' of 'object_visible' objects>, '__weakref__': <attribute '__weakref__' of 'object_visible' objects>, '__attrs_attrs__': (Attribute(name='hidden', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='hidden'), Attribute(name='object_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='object_id'), Attribute(name='type', default='object_visible', 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 object_visible.__repr__>, '__eq__': <function object_visible.__eq__>, '__ne__': <function object_visible.__ne__>, '__lt__': <function object_visible.__lt__>, '__le__': <function object_visible.__le__>, '__gt__': <function object_visible.__gt__>, '__ge__': <function object_visible.__ge__>, '__hash__': None, '__init__': <function object_visible.__init__>, '__match_args__': ('hidden', 'object_id', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class object_visible.

__ge__(other)[source]

Method generated by attrs for class object_visible.

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

Any

__gt__(other)[source]

Method generated by attrs for class object_visible.

__hash__ = None[source]
__init__(hidden=False, object_id=<kittycad.types.Unset object>, type='object_visible')[source]

Method generated by attrs for class object_visible.

__le__(other)[source]

Method generated by attrs for class object_visible.

__lt__(other)[source]

Method generated by attrs for class object_visible.

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

Method generated by attrs for class object_visible.

__repr__()[source]

Method generated by attrs for class object_visible.

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

None

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

TypeVar(DJ, bound= object_visible)

hidden: Union[Unset, bool][source]
object_id: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]