kittycad.models.index_info.IndexInfo

class kittycad.models.index_info.IndexInfo(mirrors=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, official=False, secure=False)[source][source]

Bases: object

IndexInfo contains information about a registry.

Method generated by attrs for class IndexInfo.

__init__(mirrors=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, official=False, secure=False)[source]

Method generated by attrs for class IndexInfo.

Methods

__init__([mirrors, name, official, secure])

Method generated by attrs for class IndexInfo.

from_dict(src_dict)

rtype:

TypeVar(OJ, bound= IndexInfo)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

mirrors

name

official

secure

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'mirrors': typing.Union[kittycad.types.Unset, typing.List[str]], 'name': typing.Union[kittycad.types.Unset, str], 'official': typing.Union[kittycad.types.Unset, bool], 'secure': typing.Union[kittycad.types.Unset, bool]}[source]
__attrs_attrs__ = (Attribute(name='mirrors', 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='mirrors'), 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='official', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='official'), Attribute(name='secure', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='secure'), 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.index_info', '__annotations__': {'mirrors': typing.Union[kittycad.types.Unset, typing.List[str]], 'name': typing.Union[kittycad.types.Unset, str], 'official': typing.Union[kittycad.types.Unset, bool], 'secure': typing.Union[kittycad.types.Unset, bool], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'IndexInfo contains information about a registry.', 'to_dict': <function IndexInfo.to_dict>, 'from_dict': <classmethod(<function IndexInfo.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function IndexInfo.__getitem__>, '__setitem__': <function IndexInfo.__setitem__>, '__delitem__': <function IndexInfo.__delitem__>, '__contains__': <function IndexInfo.__contains__>, '__dict__': <attribute '__dict__' of 'IndexInfo' objects>, '__weakref__': <attribute '__weakref__' of 'IndexInfo' objects>, '__attrs_attrs__': (Attribute(name='mirrors', 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='mirrors'), 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='official', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='official'), Attribute(name='secure', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='secure'), 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 IndexInfo.__repr__>, '__eq__': <function IndexInfo.__eq__>, '__ne__': <function IndexInfo.__ne__>, '__lt__': <function IndexInfo.__lt__>, '__le__': <function IndexInfo.__le__>, '__gt__': <function IndexInfo.__gt__>, '__ge__': <function IndexInfo.__ge__>, '__hash__': None, '__init__': <function IndexInfo.__init__>, '__match_args__': ('mirrors', 'name', 'official', 'secure')})[source]
__eq__(other)[source]

Method generated by attrs for class IndexInfo.

__ge__(other)[source]

Method generated by attrs for class IndexInfo.

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

Any

__gt__(other)[source]

Method generated by attrs for class IndexInfo.

__hash__ = None[source]
__init__(mirrors=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, official=False, secure=False)[source]

Method generated by attrs for class IndexInfo.

__le__(other)[source]

Method generated by attrs for class IndexInfo.

__lt__(other)[source]

Method generated by attrs for class IndexInfo.

__match_args__ = ('mirrors', 'name', 'official', 'secure')[source]
__module__ = 'kittycad.models.index_info'[source]
__ne__(other)[source]

Method generated by attrs for class IndexInfo.

__repr__()[source]

Method generated by attrs for class IndexInfo.

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

None

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

TypeVar(OJ, bound= IndexInfo)

mirrors: Union[Unset, List[str]][source]
name: Union[Unset, str][source]
official: Union[Unset, bool][source]
secure: Union[Unset, bool][source]
to_dict()[source][source]
Return type:

Dict[str, Any]