kittycad.models.unit_power_conversion.UnitPowerConversion

class kittycad.models.unit_power_conversion.UnitPowerConversion(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, input=<kittycad.types.Unset object>, input_unit=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_unit=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source][source]

Bases: object

Result of converting between units.

Method generated by attrs for class UnitPowerConversion.

__init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, input=<kittycad.types.Unset object>, input_unit=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_unit=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]

Method generated by attrs for class UnitPowerConversion.

Methods

__init__([completed_at, created_at, error, ...])

Method generated by attrs for class UnitPowerConversion.

from_dict(src_dict)

rtype:

TypeVar(H, bound= UnitPowerConversion)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

completed_at

created_at

error

id

input

input_unit

output

output_unit

started_at

status

updated_at

user_id

additional_properties

__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], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'input': typing.Union[kittycad.types.Unset, float], 'input_unit': typing.Union[kittycad.types.Unset, kittycad.models.unit_power.UnitPower], 'output': typing.Union[kittycad.types.Unset, float], 'output_unit': typing.Union[kittycad.types.Unset, kittycad.models.unit_power.UnitPower], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], '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='error', 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='error'), 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='input', 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='input'), Attribute(name='input_unit', 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.unit_power.UnitPower], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='input_unit'), Attribute(name='output', 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='output'), Attribute(name='output_unit', 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.unit_power.UnitPower], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_unit'), 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', 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.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), 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.unit_power_conversion', '__annotations__': {'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'input': typing.Union[kittycad.types.Unset, float], 'input_unit': typing.Union[kittycad.types.Unset, kittycad.models.unit_power.UnitPower], 'output': typing.Union[kittycad.types.Unset, float], 'output_unit': typing.Union[kittycad.types.Unset, kittycad.models.unit_power.UnitPower], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], '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__': 'Result of converting between units.', 'to_dict': <function UnitPowerConversion.to_dict>, 'from_dict': <classmethod(<function UnitPowerConversion.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function UnitPowerConversion.__getitem__>, '__setitem__': <function UnitPowerConversion.__setitem__>, '__delitem__': <function UnitPowerConversion.__delitem__>, '__contains__': <function UnitPowerConversion.__contains__>, '__dict__': <attribute '__dict__' of 'UnitPowerConversion' objects>, '__weakref__': <attribute '__weakref__' of 'UnitPowerConversion' 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='error', 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='error'), 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='input', 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='input'), Attribute(name='input_unit', 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.unit_power.UnitPower], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='input_unit'), Attribute(name='output', 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='output'), Attribute(name='output_unit', 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.unit_power.UnitPower], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_unit'), 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', 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.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), 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 UnitPowerConversion.__repr__>, '__eq__': <function UnitPowerConversion.__eq__>, '__ne__': <function UnitPowerConversion.__ne__>, '__lt__': <function UnitPowerConversion.__lt__>, '__le__': <function UnitPowerConversion.__le__>, '__gt__': <function UnitPowerConversion.__gt__>, '__ge__': <function UnitPowerConversion.__ge__>, '__hash__': None, '__init__': <function UnitPowerConversion.__init__>, '__match_args__': ('completed_at', 'created_at', 'error', 'id', 'input', 'input_unit', 'output', 'output_unit', 'started_at', 'status', 'updated_at', 'user_id')})[source]
__eq__(other)[source]

Method generated by attrs for class UnitPowerConversion.

__ge__(other)[source]

Method generated by attrs for class UnitPowerConversion.

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

Any

__gt__(other)[source]

Method generated by attrs for class UnitPowerConversion.

__hash__ = None[source]
__init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, input=<kittycad.types.Unset object>, input_unit=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, output_unit=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>)[source]

Method generated by attrs for class UnitPowerConversion.

__le__(other)[source]

Method generated by attrs for class UnitPowerConversion.

__lt__(other)[source]

Method generated by attrs for class UnitPowerConversion.

__match_args__ = ('completed_at', 'created_at', 'error', 'id', 'input', 'input_unit', 'output', 'output_unit', 'started_at', 'status', 'updated_at', 'user_id')[source]
__module__ = 'kittycad.models.unit_power_conversion'[source]
__ne__(other)[source]

Method generated by attrs for class UnitPowerConversion.

__repr__()[source]

Method generated by attrs for class UnitPowerConversion.

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

TypeVar(H, bound= UnitPowerConversion)

id: Union[Unset, str][source]
input: Union[Unset, float][source]
input_unit: Union[Unset, UnitPower][source]
output: Union[Unset, float][source]
output_unit: Union[Unset, UnitPower][source]
started_at: Union[Unset, datetime][source]
status: Union[Unset, ApiCallStatus][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

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