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()

rtype:

Dict[str, Any]

Attributes

additional_keys

created_at

expires

id

identifier

updated_at

additional_properties

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

bool

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

None

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

Method generated by attrs for class VerificationToken.

__ge__(other)[source]

Method generated by attrs for class VerificationToken.

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

Any

__gt__(other)[source]

Method generated by attrs for class VerificationToken.

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

__le__(other)[source]

Method generated by attrs for class VerificationToken.

__lt__(other)[source]

Method generated by attrs for class VerificationToken.

__match_args__ = ('created_at', 'expires', 'id', 'identifier', 'updated_at')[source]
__module__ = 'kittycad.models.verification_token'[source]
__ne__(other)[source]

Method generated by attrs for class VerificationToken.

__repr__()[source]

Method generated by attrs for class VerificationToken.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
created_at: Union[Unset, datetime][source]
expires: Union[Unset, datetime][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(WS, bound= VerificationToken)

id: Union[Unset, str][source]
identifier: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

updated_at: Union[Unset, datetime][source]