kittycad.models.extended_user.ExtendedUser

class kittycad.models.extended_user.ExtendedUser(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>, front_id=<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>, mailchimp_id=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, stripe_id=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source][source]

Bases: object

Extended user information.

This is mostly used for internal purposes. It returns a mapping of the user’s information, including that of our third party services we use for users: MailChimp, Stripe, and Front

Method generated by attrs for class ExtendedUser.

__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>, front_id=<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>, mailchimp_id=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, stripe_id=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ExtendedUser.

Methods

__init__([company, created_at, discord, ...])

Method generated by attrs for class ExtendedUser.

from_dict(src_dict)

rtype:

TypeVar(YY, bound= ExtendedUser)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

company

created_at

discord

email

email_verified

first_name

front_id

github

id

image

last_name

mailchimp_id

name

phone

stripe_id

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], 'front_id': 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], 'mailchimp_id': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str], 'stripe_id': 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='front_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='front_id'), 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='mailchimp_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='mailchimp_id'), 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='stripe_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='stripe_id'), 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.extended_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], 'front_id': 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], 'mailchimp_id': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str], 'stripe_id': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "Extended user information.\n\n    This is mostly used for internal purposes. It returns a mapping of the user's information, including that of our third party services we use for users: MailChimp, Stripe, and Front\n    ", 'to_dict': <function ExtendedUser.to_dict>, 'from_dict': <classmethod(<function ExtendedUser.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ExtendedUser.__getitem__>, '__setitem__': <function ExtendedUser.__setitem__>, '__delitem__': <function ExtendedUser.__delitem__>, '__contains__': <function ExtendedUser.__contains__>, '__dict__': <attribute '__dict__' of 'ExtendedUser' objects>, '__weakref__': <attribute '__weakref__' of 'ExtendedUser' 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='front_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='front_id'), 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='mailchimp_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='mailchimp_id'), 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='stripe_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='stripe_id'), 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 ExtendedUser.__repr__>, '__eq__': <function ExtendedUser.__eq__>, '__ne__': <function ExtendedUser.__ne__>, '__lt__': <function ExtendedUser.__lt__>, '__le__': <function ExtendedUser.__le__>, '__gt__': <function ExtendedUser.__gt__>, '__ge__': <function ExtendedUser.__ge__>, '__hash__': None, '__init__': <function ExtendedUser.__init__>, '__match_args__': ('company', 'created_at', 'discord', 'email', 'email_verified', 'first_name', 'front_id', 'github', 'id', 'image', 'last_name', 'mailchimp_id', 'name', 'phone', 'stripe_id', 'updated_at')})[source]
__eq__(other)[source]

Method generated by attrs for class ExtendedUser.

__ge__(other)[source]

Method generated by attrs for class ExtendedUser.

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

Any

__gt__(other)[source]

Method generated by attrs for class ExtendedUser.

__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>, front_id=<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>, mailchimp_id=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>, stripe_id=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ExtendedUser.

__le__(other)[source]

Method generated by attrs for class ExtendedUser.

__lt__(other)[source]

Method generated by attrs for class ExtendedUser.

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

Method generated by attrs for class ExtendedUser.

__repr__()[source]

Method generated by attrs for class ExtendedUser.

__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(YY, bound= ExtendedUser)

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

Dict[str, Any]

updated_at: Union[Unset, datetime][source]