kittycad.models.axis_direction_pair.AxisDirectionPair
- class kittycad.models.axis_direction_pair.AxisDirectionPair(axis=<kittycad.types.Unset object>, direction=<kittycad.types.Unset object>)[source][source]
Bases:
object
An [Axis] paired with a [Direction].
Method generated by attrs for class AxisDirectionPair.
- __init__(axis=<kittycad.types.Unset object>, direction=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AxisDirectionPair.
Methods
__init__
([axis, direction])Method generated by attrs for class AxisDirectionPair.
from_dict
(src_dict)- rtype:
TypeVar
(X
, bound= AxisDirectionPair)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'axis': typing.Union[kittycad.types.Unset, kittycad.models.axis.Axis], 'direction': typing.Union[kittycad.types.Unset, kittycad.models.direction.Direction]}[source]
- __attrs_attrs__ = (Attribute(name='axis', 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.axis.Axis], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='axis'), Attribute(name='direction', 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.direction.Direction], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='direction'), 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.axis_direction_pair', '__annotations__': {'axis': typing.Union[kittycad.types.Unset, kittycad.models.axis.Axis], 'direction': typing.Union[kittycad.types.Unset, kittycad.models.direction.Direction], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An [`Axis`] paired with a [`Direction`].', 'to_dict': <function AxisDirectionPair.to_dict>, 'from_dict': <classmethod(<function AxisDirectionPair.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AxisDirectionPair.__getitem__>, '__setitem__': <function AxisDirectionPair.__setitem__>, '__delitem__': <function AxisDirectionPair.__delitem__>, '__contains__': <function AxisDirectionPair.__contains__>, '__dict__': <attribute '__dict__' of 'AxisDirectionPair' objects>, '__weakref__': <attribute '__weakref__' of 'AxisDirectionPair' objects>, '__attrs_attrs__': (Attribute(name='axis', 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.axis.Axis], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='axis'), Attribute(name='direction', 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.direction.Direction], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='direction'), 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 AxisDirectionPair.__repr__>, '__eq__': <function AxisDirectionPair.__eq__>, '__ne__': <function AxisDirectionPair.__ne__>, '__lt__': <function AxisDirectionPair.__lt__>, '__le__': <function AxisDirectionPair.__le__>, '__gt__': <function AxisDirectionPair.__gt__>, '__ge__': <function AxisDirectionPair.__ge__>, '__hash__': None, '__init__': <function AxisDirectionPair.__init__>, '__match_args__': ('axis', 'direction')})[source]