GroupSetService#
- class GroupSetService[source]#
Methods
Create a group for the given group set.
Get a single GroupSet by id.
Delete a GroupSet.
Get all groups for a given group set.
- create_group(json_body, *, group_set_id, extra_parameters=None)[source]#
Create a group for the given group set.
- Parameters:
json_body (
Union
[dict
,list
,CreateGroupGroupSetData
]) – The body of the request. SeeCreateGroupGroupSetData
for information about the possible fields. You can provide this data as aCreateGroupGroupSetData
or as a dictionary.group_set_id (
int
) – The id of the group set where the new group should be placed in.extra_parameters (
Optional
[Mapping
[str
,Union
[str
,bool
,int
,float
]]]) – The extra query parameters you might want to add. By default no extra query parameters are added.self (GroupSetService[AuthenticatedClient]) –
- Returns:
The newly created group.
- Return type:
- get(*, group_set_id, extra_parameters=None)[source]#
Get a single GroupSet by id.
- Parameters:
- Returns:
A response containing the JSON serialized group set.
- Return type:
- delete(*, group_set_id, extra_parameters=None)[source]#
Delete a GroupSet.
You can only delete a group set if there are no groups in the set and no assignment is connected to the group set.
- Parameters:
- Returns:
Nothing.
- Return type:
None