nextpyp.client.gen.Group#
- class nextpyp.client.gen.Group#
Bases:
objectRepresents a group of users (usually an academic lab)
Methods
deserialize- rtype:
Creates a new class instance from JSON
serialize- rtype:
str
Converts this class instance into JSON
Attributes
TYPE_IDa display name
a unique identifier
Details
- __init__(name, id)#
- Parameters:
name (str) –
id (str | None) –
- Return type:
None
- 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) –
-
id:
Optional[str]# a unique identifier
-
name:
str# a display name
- to_json()#
Converts this class instance into JSON
- Return type:
Dict[str,Any]