kittycad.models.cluster

Classes

Cluster([addr, auth_timeout, cluster_port, ...])

Cluster information.

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]

Cluster information.

Method generated by attrs for class Cluster.

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

bool

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

None

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

Method generated by attrs for class Cluster.

__ge__(other)[source]

Method generated by attrs for class Cluster.

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

Any

__gt__(other)[source]

Method generated by attrs for class Cluster.

__hash__ = None[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.

__le__(other)[source]

Method generated by attrs for class Cluster.

__lt__(other)[source]

Method generated by attrs for class Cluster.

__match_args__ = ('addr', 'auth_timeout', 'cluster_port', 'name', 'tls_timeout', 'urls')[source]
__module__ = 'kittycad.models.cluster'[source]
__ne__(other)[source]

Method generated by attrs for class Cluster.

__repr__()[source]

Method generated by attrs for class Cluster.

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

None

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

TypeVar(JR, bound= Cluster)

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

Dict[str, Any]

urls: Union[Unset, List[str]][source]