kittycad.models.invoice_line_item.InvoiceLineItem
- class kittycad.models.invoice_line_item.InvoiceLineItem(amount=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, description=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, invoice_item=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>)[source][source]
Bases:
object
An invoice line item.
Method generated by attrs for class InvoiceLineItem.
- __init__(amount=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, description=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, invoice_item=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>)[source]
Method generated by attrs for class InvoiceLineItem.
Methods
__init__
([amount, currency, description, ...])Method generated by attrs for class InvoiceLineItem.
from_dict
(src_dict)- rtype:
TypeVar
(C
, bound= InvoiceLineItem)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'amount': typing.Union[kittycad.types.Unset, float], 'currency': typing.Union[kittycad.types.Unset, kittycad.models.currency.Currency], 'description': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'invoice_item': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any]}[source]
- __attrs_attrs__ = (Attribute(name='amount', 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='amount'), Attribute(name='currency', 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.currency.Currency], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='currency'), Attribute(name='description', 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='description'), 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='invoice_item', 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='invoice_item'), Attribute(name='metadata', 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.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='metadata'), 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.invoice_line_item', '__annotations__': {'amount': typing.Union[kittycad.types.Unset, float], 'currency': typing.Union[kittycad.types.Unset, kittycad.models.currency.Currency], 'description': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'invoice_item': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An invoice line item.', 'to_dict': <function InvoiceLineItem.to_dict>, 'from_dict': <classmethod(<function InvoiceLineItem.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function InvoiceLineItem.__getitem__>, '__setitem__': <function InvoiceLineItem.__setitem__>, '__delitem__': <function InvoiceLineItem.__delitem__>, '__contains__': <function InvoiceLineItem.__contains__>, '__dict__': <attribute '__dict__' of 'InvoiceLineItem' objects>, '__weakref__': <attribute '__weakref__' of 'InvoiceLineItem' objects>, '__attrs_attrs__': (Attribute(name='amount', 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='amount'), Attribute(name='currency', 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.currency.Currency], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='currency'), Attribute(name='description', 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='description'), 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='invoice_item', 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='invoice_item'), Attribute(name='metadata', 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.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='metadata'), 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 InvoiceLineItem.__repr__>, '__eq__': <function InvoiceLineItem.__eq__>, '__ne__': <function InvoiceLineItem.__ne__>, '__lt__': <function InvoiceLineItem.__lt__>, '__le__': <function InvoiceLineItem.__le__>, '__gt__': <function InvoiceLineItem.__gt__>, '__ge__': <function InvoiceLineItem.__ge__>, '__hash__': None, '__init__': <function InvoiceLineItem.__init__>, '__match_args__': ('amount', 'currency', 'description', 'id', 'invoice_item', 'metadata')})[source]
- __init__(amount=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, description=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, invoice_item=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>)[source]
Method generated by attrs for class InvoiceLineItem.