kittycad.models.pong.Pong

class kittycad.models.pong.Pong(message=<kittycad.types.Unset object>)[source][source]

Bases: object

The response from the /ping endpoint.

Method generated by attrs for class Pong.

__init__(message=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Pong.

Methods

__init__([message])

Method generated by attrs for class Pong.

from_dict(src_dict)

rtype:

TypeVar(JA, bound= Pong)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

message

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'message': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='message', 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='message'), 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.pong', '__annotations__': {'message': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The response from the `/ping` endpoint.', 'to_dict': <function Pong.to_dict>, 'from_dict': <classmethod(<function Pong.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Pong.__getitem__>, '__setitem__': <function Pong.__setitem__>, '__delitem__': <function Pong.__delitem__>, '__contains__': <function Pong.__contains__>, '__dict__': <attribute '__dict__' of 'Pong' objects>, '__weakref__': <attribute '__weakref__' of 'Pong' objects>, '__attrs_attrs__': (Attribute(name='message', 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='message'), 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 Pong.__repr__>, '__eq__': <function Pong.__eq__>, '__ne__': <function Pong.__ne__>, '__lt__': <function Pong.__lt__>, '__le__': <function Pong.__le__>, '__gt__': <function Pong.__gt__>, '__ge__': <function Pong.__ge__>, '__hash__': None, '__init__': <function Pong.__init__>, '__match_args__': ('message',)})[source]
__eq__(other)[source]

Method generated by attrs for class Pong.

__ge__(other)[source]

Method generated by attrs for class Pong.

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

Any

__gt__(other)[source]

Method generated by attrs for class Pong.

__hash__ = None[source]
__init__(message=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Pong.

__le__(other)[source]

Method generated by attrs for class Pong.

__lt__(other)[source]

Method generated by attrs for class Pong.

__match_args__ = ('message',)[source]
__module__ = 'kittycad.models.pong'[source]
__ne__(other)[source]

Method generated by attrs for class Pong.

__repr__()[source]

Method generated by attrs for class Pong.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(JA, bound= Pong)

message: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]