kittycad.models.verification_token.VerificationToken
- class kittycad.models.verification_token.VerificationToken(created_at=<kittycad.types.Unset object>, expires=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, identifier=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source][source]
Bases:
object
A verification token for a user.
This is typically used to verify a user’s email address.
Method generated by attrs for class VerificationToken.
- __init__(created_at=<kittycad.types.Unset object>, expires=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, identifier=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>)[source]
Method generated by attrs for class VerificationToken.
Methods
__init__
([created_at, expires, id, ...])Method generated by attrs for class VerificationToken.
from_dict
(src_dict)- rtype:
TypeVar
(WS
, bound= VerificationToken)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'expires': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'identifier': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime]}[source]
- __attrs_attrs__ = (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='expires', 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='expires'), 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='identifier', 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='identifier'), 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.verification_token', '__annotations__': {'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'expires': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'identifier': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "A verification token for a user.\n\n This is typically used to verify a user's email address.", 'to_dict': <function VerificationToken.to_dict>, 'from_dict': <classmethod(<function VerificationToken.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function VerificationToken.__getitem__>, '__setitem__': <function VerificationToken.__setitem__>, '__delitem__': <function VerificationToken.__delitem__>, '__contains__': <function VerificationToken.__contains__>, '__dict__': <attribute '__dict__' of 'VerificationToken' objects>, '__weakref__': <attribute '__weakref__' of 'VerificationToken' objects>, '__attrs_attrs__': (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='expires', 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='expires'), 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='identifier', 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='identifier'), 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 VerificationToken.__repr__>, '__eq__': <function VerificationToken.__eq__>, '__ne__': <function VerificationToken.__ne__>, '__lt__': <function VerificationToken.__lt__>, '__le__': <function VerificationToken.__le__>, '__gt__': <function VerificationToken.__gt__>, '__ge__': <function VerificationToken.__ge__>, '__hash__': None, '__init__': <function VerificationToken.__init__>, '__match_args__': ('created_at', 'expires', 'id', 'identifier', 'updated_at')})[source]