kittycad.models.gateway.Gateway
- class kittycad.models.gateway.Gateway(auth_timeout=<kittycad.types.Unset object>, host=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, port=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>)[source][source]
Bases:
object
Gateway information.
Method generated by attrs for class Gateway.
- __init__(auth_timeout=<kittycad.types.Unset object>, host=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, port=<kittycad.types.Unset object>, tls_timeout=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Gateway.
Methods
__init__
([auth_timeout, host, name, port, ...])Method generated by attrs for class Gateway.
from_dict
(src_dict)- rtype:
TypeVar
(DI
, bound= Gateway)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'auth_timeout': typing.Union[kittycad.types.Unset, int], 'host': typing.Union[kittycad.types.Unset, str], 'name': 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='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='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]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.gateway', '__annotations__': {'auth_timeout': typing.Union[kittycad.types.Unset, int], 'host': typing.Union[kittycad.types.Unset, str], 'name': 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__': 'Gateway information.', 'to_dict': <function Gateway.to_dict>, 'from_dict': <classmethod(<function Gateway.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Gateway.__getitem__>, '__setitem__': <function Gateway.__setitem__>, '__delitem__': <function Gateway.__delitem__>, '__contains__': <function Gateway.__contains__>, '__dict__': <attribute '__dict__' of 'Gateway' objects>, '__weakref__': <attribute '__weakref__' of 'Gateway' 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='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='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 Gateway.__repr__>, '__eq__': <function Gateway.__eq__>, '__ne__': <function Gateway.__ne__>, '__lt__': <function Gateway.__lt__>, '__le__': <function Gateway.__le__>, '__gt__': <function Gateway.__gt__>, '__ge__': <function Gateway.__ge__>, '__hash__': None, '__init__': <function Gateway.__init__>, '__match_args__': ('auth_timeout', 'host', 'name', 'port', 'tls_timeout')})[source]