kittycad.models.api_call_with_price

Classes

ApiCallWithPrice([completed_at, created_at, ...])

An API call with the price.

class kittycad.models.api_call_with_price.ApiCallWithPrice(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, duration=<kittycad.types.Unset object>, email=<kittycad.types.Unset object>, endpoint=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, ip_address=<kittycad.types.Unset object>, litterbox=False, method=<kittycad.types.Unset object>, minutes=<kittycad.types.Unset object>, origin=<kittycad.types.Unset object>, price=<kittycad.types.Unset object>, request_body=<kittycad.types.Unset object>, request_query_params=<kittycad.types.Unset object>, response_body=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status_code=<kittycad.types.Unset object>, stripe_invoice_item_id=<kittycad.types.Unset object>, token=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_agent=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source][source]

An API call with the price.

This is a join of the ApiCall and ApiCallPrice tables.

Method generated by attrs for class ApiCallWithPrice.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'duration': typing.Union[kittycad.types.Unset, int], 'email': typing.Union[kittycad.types.Unset, str], 'endpoint': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'ip_address': typing.Union[kittycad.types.Unset, str], 'litterbox': typing.Union[kittycad.types.Unset, bool], 'method': typing.Union[kittycad.types.Unset, kittycad.models.method.Method], 'minutes': typing.Union[kittycad.types.Unset, int], 'origin': typing.Union[kittycad.types.Unset, str], 'price': typing.Union[kittycad.types.Unset, float], 'request_body': typing.Union[kittycad.types.Unset, str], 'request_query_params': typing.Union[kittycad.types.Unset, str], 'response_body': typing.Union[kittycad.types.Unset, str], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status_code': typing.Union[kittycad.types.Unset, int], 'stripe_invoice_item_id': typing.Union[kittycad.types.Unset, str], 'token': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_agent': typing.Union[kittycad.types.Unset, str], 'user_id': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='completed_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='completed_at'), 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='duration', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='duration'), 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='endpoint', 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='endpoint'), 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='ip_address', 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='ip_address'), Attribute(name='litterbox', 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='litterbox'), Attribute(name='method', 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, kittycad.models.method.Method], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='method'), Attribute(name='minutes', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='minutes'), Attribute(name='origin', 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='origin'), Attribute(name='price', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='price'), Attribute(name='request_body', 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='request_body'), Attribute(name='request_query_params', 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='request_query_params'), Attribute(name='response_body', 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='response_body'), Attribute(name='started_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='started_at'), Attribute(name='status_code', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status_code'), Attribute(name='stripe_invoice_item_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_invoice_item_id'), 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_agent', 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_agent'), 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][source]
Return type:

bool

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

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.api_call_with_price', '__annotations__': {'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'duration': typing.Union[kittycad.types.Unset, int], 'email': typing.Union[kittycad.types.Unset, str], 'endpoint': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'ip_address': typing.Union[kittycad.types.Unset, str], 'litterbox': typing.Union[kittycad.types.Unset, bool], 'method': typing.Union[kittycad.types.Unset, kittycad.models.method.Method], 'minutes': typing.Union[kittycad.types.Unset, int], 'origin': typing.Union[kittycad.types.Unset, str], 'price': typing.Union[kittycad.types.Unset, float], 'request_body': typing.Union[kittycad.types.Unset, str], 'request_query_params': typing.Union[kittycad.types.Unset, str], 'response_body': typing.Union[kittycad.types.Unset, str], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status_code': typing.Union[kittycad.types.Unset, int], 'stripe_invoice_item_id': typing.Union[kittycad.types.Unset, str], 'token': typing.Union[kittycad.types.Unset, str], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_agent': typing.Union[kittycad.types.Unset, str], 'user_id': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An API call with the price.\n\n    This is a join of the `ApiCall` and `ApiCallPrice` tables.', 'to_dict': <function ApiCallWithPrice.to_dict>, 'from_dict': <classmethod(<function ApiCallWithPrice.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ApiCallWithPrice.__getitem__>, '__setitem__': <function ApiCallWithPrice.__setitem__>, '__delitem__': <function ApiCallWithPrice.__delitem__>, '__contains__': <function ApiCallWithPrice.__contains__>, '__dict__': <attribute '__dict__' of 'ApiCallWithPrice' objects>, '__weakref__': <attribute '__weakref__' of 'ApiCallWithPrice' objects>, '__attrs_attrs__': (Attribute(name='completed_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='completed_at'), 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='duration', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='duration'), 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='endpoint', 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='endpoint'), 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='ip_address', 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='ip_address'), Attribute(name='litterbox', 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='litterbox'), Attribute(name='method', 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, kittycad.models.method.Method], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='method'), Attribute(name='minutes', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='minutes'), Attribute(name='origin', 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='origin'), Attribute(name='price', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='price'), Attribute(name='request_body', 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='request_body'), Attribute(name='request_query_params', 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='request_query_params'), Attribute(name='response_body', 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='response_body'), Attribute(name='started_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='started_at'), Attribute(name='status_code', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status_code'), Attribute(name='stripe_invoice_item_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_invoice_item_id'), 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_agent', 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_agent'), 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 ApiCallWithPrice.__repr__>, '__eq__': <function ApiCallWithPrice.__eq__>, '__ne__': <function ApiCallWithPrice.__ne__>, '__lt__': <function ApiCallWithPrice.__lt__>, '__le__': <function ApiCallWithPrice.__le__>, '__gt__': <function ApiCallWithPrice.__gt__>, '__ge__': <function ApiCallWithPrice.__ge__>, '__hash__': None, '__init__': <function ApiCallWithPrice.__init__>, '__match_args__': ('completed_at', 'created_at', 'duration', 'email', 'endpoint', 'id', 'ip_address', 'litterbox', 'method', 'minutes', 'origin', 'price', 'request_body', 'request_query_params', 'response_body', 'started_at', 'status_code', 'stripe_invoice_item_id', 'token', 'updated_at', 'user_agent', 'user_id')})[source]
__eq__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

__ge__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

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

Any

__gt__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

__hash__ = None[source]
__init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, duration=<kittycad.types.Unset object>, email=<kittycad.types.Unset object>, endpoint=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, ip_address=<kittycad.types.Unset object>, litterbox=False, method=<kittycad.types.Unset object>, minutes=<kittycad.types.Unset object>, origin=<kittycad.types.Unset object>, price=<kittycad.types.Unset object>, request_body=<kittycad.types.Unset object>, request_query_params=<kittycad.types.Unset object>, response_body=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status_code=<kittycad.types.Unset object>, stripe_invoice_item_id=<kittycad.types.Unset object>, token=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_agent=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]

Method generated by attrs for class ApiCallWithPrice.

__le__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

__lt__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

__match_args__ = ('completed_at', 'created_at', 'duration', 'email', 'endpoint', 'id', 'ip_address', 'litterbox', 'method', 'minutes', 'origin', 'price', 'request_body', 'request_query_params', 'response_body', 'started_at', 'status_code', 'stripe_invoice_item_id', 'token', 'updated_at', 'user_agent', 'user_id')[source]
__module__ = 'kittycad.models.api_call_with_price'[source]
__ne__(other)[source]

Method generated by attrs for class ApiCallWithPrice.

__repr__()[source]

Method generated by attrs for class ApiCallWithPrice.

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

None

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

TypeVar(QP, bound= ApiCallWithPrice)

id: Union[Unset, str][source]
ip_address: Union[Unset, str][source]
litterbox: Union[Unset, bool][source]
method: Union[Unset, Method][source]
minutes: Union[Unset, int][source]
origin: Union[Unset, str][source]
price: Union[Unset, float][source]
request_body: Union[Unset, str][source]
request_query_params: Union[Unset, str][source]
response_body: Union[Unset, str][source]
started_at: Union[Unset, datetime][source]
status_code: Union[Unset, int][source]
stripe_invoice_item_id: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

token: Union[Unset, str][source]
updated_at: Union[Unset, datetime][source]
user_agent: Union[Unset, str][source]
user_id: Union[Unset, str][source]