kittycad.models.annotation_text_options

Classes

AnnotationTextOptions([point_size, text, x, y])

Options for annotation text

class kittycad.models.annotation_text_options.AnnotationTextOptions(point_size=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>, x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source][source]

Options for annotation text

Method generated by attrs for class AnnotationTextOptions.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'point_size': typing.Union[kittycad.types.Unset, int], 'text': typing.Union[kittycad.types.Unset, str], 'x': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], 'y': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY]}[source]
__attrs_attrs__ = (Attribute(name='point_size', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='point_size'), 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, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), Attribute(name='x', 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_alignment_x.AnnotationTextAlignmentX], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', 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_alignment_y.AnnotationTextAlignmentY], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), 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_text_options', '__annotations__': {'point_size': typing.Union[kittycad.types.Unset, int], 'text': typing.Union[kittycad.types.Unset, str], 'x': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], 'y': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Options for annotation text', 'to_dict': <function AnnotationTextOptions.to_dict>, 'from_dict': <classmethod(<function AnnotationTextOptions.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AnnotationTextOptions.__getitem__>, '__setitem__': <function AnnotationTextOptions.__setitem__>, '__delitem__': <function AnnotationTextOptions.__delitem__>, '__contains__': <function AnnotationTextOptions.__contains__>, '__dict__': <attribute '__dict__' of 'AnnotationTextOptions' objects>, '__weakref__': <attribute '__weakref__' of 'AnnotationTextOptions' objects>, '__attrs_attrs__': (Attribute(name='point_size', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='point_size'), 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, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), Attribute(name='x', 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_alignment_x.AnnotationTextAlignmentX], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', 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_alignment_y.AnnotationTextAlignmentY], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), 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 AnnotationTextOptions.__repr__>, '__eq__': <function AnnotationTextOptions.__eq__>, '__ne__': <function AnnotationTextOptions.__ne__>, '__lt__': <function AnnotationTextOptions.__lt__>, '__le__': <function AnnotationTextOptions.__le__>, '__gt__': <function AnnotationTextOptions.__gt__>, '__ge__': <function AnnotationTextOptions.__ge__>, '__hash__': None, '__init__': <function AnnotationTextOptions.__init__>, '__match_args__': ('point_size', 'text', 'x', 'y')})[source]
__eq__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

__ge__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

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

Any

__gt__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

__hash__ = None[source]
__init__(point_size=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>, x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source]

Method generated by attrs for class AnnotationTextOptions.

__le__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

__lt__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

__match_args__ = ('point_size', 'text', 'x', 'y')[source]
__module__ = 'kittycad.models.annotation_text_options'[source]
__ne__(other)[source]

Method generated by attrs for class AnnotationTextOptions.

__repr__()[source]

Method generated by attrs for class AnnotationTextOptions.

__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(UZ, bound= AnnotationTextOptions)

point_size: Union[Unset, int][source]
text: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

x: Union[Unset, AnnotationTextAlignmentX][source]
y: Union[Unset, AnnotationTextAlignmentY][source]