kittycad.models.axis_direction_pair

Classes

AxisDirectionPair([axis, direction])

An [Axis] paired with a [Direction].

class kittycad.models.axis_direction_pair.AxisDirectionPair(axis=<kittycad.types.Unset object>, direction=<kittycad.types.Unset object>)[source][source]

An [Axis] paired with a [Direction].

Method generated by attrs for class AxisDirectionPair.

__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]
__contains__(key)[source][source]
Return type:

bool

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

None

__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]
__eq__(other)[source]

Method generated by attrs for class AxisDirectionPair.

__ge__(other)[source]

Method generated by attrs for class AxisDirectionPair.

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

Any

__gt__(other)[source]

Method generated by attrs for class AxisDirectionPair.

__hash__ = None[source]
__init__(axis=<kittycad.types.Unset object>, direction=<kittycad.types.Unset object>)[source]

Method generated by attrs for class AxisDirectionPair.

__le__(other)[source]

Method generated by attrs for class AxisDirectionPair.

__lt__(other)[source]

Method generated by attrs for class AxisDirectionPair.

__match_args__ = ('axis', 'direction')[source]
__module__ = 'kittycad.models.axis_direction_pair'[source]
__ne__(other)[source]

Method generated by attrs for class AxisDirectionPair.

__repr__()[source]

Method generated by attrs for class AxisDirectionPair.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
axis: Union[Unset, Axis][source]
direction: Union[Unset, Direction][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(TM, bound= AxisDirectionPair)

to_dict()[source][source]
Return type:

Dict[str, Any]