kittycad.models.leaf_node.LeafNode

class kittycad.models.leaf_node.LeafNode(auth_timeout=<kittycad.types.Unset object>, host=<kittycad.types.Unset object>, port=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>)[source][source]

Bases: object

Leaf node information.

Method generated by attrs for class LeafNode.

__init__(auth_timeout=<kittycad.types.Unset object>, host=<kittycad.types.Unset object>, port=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>)[source]

Method generated by attrs for class LeafNode.

Methods

__init__([auth_timeout, host, port, tls_timeout])

Method generated by attrs for class LeafNode.

from_dict(src_dict)

rtype:

TypeVar(TP, bound= LeafNode)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

auth_timeout

host

port

tls_timeout

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'auth_timeout': typing.Union[kittycad.types.Unset, int], 'host': typing.Union[kittycad.types.Unset, str], 'port': typing.Union[kittycad.types.Unset, int], 'tls_timeout': typing.Union[kittycad.types.Unset, int]}[source]
__attrs_attrs__ = (Attribute(name='auth_timeout', 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='auth_timeout'), Attribute(name='host', 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='host'), Attribute(name='port', 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='port'), Attribute(name='tls_timeout', 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='tls_timeout'), 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.leaf_node', '__annotations__': {'auth_timeout': typing.Union[kittycad.types.Unset, int], 'host': typing.Union[kittycad.types.Unset, str], 'port': typing.Union[kittycad.types.Unset, int], 'tls_timeout': typing.Union[kittycad.types.Unset, int], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Leaf node information.', 'to_dict': <function LeafNode.to_dict>, 'from_dict': <classmethod(<function LeafNode.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function LeafNode.__getitem__>, '__setitem__': <function LeafNode.__setitem__>, '__delitem__': <function LeafNode.__delitem__>, '__contains__': <function LeafNode.__contains__>, '__dict__': <attribute '__dict__' of 'LeafNode' objects>, '__weakref__': <attribute '__weakref__' of 'LeafNode' objects>, '__attrs_attrs__': (Attribute(name='auth_timeout', 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='auth_timeout'), Attribute(name='host', 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='host'), Attribute(name='port', 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='port'), Attribute(name='tls_timeout', 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='tls_timeout'), 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 LeafNode.__repr__>, '__eq__': <function LeafNode.__eq__>, '__ne__': <function LeafNode.__ne__>, '__lt__': <function LeafNode.__lt__>, '__le__': <function LeafNode.__le__>, '__gt__': <function LeafNode.__gt__>, '__ge__': <function LeafNode.__ge__>, '__hash__': None, '__init__': <function LeafNode.__init__>, '__match_args__': ('auth_timeout', 'host', 'port', 'tls_timeout')})[source]
__eq__(other)[source]

Method generated by attrs for class LeafNode.

__ge__(other)[source]

Method generated by attrs for class LeafNode.

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

Any

__gt__(other)[source]

Method generated by attrs for class LeafNode.

__hash__ = None[source]
__init__(auth_timeout=<kittycad.types.Unset object>, host=<kittycad.types.Unset object>, port=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>)[source]

Method generated by attrs for class LeafNode.

__le__(other)[source]

Method generated by attrs for class LeafNode.

__lt__(other)[source]

Method generated by attrs for class LeafNode.

__match_args__ = ('auth_timeout', 'host', 'port', 'tls_timeout')[source]
__module__ = 'kittycad.models.leaf_node'[source]
__ne__(other)[source]

Method generated by attrs for class LeafNode.

__repr__()[source]

Method generated by attrs for class LeafNode.

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

None

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

TypeVar(TP, bound= LeafNode)

host: Union[Unset, str][source]
port: Union[Unset, int][source]
tls_timeout: Union[Unset, int][source]
to_dict()[source][source]
Return type:

Dict[str, Any]