kittycad.models.physics_constant
Classes
|
A physics constant. |
- class kittycad.models.physics_constant.PhysicsConstant(completed_at=<kittycad.types.Unset object>, constant=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<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>, value=<kittycad.types.Unset object>)[source][source]
A physics constant.
Method generated by attrs for class PhysicsConstant.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'constant': typing.Union[kittycad.types.Unset, kittycad.models.physics_constant_name.PhysicsConstantName], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], '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], 'value': typing.Union[kittycad.types.Unset, float]}[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='constant', 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.physics_constant_name.PhysicsConstantName], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='constant'), 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='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='value', 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='value'), 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.physics_constant', '__annotations__': {'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'constant': typing.Union[kittycad.types.Unset, kittycad.models.physics_constant_name.PhysicsConstantName], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], '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], 'value': typing.Union[kittycad.types.Unset, float], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A physics constant.', 'to_dict': <function PhysicsConstant.to_dict>, 'from_dict': <classmethod(<function PhysicsConstant.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function PhysicsConstant.__getitem__>, '__setitem__': <function PhysicsConstant.__setitem__>, '__delitem__': <function PhysicsConstant.__delitem__>, '__contains__': <function PhysicsConstant.__contains__>, '__dict__': <attribute '__dict__' of 'PhysicsConstant' objects>, '__weakref__': <attribute '__weakref__' of 'PhysicsConstant' 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='constant', 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.physics_constant_name.PhysicsConstantName], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='constant'), 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='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='value', 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='value'), 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 PhysicsConstant.__repr__>, '__eq__': <function PhysicsConstant.__eq__>, '__ne__': <function PhysicsConstant.__ne__>, '__lt__': <function PhysicsConstant.__lt__>, '__le__': <function PhysicsConstant.__le__>, '__gt__': <function PhysicsConstant.__gt__>, '__ge__': <function PhysicsConstant.__ge__>, '__hash__': None, '__init__': <function PhysicsConstant.__init__>, '__match_args__': ('completed_at', 'constant', 'created_at', 'error', 'id', 'started_at', 'status', 'updated_at', 'user_id', 'value')})[source]
- __init__(completed_at=<kittycad.types.Unset object>, constant=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<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>, value=<kittycad.types.Unset object>)[source]
Method generated by attrs for class PhysicsConstant.
- __match_args__ = ('completed_at', 'constant', 'created_at', 'error', 'id', 'started_at', 'status', 'updated_at', 'user_id', 'value')[source]
-
constant:
Union
[Unset
,PhysicsConstantName
][source]
-
status:
Union
[Unset
,ApiCallStatus
][source]