kittycad.models.invoice_line_item

Classes

InvoiceLineItem([amount, currency, ...])

An invoice line item.

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]

An invoice line item.

Method generated by attrs for class InvoiceLineItem.

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

bool

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

None

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

Method generated by attrs for class InvoiceLineItem.

__ge__(other)[source]

Method generated by attrs for class InvoiceLineItem.

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

Any

__gt__(other)[source]

Method generated by attrs for class InvoiceLineItem.

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

__le__(other)[source]

Method generated by attrs for class InvoiceLineItem.

__lt__(other)[source]

Method generated by attrs for class InvoiceLineItem.

__match_args__ = ('amount', 'currency', 'description', 'id', 'invoice_item', 'metadata')[source]
__module__ = 'kittycad.models.invoice_line_item'[source]
__ne__(other)[source]

Method generated by attrs for class InvoiceLineItem.

__repr__()[source]

Method generated by attrs for class InvoiceLineItem.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
amount: Union[Unset, float][source]
currency: Union[Unset, Currency][source]
description: Union[Unset, str][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(KK, bound= InvoiceLineItem)

id: Union[Unset, str][source]
invoice_item: Union[Unset, str][source]
metadata: Union[Unset, Any][source]
to_dict()[source][source]
Return type:

Dict[str, Any]