nextpyp.client.gen.VersionData#

class nextpyp.client.gen.VersionData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

VersionData

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

version

The version of nextPYP itself

api_version

The version of the nextPYP API, to determine compatibility with API clients

Details

__init__(version, api_version)#
Parameters:
  • version (str) –

  • api_version (str) –

Return type:

None

api_version: str#

The version of the nextPYP API, to determine compatibility with API clients

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

VersionData

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

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

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]

version: str#

The version of nextPYP itself