kittycad.models.cluster.Cluster
- class kittycad.models.cluster.Cluster(addr=<kittycad.types.Unset object>, auth_timeout=<kittycad.types.Unset object>, cluster_port=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>, urls=<kittycad.types.Unset object>)[source][source]
Bases:
object
Cluster information.
Method generated by attrs for class Cluster.
- __init__(addr=<kittycad.types.Unset object>, auth_timeout=<kittycad.types.Unset object>, cluster_port=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>, urls=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Cluster.
Methods
__init__
([addr, auth_timeout, cluster_port, ...])Method generated by attrs for class Cluster.
from_dict
(src_dict)- rtype:
TypeVar
(JR
, bound= Cluster)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'addr': typing.Union[kittycad.types.Unset, str], 'auth_timeout': typing.Union[kittycad.types.Unset, int], 'cluster_port': typing.Union[kittycad.types.Unset, int], 'name': typing.Union[kittycad.types.Unset, str], 'tls_timeout': typing.Union[kittycad.types.Unset, int], 'urls': typing.Union[kittycad.types.Unset, typing.List[str]]}[source]
- __attrs_attrs__ = (Attribute(name='addr', 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='addr'), 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='cluster_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='cluster_port'), Attribute(name='name', 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='name'), 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='urls', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='urls'), 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.cluster', '__annotations__': {'addr': typing.Union[kittycad.types.Unset, str], 'auth_timeout': typing.Union[kittycad.types.Unset, int], 'cluster_port': typing.Union[kittycad.types.Unset, int], 'name': typing.Union[kittycad.types.Unset, str], 'tls_timeout': typing.Union[kittycad.types.Unset, int], 'urls': typing.Union[kittycad.types.Unset, typing.List[str]], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Cluster information.', 'to_dict': <function Cluster.to_dict>, 'from_dict': <classmethod(<function Cluster.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Cluster.__getitem__>, '__setitem__': <function Cluster.__setitem__>, '__delitem__': <function Cluster.__delitem__>, '__contains__': <function Cluster.__contains__>, '__dict__': <attribute '__dict__' of 'Cluster' objects>, '__weakref__': <attribute '__weakref__' of 'Cluster' objects>, '__attrs_attrs__': (Attribute(name='addr', 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='addr'), 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='cluster_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='cluster_port'), Attribute(name='name', 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='name'), 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='urls', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='urls'), 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 Cluster.__repr__>, '__eq__': <function Cluster.__eq__>, '__ne__': <function Cluster.__ne__>, '__lt__': <function Cluster.__lt__>, '__le__': <function Cluster.__le__>, '__gt__': <function Cluster.__gt__>, '__ge__': <function Cluster.__ge__>, '__hash__': None, '__init__': <function Cluster.__init__>, '__match_args__': ('addr', 'auth_timeout', 'cluster_port', 'name', 'tls_timeout', 'urls')})[source]
- __init__(addr=<kittycad.types.Unset object>, auth_timeout=<kittycad.types.Unset object>, cluster_port=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>, urls=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Cluster.