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(SY, bound= User)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

company

created_at

discord

email

email_verified

first_name

github

id

image

last_name

name

phone

updated_at

additional_properties

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

bool

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

None

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

Method generated by attrs for class User.

__ge__(other)[source]

Method generated by attrs for class User.

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

Any

__gt__(other)[source]

Method generated by attrs for class User.

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

__le__(other)[source]

Method generated by attrs for class User.

__lt__(other)[source]

Method generated by attrs for class User.

__match_args__ = ('company', 'created_at', 'discord', 'email', 'email_verified', 'first_name', 'github', 'id', 'image', 'last_name', 'name', 'phone', 'updated_at')[source]
__module__ = 'kittycad.models.user'[source]
__ne__(other)[source]

Method generated by attrs for class User.

__repr__()[source]

Method generated by attrs for class User.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
company: Union[Unset, str][source]
created_at: Union[Unset, datetime][source]
discord: Union[Unset, str][source]
email: Union[Unset, str][source]
email_verified: Union[Unset, datetime][source]
first_name: Union[Unset, str][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(SY, bound= User)

github: Union[Unset, str][source]
id: Union[Unset, str][source]
image: Union[Unset, str][source]
last_name: Union[Unset, str][source]
name: Union[Unset, str][source]
phone: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

updated_at: Union[Unset, datetime][source]