kittycad.models.user.User
- class kittycad.models.user.User(company=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, discord=<kittycad.types.Unset object>, email=<kittycad.types.Unset object>, email_verified=<kittycad.types.Unset object>, first_name=<kittycad.types.Unset object>, github=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, image=<kittycad.types.Unset object>, last_name=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source][source]
Bases:
object
A user.
Method generated by attrs for class User.
- __init__(company=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, discord=<kittycad.types.Unset object>, email=<kittycad.types.Unset object>, email_verified=<kittycad.types.Unset object>, first_name=<kittycad.types.Unset object>, github=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, image=<kittycad.types.Unset object>, last_name=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source]
Method generated by attrs for class User.
Methods
__init__
([company, created_at, discord, ...])Method generated by attrs for class User.
from_dict
(src_dict)- rtype:
TypeVar
(K
, bound= User)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'company': typing.Union[kittycad.types.Unset, str], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'discord': typing.Union[kittycad.types.Unset, str], 'email': typing.Union[kittycad.types.Unset, str], 'email_verified': typing.Union[kittycad.types.Unset, datetime.datetime], 'first_name': typing.Union[kittycad.types.Unset, str], 'github': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'image': typing.Union[kittycad.types.Unset, str], 'last_name': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime]}[source]
- __attrs_attrs__ = (Attribute(name='company', 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='company'), Attribute(name='created_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='discord', 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='discord'), Attribute(name='email', 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='email'), Attribute(name='email_verified', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='email_verified'), Attribute(name='first_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='first_name'), Attribute(name='github', 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='github'), Attribute(name='id', 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='id'), Attribute(name='image', 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='image'), Attribute(name='last_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='last_name'), 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='phone', 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='phone'), Attribute(name='updated_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), 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.user', '__annotations__': {'company': typing.Union[kittycad.types.Unset, str], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'discord': typing.Union[kittycad.types.Unset, str], 'email': typing.Union[kittycad.types.Unset, str], 'email_verified': typing.Union[kittycad.types.Unset, datetime.datetime], 'first_name': typing.Union[kittycad.types.Unset, str], 'github': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'image': typing.Union[kittycad.types.Unset, str], 'last_name': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A user.', 'to_dict': <function User.to_dict>, 'from_dict': <classmethod(<function User.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function User.__getitem__>, '__setitem__': <function User.__setitem__>, '__delitem__': <function User.__delitem__>, '__contains__': <function User.__contains__>, '__dict__': <attribute '__dict__' of 'User' objects>, '__weakref__': <attribute '__weakref__' of 'User' objects>, '__attrs_attrs__': (Attribute(name='company', 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='company'), Attribute(name='created_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='discord', 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='discord'), Attribute(name='email', 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='email'), Attribute(name='email_verified', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='email_verified'), Attribute(name='first_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='first_name'), Attribute(name='github', 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='github'), Attribute(name='id', 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='id'), Attribute(name='image', 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='image'), Attribute(name='last_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='last_name'), 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='phone', 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='phone'), Attribute(name='updated_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), 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 User.__repr__>, '__eq__': <function User.__eq__>, '__ne__': <function User.__ne__>, '__lt__': <function User.__lt__>, '__le__': <function User.__le__>, '__gt__': <function User.__gt__>, '__ge__': <function User.__ge__>, '__hash__': None, '__init__': <function User.__init__>, '__match_args__': ('company', 'created_at', 'discord', 'email', 'email_verified', 'first_name', 'github', 'id', 'image', 'last_name', 'name', 'phone', 'updated_at')})[source]
- __init__(company=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, discord=<kittycad.types.Unset object>, email=<kittycad.types.Unset object>, email_verified=<kittycad.types.Unset object>, first_name=<kittycad.types.Unset object>, github=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, image=<kittycad.types.Unset object>, last_name=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source]
Method generated by attrs for class User.