nextpyp.client.gen.VersionData#
- class nextpyp.client.gen.VersionData#
Bases:
object(no description yet)
Methods
deserialize- rtype:
Creates a new class instance from JSON
serialize- rtype:
str
Converts this class instance into JSON
Attributes
TYPE_IDThe version of nextPYP itself
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:
- 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