kittycad.models.meta_cluster_info.MetaClusterInfo
- class kittycad.models.meta_cluster_info.MetaClusterInfo(cluster_size=<kittycad.types.Unset object>, leader=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source][source]
Bases:
object
Jetstream statistics.
Method generated by attrs for class MetaClusterInfo.
- __init__(cluster_size=<kittycad.types.Unset object>, leader=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source]
Method generated by attrs for class MetaClusterInfo.
Methods
__init__
([cluster_size, leader, name])Method generated by attrs for class MetaClusterInfo.
from_dict
(src_dict)- rtype:
TypeVar
(OM
, bound= MetaClusterInfo)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'cluster_size': typing.Union[kittycad.types.Unset, int], 'leader': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='cluster_size', 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_size'), Attribute(name='leader', 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='leader'), 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='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.meta_cluster_info', '__annotations__': {'cluster_size': typing.Union[kittycad.types.Unset, int], 'leader': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Jetstream statistics.', 'to_dict': <function MetaClusterInfo.to_dict>, 'from_dict': <classmethod(<function MetaClusterInfo.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function MetaClusterInfo.__getitem__>, '__setitem__': <function MetaClusterInfo.__setitem__>, '__delitem__': <function MetaClusterInfo.__delitem__>, '__contains__': <function MetaClusterInfo.__contains__>, '__dict__': <attribute '__dict__' of 'MetaClusterInfo' objects>, '__weakref__': <attribute '__weakref__' of 'MetaClusterInfo' objects>, '__attrs_attrs__': (Attribute(name='cluster_size', 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_size'), Attribute(name='leader', 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='leader'), 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='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 MetaClusterInfo.__repr__>, '__eq__': <function MetaClusterInfo.__eq__>, '__ne__': <function MetaClusterInfo.__ne__>, '__lt__': <function MetaClusterInfo.__lt__>, '__le__': <function MetaClusterInfo.__le__>, '__gt__': <function MetaClusterInfo.__gt__>, '__ge__': <function MetaClusterInfo.__ge__>, '__hash__': None, '__init__': <function MetaClusterInfo.__init__>, '__match_args__': ('cluster_size', 'leader', 'name')})[source]