kittycad.models.api_token_results_page.ApiTokenResultsPage

class kittycad.models.api_token_results_page.ApiTokenResultsPage(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source][source]

Bases: object

A single page of results

Method generated by attrs for class ApiTokenResultsPage.

__init__(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ApiTokenResultsPage.

Methods

__init__([items, next_page])

Method generated by attrs for class ApiTokenResultsPage.

from_dict(src_dict)

rtype:

TypeVar(LB, bound= ApiTokenResultsPage)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

items

next_page

additional_properties

class ApiToken(created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, is_valid=False, token=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]

Bases: object

An API token.

These are used to authenticate users with Bearer authentication.

Method generated by attrs for class ApiToken.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'is_valid': typing.Union[kittycad.types.Unset, bool], 'token': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str]}[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='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='is_valid', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='is_valid'), Attribute(name='token', 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='token'), 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='user_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='user_id'), 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]
Return type:

bool

__delitem__(key)[source]
Return type:

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.api_token', '__annotations__': {'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'is_valid': typing.Union[kittycad.types.Unset, bool], 'token': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An API token.\n\n    These are used to authenticate users with Bearer authentication.', 'to_dict': <function ApiToken.to_dict>, 'from_dict': <classmethod(<function ApiToken.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ApiToken.__getitem__>, '__setitem__': <function ApiToken.__setitem__>, '__delitem__': <function ApiToken.__delitem__>, '__contains__': <function ApiToken.__contains__>, '__dict__': <attribute '__dict__' of 'ApiToken' objects>, '__weakref__': <attribute '__weakref__' of 'ApiToken' 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='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='is_valid', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='is_valid'), Attribute(name='token', 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='token'), 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='user_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='user_id'), 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 ApiToken.__repr__>, '__eq__': <function ApiToken.__eq__>, '__ne__': <function ApiToken.__ne__>, '__lt__': <function ApiToken.__lt__>, '__le__': <function ApiToken.__le__>, '__gt__': <function ApiToken.__gt__>, '__ge__': <function ApiToken.__ge__>, '__hash__': None, '__init__': <function ApiToken.__init__>, '__match_args__': ('created_at', 'id', 'is_valid', 'token', 'updated_at', 'user_id')})[source]
__eq__(other)[source]

Method generated by attrs for class ApiToken.

__ge__(other)[source]

Method generated by attrs for class ApiToken.

__getitem__(key)[source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class ApiToken.

__hash__ = None[source]
__init__(created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, is_valid=False, token=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ApiToken.

__le__(other)[source]

Method generated by attrs for class ApiToken.

__lt__(other)[source]

Method generated by attrs for class ApiToken.

__match_args__ = ('created_at', 'id', 'is_valid', 'token', 'updated_at', 'user_id')[source]
__module__ = 'kittycad.models.api_token'[source]
__ne__(other)[source]

Method generated by attrs for class ApiToken.

__repr__()[source]

Method generated by attrs for class ApiToken.

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

None

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

TypeVar(HX, bound= ApiToken)

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

Dict[str, Any]

token: Union[Unset, str][source]
updated_at: Union[Unset, datetime][source]
user_id: Union[Unset, str][source]
__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'items': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.api_token.ApiToken]], 'next_page': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='items', 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, typing.List[kittycad.models.api_token.ApiToken]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='items'), Attribute(name='next_page', 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='next_page'), 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.api_token_results_page', '__annotations__': {'items': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.api_token.ApiToken]], 'next_page': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A single page of results', 'ApiToken': <class 'kittycad.models.api_token.ApiToken'>, 'to_dict': <function ApiTokenResultsPage.to_dict>, 'from_dict': <classmethod(<function ApiTokenResultsPage.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ApiTokenResultsPage.__getitem__>, '__setitem__': <function ApiTokenResultsPage.__setitem__>, '__delitem__': <function ApiTokenResultsPage.__delitem__>, '__contains__': <function ApiTokenResultsPage.__contains__>, '__dict__': <attribute '__dict__' of 'ApiTokenResultsPage' objects>, '__weakref__': <attribute '__weakref__' of 'ApiTokenResultsPage' objects>, '__attrs_attrs__': (Attribute(name='items', 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, typing.List[kittycad.models.api_token.ApiToken]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='items'), Attribute(name='next_page', 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='next_page'), 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 ApiTokenResultsPage.__repr__>, '__eq__': <function ApiTokenResultsPage.__eq__>, '__ne__': <function ApiTokenResultsPage.__ne__>, '__lt__': <function ApiTokenResultsPage.__lt__>, '__le__': <function ApiTokenResultsPage.__le__>, '__gt__': <function ApiTokenResultsPage.__gt__>, '__ge__': <function ApiTokenResultsPage.__ge__>, '__hash__': None, '__init__': <function ApiTokenResultsPage.__init__>, '__match_args__': ('items', 'next_page')})[source]
__eq__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

__ge__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

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

Any

__gt__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

__hash__ = None[source]
__init__(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ApiTokenResultsPage.

__le__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

__lt__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

__match_args__ = ('items', 'next_page')[source]
__module__ = 'kittycad.models.api_token_results_page'[source]
__ne__(other)[source]

Method generated by attrs for class ApiTokenResultsPage.

__repr__()[source]

Method generated by attrs for class ApiTokenResultsPage.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(LB, bound= ApiTokenResultsPage)

items: Union[Unset, List[ApiToken]][source]
next_page: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]