kittycad.models.customer_balance.CustomerBalance

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]

Bases: object

A balance for a user.

This holds information about the financial balance for the user.

Method generated by attrs for class CustomerBalance.

__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.

Methods

__init__([created_at, id, ...])

Method generated by attrs for class CustomerBalance.

from_dict(src_dict)

rtype:

TypeVar(V, bound= CustomerBalance)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

created_at

id

monthly_credits_remaining

pre_pay_cash_remaining

pre_pay_credits_remaining

total_due

updated_at

user_id

additional_properties

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

bool

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

None

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

Method generated by attrs for class CustomerBalance.

__ge__(other)[source]

Method generated by attrs for class CustomerBalance.

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

Any

__gt__(other)[source]

Method generated by attrs for class CustomerBalance.

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

__le__(other)[source]

Method generated by attrs for class CustomerBalance.

__lt__(other)[source]

Method generated by attrs for class CustomerBalance.

__match_args__ = ('created_at', 'id', 'monthly_credits_remaining', 'pre_pay_cash_remaining', 'pre_pay_credits_remaining', 'total_due', 'updated_at', 'user_id')[source]
__module__ = 'kittycad.models.customer_balance'[source]
__ne__(other)[source]

Method generated by attrs for class CustomerBalance.

__repr__()[source]

Method generated by attrs for class CustomerBalance.

__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]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(V, bound= CustomerBalance)

id: Union[Unset, str][source]
monthly_credits_remaining: Union[Unset, float][source]
pre_pay_cash_remaining: Union[Unset, float][source]
pre_pay_credits_remaining: Union[Unset, float][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

total_due: Union[Unset, float][source]
updated_at: Union[Unset, datetime][source]
user_id: Union[Unset, str][source]