nextpyp.client.gen.DriftXY#

class nextpyp.client.gen.DriftXY#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

DriftXY

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 (float) –

  • y (float) –

Return type:

None

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

DriftXY

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: float#

(no description yet)

y: float#

(no description yet)