kittycad.models.customer_balance
Classes
|
A balance for a user. |
- class kittycad.models.customer_balance.CustomerBalance(created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, monthly_credits_remaining=<kittycad.types.Unset object>, pre_pay_cash_remaining=<kittycad.types.Unset object>, pre_pay_credits_remaining=<kittycad.types.Unset object>, total_due=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source][source]
A balance for a user.
This holds information about the financial balance for the user.
Method generated by attrs for class CustomerBalance.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'monthly_credits_remaining': typing.Union[kittycad.types.Unset, float], 'pre_pay_cash_remaining': typing.Union[kittycad.types.Unset, float], 'pre_pay_credits_remaining': typing.Union[kittycad.types.Unset, float], 'total_due': typing.Union[kittycad.types.Unset, float], '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='monthly_credits_remaining', 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='monthly_credits_remaining'), Attribute(name='pre_pay_cash_remaining', 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='pre_pay_cash_remaining'), Attribute(name='pre_pay_credits_remaining', 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='pre_pay_credits_remaining'), Attribute(name='total_due', 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='total_due'), 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]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.customer_balance', '__annotations__': {'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'monthly_credits_remaining': typing.Union[kittycad.types.Unset, float], 'pre_pay_cash_remaining': typing.Union[kittycad.types.Unset, float], 'pre_pay_credits_remaining': typing.Union[kittycad.types.Unset, float], 'total_due': typing.Union[kittycad.types.Unset, float], '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__': 'A balance for a user.\n\n This holds information about the financial balance for the user.', 'to_dict': <function CustomerBalance.to_dict>, 'from_dict': <classmethod(<function CustomerBalance.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function CustomerBalance.__getitem__>, '__setitem__': <function CustomerBalance.__setitem__>, '__delitem__': <function CustomerBalance.__delitem__>, '__contains__': <function CustomerBalance.__contains__>, '__dict__': <attribute '__dict__' of 'CustomerBalance' objects>, '__weakref__': <attribute '__weakref__' of 'CustomerBalance' 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='monthly_credits_remaining', 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='monthly_credits_remaining'), Attribute(name='pre_pay_cash_remaining', 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='pre_pay_cash_remaining'), Attribute(name='pre_pay_credits_remaining', 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='pre_pay_credits_remaining'), Attribute(name='total_due', 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='total_due'), 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 CustomerBalance.__repr__>, '__eq__': <function CustomerBalance.__eq__>, '__ne__': <function CustomerBalance.__ne__>, '__lt__': <function CustomerBalance.__lt__>, '__le__': <function CustomerBalance.__le__>, '__gt__': <function CustomerBalance.__gt__>, '__ge__': <function CustomerBalance.__ge__>, '__hash__': None, '__init__': <function CustomerBalance.__init__>, '__match_args__': ('created_at', 'id', 'monthly_credits_remaining', 'pre_pay_cash_remaining', 'pre_pay_credits_remaining', 'total_due', 'updated_at', 'user_id')})[source]
- __init__(created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, monthly_credits_remaining=<kittycad.types.Unset object>, pre_pay_cash_remaining=<kittycad.types.Unset object>, pre_pay_credits_remaining=<kittycad.types.Unset object>, total_due=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]
Method generated by attrs for class CustomerBalance.