nextpyp.client.gen.MotionData#

class nextpyp.client.gen.MotionData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

MotionData

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

x

(no description yet)

y

(no description yet)

Details

__init__(x, y)#
Parameters:
  • x (List[float]) –

  • y (List[float]) –

Return type:

None

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

MotionData

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]

x: List[float]#

(no description yet)

y: List[float]#

(no description yet)