kittycad.models.annotation_options.AnnotationOptions

class kittycad.models.annotation_options.AnnotationOptions(color=<kittycad.types.Unset object>, line_ends=<kittycad.types.Unset object>, line_width=<kittycad.types.Unset object>, position=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>)[source][source]

Bases: object

Options for annotations

Method generated by attrs for class AnnotationOptions.

__init__(color=<kittycad.types.Unset object>, line_ends=<kittycad.types.Unset object>, line_width=<kittycad.types.Unset object>, position=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>)[source]

Method generated by attrs for class AnnotationOptions.

Methods

__init__([color, line_ends, line_width, ...])

Method generated by attrs for class AnnotationOptions.

from_dict(src_dict)

rtype:

TypeVar(PI, bound= AnnotationOptions)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

color

line_ends

line_width

position

text

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'color': typing.Union[kittycad.types.Unset, kittycad.models.color.Color], 'line_ends': typing.Union[kittycad.types.Unset, kittycad.models.annotation_line_end_options.AnnotationLineEndOptions], 'line_width': typing.Union[kittycad.types.Unset, float], 'position': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'text': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_options.AnnotationTextOptions]}[source]
__attrs_attrs__ = (Attribute(name='color', 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.color.Color], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='color'), Attribute(name='line_ends', 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_line_end_options.AnnotationLineEndOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_ends'), Attribute(name='line_width', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_width'), Attribute(name='position', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='position'), Attribute(name='text', 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_text_options.AnnotationTextOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), 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.annotation_options', '__annotations__': {'color': typing.Union[kittycad.types.Unset, kittycad.models.color.Color], 'line_ends': typing.Union[kittycad.types.Unset, kittycad.models.annotation_line_end_options.AnnotationLineEndOptions], 'line_width': typing.Union[kittycad.types.Unset, float], 'position': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'text': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_options.AnnotationTextOptions], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Options for annotations', 'to_dict': <function AnnotationOptions.to_dict>, 'from_dict': <classmethod(<function AnnotationOptions.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AnnotationOptions.__getitem__>, '__setitem__': <function AnnotationOptions.__setitem__>, '__delitem__': <function AnnotationOptions.__delitem__>, '__contains__': <function AnnotationOptions.__contains__>, '__dict__': <attribute '__dict__' of 'AnnotationOptions' objects>, '__weakref__': <attribute '__weakref__' of 'AnnotationOptions' objects>, '__attrs_attrs__': (Attribute(name='color', 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.color.Color], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='color'), Attribute(name='line_ends', 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_line_end_options.AnnotationLineEndOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_ends'), Attribute(name='line_width', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_width'), Attribute(name='position', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='position'), Attribute(name='text', 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_text_options.AnnotationTextOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), 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 AnnotationOptions.__repr__>, '__eq__': <function AnnotationOptions.__eq__>, '__ne__': <function AnnotationOptions.__ne__>, '__lt__': <function AnnotationOptions.__lt__>, '__le__': <function AnnotationOptions.__le__>, '__gt__': <function AnnotationOptions.__gt__>, '__ge__': <function AnnotationOptions.__ge__>, '__hash__': None, '__init__': <function AnnotationOptions.__init__>, '__match_args__': ('color', 'line_ends', 'line_width', 'position', 'text')})[source]
__eq__(other)[source]

Method generated by attrs for class AnnotationOptions.

__ge__(other)[source]

Method generated by attrs for class AnnotationOptions.

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

Any

__gt__(other)[source]

Method generated by attrs for class AnnotationOptions.

__hash__ = None[source]
__init__(color=<kittycad.types.Unset object>, line_ends=<kittycad.types.Unset object>, line_width=<kittycad.types.Unset object>, position=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>)[source]

Method generated by attrs for class AnnotationOptions.

__le__(other)[source]

Method generated by attrs for class AnnotationOptions.

__lt__(other)[source]

Method generated by attrs for class AnnotationOptions.

__match_args__ = ('color', 'line_ends', 'line_width', 'position', 'text')[source]
__module__ = 'kittycad.models.annotation_options'[source]
__ne__(other)[source]

Method generated by attrs for class AnnotationOptions.

__repr__()[source]

Method generated by attrs for class AnnotationOptions.

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

None

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

TypeVar(PI, bound= AnnotationOptions)

line_ends: Union[Unset, AnnotationLineEndOptions][source]
line_width: Union[Unset, float][source]
position: Union[Unset, Point3d][source]
text: Union[Unset, AnnotationTextOptions][source]
to_dict()[source][source]
Return type:

Dict[str, Any]