kittycad.models.modeling_cmd.update_annotation
- class kittycad.models.modeling_cmd.update_annotation(annotation_id=<kittycad.types.Unset object>, options=<kittycad.types.Unset object>, type='update_annotation')[source][source]
Bases:
object
Update an annotation
Method generated by attrs for class update_annotation.
- __init__(annotation_id=<kittycad.types.Unset object>, options=<kittycad.types.Unset object>, type='update_annotation')[source]
Method generated by attrs for class update_annotation.
Methods
__init__
([annotation_id, options, type])Method generated by attrs for class update_annotation.
from_dict
(src_dict)- rtype:
TypeVar
(AZ
, bound= update_annotation)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'annotation_id': typing.Union[kittycad.types.Unset, str], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='annotation_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='annotation_id'), Attribute(name='options', 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, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='update_annotation', 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__': {'annotation_id': typing.Union[kittycad.types.Unset, str], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Update an annotation', 'to_dict': <function update_annotation.to_dict>, 'from_dict': <classmethod(<function update_annotation.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function update_annotation.__getitem__>, '__setitem__': <function update_annotation.__setitem__>, '__delitem__': <function update_annotation.__delitem__>, '__contains__': <function update_annotation.__contains__>, '__dict__': <attribute '__dict__' of 'update_annotation' objects>, '__weakref__': <attribute '__weakref__' of 'update_annotation' objects>, '__attrs_attrs__': (Attribute(name='annotation_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='annotation_id'), Attribute(name='options', 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, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='update_annotation', 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 update_annotation.__repr__>, '__eq__': <function update_annotation.__eq__>, '__ne__': <function update_annotation.__ne__>, '__lt__': <function update_annotation.__lt__>, '__le__': <function update_annotation.__le__>, '__gt__': <function update_annotation.__gt__>, '__ge__': <function update_annotation.__ge__>, '__hash__': None, '__init__': <function update_annotation.__init__>, '__match_args__': ('annotation_id', 'options', 'type')})[source]
- __init__(annotation_id=<kittycad.types.Unset object>, options=<kittycad.types.Unset object>, type='update_annotation')[source]
Method generated by attrs for class update_annotation.
-
options:
Union
[Unset
,AnnotationOptions
][source]